My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
DlpUsbThermalMsg.h
1 #ifndef GCP_UTIL_DLPUSBTHERMALMSG_H
2 #define GCP_UTIL_DLPUSBTHERMALMSG_H
3 
13 #include "gcp/util/common/CondVar.h"
14 #include "gcp/util/common/SerialClient.h"
15 #include "gcp/util/common/SpawnableTask.h"
16 #include "gcp/util/common/GenericTaskMsg.h"
17 #include "gcp/util/common/TimeOut.h"
18 #include "gcp/control/code/unix/libunix_src/specific/specificregs.h"
19 
20 
21 #include <sstream>
22 #define DATA_MAX_LEN 200
23 
24 namespace gcp {
25  namespace util {
26 
28  public:
29 
30 
34  enum Request {
35  INVALID,
36  SET_DATA_TYPE,
37  SET_UNITS,
38  QUERY_TEMP,
39  QUERY_VOLTAGE,
40  QUERY_ALL_TEMP,
41  QUERY_ALL_VOLT,
42  };
43 
47  unsigned char request_;
48 
52  std::string messageToSend_;
53 
57  char responseReceived_[DATA_MAX_LEN];
58 
63 
68  float responseValueVec_[NUM_TEMP_SENSORS];
69 
73  unsigned short cmdSize_;
74 
75 
76  }; //End DlpUsbThermalMsg class.
77 
78  }; //End namespace util
79 }; // End namesapce gcp
80 
81 #endif // End #ifndef
82 
unsigned char request_
Definition: DlpUsbThermalMsg.h:47
Request
Definition: DlpUsbThermalMsg.h:34
bool expectsResponse_
Definition: DlpUsbThermalMsg.h:62
float responseValue_
Definition: DlpUsbThermalMsg.h:67
char responseReceived_[DATA_MAX_LEN]
Definition: DlpUsbThermalMsg.h:57
unsigned short cmdSize_
Definition: DlpUsbThermalMsg.h:73
std::string messageToSend_
Definition: DlpUsbThermalMsg.h:52
Definition: DlpUsbThermalMsg.h:27