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.
|
|
#ifndef __LGS_3D_SERVER_PROTOCOL_32334_HEADER__
#define __LGS_3D_SERVER_PROTOCOL_32334_HEADER__
#include "../../alg/lgs/mask.h"
#include "../../components/base/basicEvent.h"
#include "protocolLGS3D.h"
#define MAXIMAL_EVENT_COUNT_IN_PACKET 5370
class protocolLGS3D_Server : public protocolLGS_3D{ private:
basicLogCollection * m_pLog;
public:
explicit protocolLGS3D_Server(U8 DeviceID = 0); virtual ~protocolLGS3D_Server();
virtual bool create(void) { return protocolLGS_3D::create(); }
/* Query Issuer Methods */ bool sendBorderError(uint8_t Error); bool sendBorderData(uint32_t SampleID, uint8_t KernelID, thresholdNode * WorkingSAF); bool sendFlip(uint16_t Count); bool sendMode(uint8_t Mode); bool sendParameters(PLGS_3D_PARAMETERS ptr); bool sendScan(void); bool sendShadowInfo(ShadowMask * ShObj); bool sendShadowStatus(bool Status, uint8_t ShadowID = 0); bool sendShadowPoly(simplePolygone * SP); bool sendSetPolyACK(uint8_t id); bool sendResetACK(void); bool sendFullResetACK(void); bool sendGenericACK(bool Status); bool sendState(uint8_t State); bool sendState2(uint8_t State, uint8_t Evemts, ALG_RUN_STATUS * StatusData); bool sendEvents(uint8_t bEventsCount, uint8_t * pEventData); bool sendTarget(uint16_t Angle, uint16_t Azimuth, uint16_t Range); bool sendTargetW(uint16_t Angle, uint16_t Azimuth, uint16_t Range, uint32_t Width); bool sendTargetM(uint32_t SampleID, uint8_t Kernel, uint16_t Range, uint32_t Width, bool isBlack = false); bool sendTargetZ(TARGET_DATA * ptr); bool sendTwinLinkACK(uint8_t status);};
#endif
|