Connects a chunked DCAM buffer to a node map. More...
#include <ChunkAdapterDcam.h>
Public Member Functions | |
CChunkAdapterDcam (INodeMap *pNodeMap=NULL, int64_t MaxChunkCacheSize=-1) | |
Constructor. | |
virtual | ~CChunkAdapterDcam () |
Destructor. | |
virtual bool | CheckBufferLayout (uint8_t *pBuffer, int64_t BufferLength) |
Checks if a buffer contains chunks in a known format. | |
virtual void | AttachBuffer (uint8_t *pBuffer, int64_t BufferLength, AttachStatistics_t *pAttachStatistics=NULL) |
Attaches a buffer to the matching ChunkPort. | |
bool | HasCRC (uint8_t *pBuffer, int64_t BufferLength) |
Checks if buffer has a CRC attached. | |
bool | CheckCRC (uint8_t *pBuffer, int64_t BufferLength) |
Checks CRC sum of buffer. | |
Public Member Functions inherited from CChunkAdapter | |
virtual | ~CChunkAdapter () |
Destructor. | |
void | AttachNodeMap (INodeMap *pNodeMap) |
Attaches to a node map and retrieves the chunk ports. | |
void | DetachNodeMap () |
Detaches from the node map. | |
virtual bool | CheckBufferLayout (uint8_t *pBuffer, int64_t BufferLength)=0 |
Checks if a buffer contains chunks in a known format. | |
virtual void | AttachBuffer (uint8_t *pBuffer, int64_t BufferLength, AttachStatistics_t *pAttachStatistics=NULL)=0 |
Attaches a buffer to the matching ChunkPort. | |
void | DetachBuffer () |
Detaches a buffer. | |
void | UpdateBuffer (uint8_t *pBaseAddress) |
Updates the base address of the buffer. | |
void | ClearCaches () |
Clears the chunk caches. | |
Additional Inherited Members | |
Protected Member Functions inherited from CChunkAdapter | |
CChunkAdapter (INodeMap *pNodeMap=NULL, int64_t MaxChunkCacheSize=-1) | |
Serves as default constructor. | |
Protected Attributes inherited from CChunkAdapter | |
void * | m_pChunkAdapter |
Connects a chunked DCAM buffer to a node map.
CChunkAdapterDcam | ( | INodeMap * | pNodeMap = NULL , |
int64_t | MaxChunkCacheSize = -1 |
||
) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Attaches a buffer to the matching ChunkPort.
Implements CChunkAdapter.
|
virtual |
Checks if a buffer contains chunks in a known format.
Implements CChunkAdapter.
bool CheckCRC | ( | uint8_t * | pBuffer, |
int64_t | BufferLength | ||
) |
Checks CRC sum of buffer.
bool HasCRC | ( | uint8_t * | pBuffer, |
int64_t | BufferLength | ||
) |
Checks if buffer has a CRC attached.