Connects a generic chunked buffer to a node map. More...
#include <ChunkAdapterGeneric.h>
Public Member Functions | |
virtual void | AttachBuffer (uint8_t *pBuffer, int64_t BufferLength, AttachStatistics_t *pAttachStatistics=NULL) |
Attaches a buffer to the matching ChunkPort. | |
virtual void | AttachBuffer (uint8_t *pBuffer, SingleChunkData_t *ChunkData, int64_t NumChunks, AttachStatistics_t *pAttachStatistics=NULL) |
virtual void | AttachBuffer (uint8_t *pBuffer, SingleChunkDataStr_t *ChunkData, int64_t NumChunks, AttachStatistics_t *pAttachStatistics=NULL) |
CChunkAdapterGeneric (INodeMap *pNodeMap=NULL, int64_t MaxChunkCacheSize=-1) | |
Constructor. | |
virtual bool | CheckBufferLayout (uint8_t *pBuffer, int64_t BufferLength) |
Checks if a buffer contains chunks in a known format. | |
virtual | ~CChunkAdapterGeneric () |
Destructor. |
Connects a generic chunked buffer to a node map.
Definition at line 64 of file ChunkAdapterGeneric.h.
GENAPI_NAMESPACE::CChunkAdapterGeneric::CChunkAdapterGeneric | ( | INodeMap * | pNodeMap = NULL , |
int64_t | MaxChunkCacheSize = -1 |
||
) |
Constructor.
virtual GENAPI_NAMESPACE::CChunkAdapterGeneric::~CChunkAdapterGeneric | ( | ) | [virtual] |
Destructor.
virtual void GENAPI_NAMESPACE::CChunkAdapterGeneric::AttachBuffer | ( | uint8_t * | pBuffer, |
int64_t | BufferLength, | ||
AttachStatistics_t * | pAttachStatistics = NULL |
||
) | [virtual] |
Attaches a buffer to the matching ChunkPort.
Implement that for a specific buffer layout
Implements GENAPI_NAMESPACE::CChunkAdapter.
virtual void GENAPI_NAMESPACE::CChunkAdapterGeneric::AttachBuffer | ( | uint8_t * | pBuffer, |
SingleChunkData_t * | ChunkData, | ||
int64_t | NumChunks, | ||
AttachStatistics_t * | pAttachStatistics = NULL |
||
) | [virtual] |
virtual void GENAPI_NAMESPACE::CChunkAdapterGeneric::AttachBuffer | ( | uint8_t * | pBuffer, |
SingleChunkDataStr_t * | ChunkData, | ||
int64_t | NumChunks, | ||
AttachStatistics_t * | pAttachStatistics = NULL |
||
) | [virtual] |
virtual bool GENAPI_NAMESPACE::CChunkAdapterGeneric::CheckBufferLayout | ( | uint8_t * | pBuffer, |
int64_t | BufferLength | ||
) | [virtual] |
Checks if a buffer contains chunks in a known format.
Implement that for a specific buffer layout
Implements GENAPI_NAMESPACE::CChunkAdapter.