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.

24 lines
732 B

7 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __INTER_PROCESS_PROTOCOL_HEADER__
  2. #define __INTER_PROCESS_PROTOCOL_HEADER__
  3. //#define DUBUG_COMMUNICATION
  4. #include <opencv2/opencv.hpp>
  5. #include "../../data/protocol/protocol.h"
  6. #include "../../components/base/basicTransport.h"
  7. class interProcProto: public protocolParser{
  8. private:
  9. basicLogCollection * m_pLog;
  10. basicMutex m_mInquiryMutex;
  11. protected:
  12. int packetChecker( uint8_t *Buffer, size_t BufferSize);
  13. protocolPackage * packetExtractor( uint8_t *Buffer, size_t BufferSize);
  14. size_t FinishUpPackage( uint8_t *Buffer, size_t Size );
  15. public:
  16. interProcProto();
  17. virtual ~interProcProto();
  18. virtual bool create(void){ return protocolParser::create(); };
  19. };
  20. #endif