You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
797 B

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __PROTOCOL_LGS_3D_HEADERS__
  2. #define __PROTOCOL_LGS_3D_HEADERS__
  3. #include "protocol.h"
  4. #include "protocolLGS_data.h"
  5. class protocolLGS_3D: public protocolParser{
  6. private:
  7. basicLogCollection * m_pLog;
  8. basicMutex m_mInquiryMutex;
  9. protected:
  10. uint8_t m_bDeviceID;
  11. int packetChecker( uint8_t *Buffer, size_t BufferSize);
  12. protocolPackage * packetExtractor( uint8_t *Buffer, size_t BufferSize);
  13. public:
  14. explicit protocolLGS_3D( uint8_t DeviceID = 0 );
  15. virtual ~protocolLGS_3D();
  16. virtual bool create(void){ return protocolParser::create(); };
  17. uint8_t getDeviceID(void) { return m_bDeviceID; };
  18. bool setDeviceID( uint8_t DeviceID ){ m_bDeviceID = DeviceID; return true; };
  19. };
  20. #endif