Connects a chunked buffer to a node map. More...
#include <ChunkAdapter.h>
Public Member Functions | |
| 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. | |
Protected Member Functions | |
| CChunkAdapter (INodeMap *pNodeMap=NULL, int64_t MaxChunkCacheSize=-1) | |
| Serves as default constructor. | |
Protected Attributes | |
| void * | m_pChunkAdapter |
Connects a chunked buffer to a node map.
|
virtual |
Destructor.
|
protected |
Serves as default constructor.
|
pure virtual |
Attaches a buffer to the matching ChunkPort.
Implemented in CChunkAdapterDcam, CChunkAdapterGeneric, CChunkAdapterGEV, and CChunkAdapterU3V.
| void AttachNodeMap | ( | INodeMap * | pNodeMap | ) |
Attaches to a node map and retrieves the chunk ports.
|
pure virtual |
Checks if a buffer contains chunks in a known format.
Implemented in CChunkAdapterDcam, CChunkAdapterGeneric, CChunkAdapterGEV, and CChunkAdapterU3V.
| void ClearCaches | ( | ) |
Clears the chunk caches.
| void DetachBuffer | ( | ) |
Detaches a buffer.
| void DetachNodeMap | ( | ) |
Detaches from the node map.
| void UpdateBuffer | ( | uint8_t * | pBaseAddress | ) |
Updates the base address of the buffer.
|
protected |