00001 #ifndef MEASUREMENTJOB_H_ 00002 #define MEASUREMENTJOB_H_ 00003 00004 #include <string> 00005 00006 using namespace std; 00007 00008 namespace emma 00009 { 00010 class MeasurementJob 00011 { 00012 public: 00013 MeasurementJob(unsigned char type, string cmd); 00014 ~MeasurementJob(); 00015 00016 void execute(); 00017 unsigned char* getData(); 00018 unsigned int getLength(); 00019 unsigned char getType(); 00020 00021 private: 00022 string m_command; 00023 unsigned char m_type; 00024 unsigned char* m_data; 00025 unsigned int m_size; 00026 }; 00027 } 00028 00029 #endif /*MEASUREMENTJOB_H_*/
1.5.6