Centerpiece data. More...
#include "us_hardware.h"
Public Member Functions | |
US_AbstractCenterpiece () | |
Static Public Member Functions | |
static bool | read_centerpieces (US_DB2 *, QList< US_AbstractCenterpiece > &) |
static bool | read_centerpieces (QList< US_AbstractCenterpiece > &) |
Public Attributes | |
int | serial_number |
internal identifier More... | |
QString | guid |
global identifier More... | |
QString | name |
textual description More... | |
QString | material |
epon, aluminum, titanium More... | |
int | channels |
number of columns of channels More... | |
QString | shape |
shape of the channel More... | |
double | angle |
Angle of sector, if sector shaped, default: 2.5 degrees. More... | |
double | width |
Width of channel if rectangular, 0 otherwise. More... | |
double | maxRPM |
Maximum speed in RPM. More... | |
QList< double > | path_length |
Bottom position of each row. More... | |
QList< double > | bottom_position |
bottom of each row of channels More... | |
Centerpiece data.
Definition at line 32 of file us_hardware.h.
US_AbstractCenterpiece::US_AbstractCenterpiece | ( | ) |
Definition at line 170 of file us_hardware.cpp.
|
static |
Read centerpieces from database (or local disk if db==NULL)
db | Pointer to database connection (NULL for local) |
centerpieces | A list of centerpiece data |
Definition at line 185 of file us_hardware.cpp.
|
static |
Read centerpieces from local disk
centerpieces | A list of centerpiece data |
Definition at line 323 of file us_hardware.cpp.
double US_AbstractCenterpiece::angle |
Angle of sector, if sector shaped, default: 2.5 degrees.
Definition at line 46 of file us_hardware.h.
QList< double > US_AbstractCenterpiece::bottom_position |
bottom of each row of channels
Definition at line 56 of file us_hardware.h.
int US_AbstractCenterpiece::channels |
number of columns of channels
Definition at line 42 of file us_hardware.h.
QString US_AbstractCenterpiece::guid |
global identifier
Definition at line 39 of file us_hardware.h.
QString US_AbstractCenterpiece::material |
epon, aluminum, titanium
Definition at line 41 of file us_hardware.h.
double US_AbstractCenterpiece::maxRPM |
Maximum speed in RPM.
Definition at line 52 of file us_hardware.h.
QString US_AbstractCenterpiece::name |
textual description
Definition at line 40 of file us_hardware.h.
QList< double > US_AbstractCenterpiece::path_length |
Bottom position of each row.
path lengths of channels in a column
Definition at line 55 of file us_hardware.h.
int US_AbstractCenterpiece::serial_number |
internal identifier
Definition at line 38 of file us_hardware.h.
QString US_AbstractCenterpiece::shape |
shape of the channel
Definition at line 43 of file us_hardware.h.
double US_AbstractCenterpiece::width |
Width of channel if rectangular, 0 otherwise.
Definition at line 49 of file us_hardware.h.