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
46 lines
1.1 KiB
#ifndef __LGS_3D_CLIENT_PROTOCOL_HEADER__
|
|
#define __LGS_3D_CLIENT_PROTOCOL_HEADER__
|
|
|
|
#include "../../alg/lgs/detectorStructures.h"
|
|
#include "../../alg/lgs/mask.h"
|
|
#include "protocolLGS3D.h"
|
|
|
|
class protocolLGS3D_Client : public protocolLGS_3D
|
|
{
|
|
private:
|
|
|
|
basicLogCollection * m_pLog;
|
|
|
|
public:
|
|
|
|
explicit protocolLGS3D_Client(U8 DeviceID = 0);
|
|
virtual ~protocolLGS3D_Client();
|
|
|
|
virtual bool create(void)
|
|
{
|
|
return protocolLGS_3D::create();
|
|
}
|
|
|
|
/* Query Issuer Methods */
|
|
bool doFullReset(void);
|
|
bool doReset(void);
|
|
bool doStartMotors(void);
|
|
bool doStopMotors(void);
|
|
bool getDraw(uint32_t SampleID, uint8_t KernelID = 0);
|
|
bool getParameters(bool master = true);
|
|
bool getShadowPoly(uint8_t PolyID);
|
|
bool getShadowStatus(uint8_t MaskID = 0);
|
|
bool getShadowInfo(void);
|
|
bool getTwincSupport(void);
|
|
bool getVoltage(void);
|
|
bool getState(void);
|
|
bool getState2(void);
|
|
bool getEvents(void);
|
|
bool setMode(U8 Mode);
|
|
bool setShadowPoly(simplePolygone * SP);
|
|
bool setShadowStatus(bool Status, uint8_t MaskID = 0);
|
|
bool setShadowTrace(vectorZoneMask * VM);
|
|
bool setParameters(PLGS_3D_PARAMETERS ptr, bool master = true);
|
|
};
|
|
|
|
#endif
|