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
24 lines
732 B
#ifndef __INTER_PROCESS_PROTOCOL_HEADER__
|
|
#define __INTER_PROCESS_PROTOCOL_HEADER__
|
|
|
|
//#define DUBUG_COMMUNICATION
|
|
|
|
#include <opencv2/opencv.hpp>
|
|
#include "../../data/protocol/protocol.h"
|
|
#include "../../components/base/basicTransport.h"
|
|
|
|
class interProcProto: public protocolParser{
|
|
private:
|
|
basicLogCollection * m_pLog;
|
|
basicMutex m_mInquiryMutex;
|
|
protected:
|
|
int packetChecker( uint8_t *Buffer, size_t BufferSize);
|
|
protocolPackage * packetExtractor( uint8_t *Buffer, size_t BufferSize);
|
|
size_t FinishUpPackage( uint8_t *Buffer, size_t Size );
|
|
public:
|
|
interProcProto();
|
|
virtual ~interProcProto();
|
|
virtual bool create(void){ return protocolParser::create(); };
|
|
};
|
|
|
|
#endif
|