the AbstractRotor structure describes a generic 4- or 8-hole rotor More...
#include "us_rotor.h"
Public Member Functions | |
AbstractRotor () | |
Generic constructor for the AbstractRotor class. More... | |
Status | readDB (int, US_DB2 *=0) |
Function to read an entire abstract rotor structure from the DB. More... | |
void | reset (void) |
Resets the class variables to default values. More... | |
void | show (void) |
Displays the contents of the class variables in qDebug() statements. More... | |
Public Attributes | |
int | ID |
The database ID of the abstract rotor. More... | |
QString | GUID |
The GUID of the abstract rotor. More... | |
QString | name |
The abstract rotor type (Simulation, AN50, AN60, CFA) More... | |
QString | material |
What this rotor type is made of (Simulation, Titanium, CarbonFiber) More... | |
int | numHoles |
The number of holes in this rotor type. More... | |
int | maxRPM |
The maximum RPM. More... | |
double | magnetOffset |
The magnet offset. More... | |
double | cellCenter |
The center of the cell. More... | |
QString | manufacturer |
The manufacturer (Beckman, SpinAnalytical) More... | |
the AbstractRotor structure describes a generic 4- or 8-hole rotor
Definition at line 84 of file us_rotor.h.
US_Rotor::AbstractRotor::AbstractRotor | ( | ) |
Generic constructor for the AbstractRotor class.
Definition at line 716 of file us_rotor.cpp.
US_Rotor::Status US_Rotor::AbstractRotor::readDB | ( | int | abstractRotorID, |
US_DB2 * | db = 0 |
||
) |
Function to read an entire abstract rotor structure from the DB.
abstractRotorID | The database abstractRotorID of the desired abstract rotor |
db | For database access, an open database connection |
Definition at line 722 of file us_rotor.cpp.
void US_Rotor::AbstractRotor::reset | ( | void | ) |
Resets the class variables to default values.
Definition at line 750 of file us_rotor.cpp.
void US_Rotor::AbstractRotor::show | ( | void | ) |
Displays the contents of the class variables in qDebug() statements.
Definition at line 763 of file us_rotor.cpp.
double US_Rotor::AbstractRotor::cellCenter |
The center of the cell.
Definition at line 94 of file us_rotor.h.
QString US_Rotor::AbstractRotor::GUID |
The GUID of the abstract rotor.
Definition at line 88 of file us_rotor.h.
int US_Rotor::AbstractRotor::ID |
The database ID of the abstract rotor.
Definition at line 87 of file us_rotor.h.
double US_Rotor::AbstractRotor::magnetOffset |
The magnet offset.
Definition at line 93 of file us_rotor.h.
QString US_Rotor::AbstractRotor::manufacturer |
The manufacturer (Beckman, SpinAnalytical)
Definition at line 95 of file us_rotor.h.
QString US_Rotor::AbstractRotor::material |
What this rotor type is made of (Simulation, Titanium, CarbonFiber)
Definition at line 90 of file us_rotor.h.
int US_Rotor::AbstractRotor::maxRPM |
The maximum RPM.
Definition at line 92 of file us_rotor.h.
QString US_Rotor::AbstractRotor::name |
The abstract rotor type (Simulation, AN50, AN60, CFA)
Definition at line 89 of file us_rotor.h.
int US_Rotor::AbstractRotor::numHoles |
The number of holes in this rotor type.
Definition at line 91 of file us_rotor.h.