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.

39 lines
1.7 KiB

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