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.

34 lines
1.5 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __LGS_3D_CLIENT_PROTOCOL_HEADER__
  2. #define __LGS_3D_CLIENT_PROTOCOL_HEADER__
  3. #include "protocolLGS3D.h"
  4. #include "../../alg/lgs/mask.h"
  5. class protocolLGS3D_Client: public protocolLGS_3D{
  6. private:
  7. basicLogCollection * m_pLog;
  8. public:
  9. explicit protocolLGS3D_Client( U8 DeviceID=0 );
  10. virtual ~protocolLGS3D_Client();
  11. virtual bool create(void){ return protocolLGS_3D::create(); };
  12. /* Query Issuer Methods */
  13. bool doFullReset( void );
  14. bool doReset( void );
  15. bool doStartMotors( void );
  16. bool doStopMotors( void );
  17. bool getDraw( uint32_t SampleID, uint8_t KernelID = 0 );
  18. bool getParameters( void );
  19. bool getShadowPoly( uint8_t PolyID );
  20. bool getShadowStatus( uint8_t MaskID = 0 );
  21. bool getShadowInfo( void );
  22. bool getVoltage(void);
  23. bool getState( void );
  24. bool getState2( void );
  25. bool setMode( U8 Mode );
  26. bool setShadowPoly( simplePolygone *SP );
  27. bool setShadowStatus( bool Status, uint8_t MaskID = 0 );
  28. bool setShadowTrace( vectorZoneMask *VM );
  29. bool setParameters( PLGS_PARAMETERS ptr );
  30. };
  31. #endif