7#ifdef STARFLEETTOOLBOX_EXPORTS
8#define BASEEXTRACT __declspec(dllexport)
10#define BASEEXTRACT __declspec(dllimport)
19class BASEEXTRACT BaseDataExtractor
abstract
44 virtual bool IsHeader(
string pDataToVerify) = 0;
virtual int GetPacketLengthToRead(char *pLenHeaderBuffer, int pPacketType)=0
Retrieve, in the pLenHeaderBuffer, the amount of data to read.
virtual RawData ExtractData(vector< string >pDataToExtract)=0
Pure virtual method that will help the caller to extract the rawdata from a stream.
virtual bool IsFirstPacket(string pDataToVerify)=0
virtual int CountToReadForLength(char *pHeaderBuffer)=0
Indicates how much byte must be read in order to obtain packet len.
virtual bool IsEndOfPacket(string pDataToVerify)=0
Pure virtual method that will help the caller to check if stream packet is the end of stream.
virtual bool IsHeader(string pDataToVerify)=0
Pure virtual method that will thel the caller to check if the packet is a BEA Header.
virtual bool IsCommandAcknowledgment(string pDataToVerify)=0
Pure virtual method that will help the caller to discriminate rawdata header from acknowledgment comm...
virtual int GetPacketHeaderSizeToRead()=0
Returns a pointer on an array with a determined size.
The base class encapsulating sensor's RAW data.
Definition RawData.h:14