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.

46 lines
1.1 KiB

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