UltraScan III
List of all members | Static Public Member Functions
US_Hardware Class Reference

A set of static functions to handle hardware data. More...

#include "us_hardware.h"

Static Public Member Functions

static bool readRotorMap (QMap< QString, QString > &)
 Read rotor information from a local XML file to a QMap. More...
 
static bool readRotorMap (US_DB2 *, QMap< QString, QString > &)
 Read rotor information from the database to a QMap. More...
 
static bool rotorValues (QString, QMap< QString, QString >, double *)
 Get coefficient values for a specified rotor. More...
 

Detailed Description

A set of static functions to handle hardware data.

Definition at line 11 of file us_hardware.h.

Member Function Documentation

bool US_Hardware::readRotorMap ( QMap< QString, QString > &  rotor_map)
static

Read rotor information from a local XML file to a QMap.

Parameters
rotor_mapReference of QMap into which to place data

Definition at line 6 of file us_hardware.cpp.

bool US_Hardware::readRotorMap ( US_DB2 db,
QMap< QString, QString > &  rotor_map 
)
static

Read rotor information from the database to a QMap.

Parameters
dbPointer to opened database connection
rotor_mapReference of QMap into which to place data

Definition at line 57 of file us_hardware.cpp.

bool US_Hardware::rotorValues ( QString  rCalID,
QMap< QString, QString >  rotor_map,
double *  rotcoeffs 
)
static

Get coefficient values for a specified rotor.

Parameters
rCalIDRotor calibration ID for which to get values
rotor_mapQMap of serial,value mappings
rotcoeffsArray of 2 doubles to fill with rotor coefficients

Definition at line 155 of file us_hardware.cpp.


The documentation for this class was generated from the following files: