UltraScan III
us_hardware.h
Go to the documentation of this file.
1 #ifndef US_HARDWARE_H
3 #define US_HARDWARE_H
4 
5 #include <QtCore>
6 #include "us_extern.h"
7 #include "us_util.h"
8 #include "us_db2.h"
9 
12 {
13  public:
14 
17  static bool readRotorMap( QMap< QString, QString >& );
18 
22  static bool readRotorMap( US_DB2*, QMap< QString, QString >& );
23 
28  static bool rotorValues ( QString, QMap< QString, QString >, double* );
29 };
30 
33 {
34  public:
35 
37 
39  QString guid;
40  QString name;
41  QString material;
42  int channels;
43  QString shape;
44 
46  double angle;
47 
49  double width;
50 
52  double maxRPM;
53 
55  QList< double > path_length;
56  QList< double > bottom_position;
57 
62  static bool read_centerpieces( US_DB2*, QList< US_AbstractCenterpiece >& );
63 
67  static bool read_centerpieces( QList< US_AbstractCenterpiece >& );
68 };
69 #endif
70