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.

38 lines
1.7 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __LGS_3D_SERVER_PROTOCOL_32334_HEADER__
  2. #define __LGS_3D_SERVER_PROTOCOL_32334_HEADER__
  3. #include "../../components/base/basicEvent.h"
  4. #include "../../alg/lgs/mask.h"
  5. #include "protocolLGS3D.h"
  6. class protocolLGS3D_Server: public protocolLGS_3D{
  7. private:
  8. basicLogCollection * m_pLog;
  9. public:
  10. explicit protocolLGS3D_Server( U8 DeviceID=0 );
  11. virtual ~protocolLGS3D_Server();
  12. virtual bool create(void){ return protocolLGS_3D::create(); };
  13. /* Query Issuer Methods */
  14. bool sendBorderError( uint8_t Error );
  15. bool sendBorderData( uint32_t SampleID, uint8_t KernelID, thresholdNode *WorkingSAF);
  16. bool sendEvent( uint8_t Code);
  17. bool sendFlip( uint16_t Count);
  18. bool sendMode( uint8_t Mode);
  19. bool sendParameters( PLGS_3D_PARAMETERS ptr );
  20. bool sendScan( void );
  21. bool sendShadowInfo( ShadowMask *ShObj );
  22. bool sendShadowStatus( bool Status, uint8_t ShadowID = 0 );
  23. bool sendShadowPoly( simplePolygone *SP );
  24. bool sendSetPolyACK( uint8_t id );
  25. bool sendResetACK( void );
  26. bool sendFullResetACK( void );
  27. bool sendGenericACK( bool Status );
  28. bool sendState( uint8_t State);
  29. bool sendState2( uint8_t State, uint8_t Coumt = 0, uint8_t *Data = NULL );
  30. bool sendTarget( uint16_t Angle, uint16_t Azimuth, uint16_t Range );
  31. bool sendTargetW( uint16_t Angle, uint16_t Azimuth, uint16_t Range, uint32_t Width);
  32. bool sendTargetM( uint32_t SampleID, uint8_t Kernel, uint16_t Range, uint32_t Width, bool isBlack = false );
  33. bool sendTargetZ( TARGET_DATA *ptr );
  34. };
  35. #endif