Spinnaker C++
3.1.0.78
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CChunkAdapter Class Referenceabstract

Connects a chunked buffer to a node map. More...

Inheritance diagram for CChunkAdapter:
CChunkAdapterDcam CChunkAdapterGeneric CChunkAdapterGEV CChunkAdapterU3V

Public Member Functions

virtual ~CChunkAdapter ()
 Destructor. More...
 
void AttachNodeMap (INodeMap *pNodeMap)
 Attaches to a node map and retrieves the chunk ports. More...
 
void DetachNodeMap ()
 Detaches from the node map. More...
 
virtual bool CheckBufferLayout (uint8_t *pBuffer, int64_t BufferLength)=0
 Checks if a buffer contains chunks in a known format. More...
 
virtual void AttachBuffer (uint8_t *pBuffer, int64_t BufferLength, AttachStatistics_t *pAttachStatistics=NULL)=0
 Attaches a buffer to the matching ChunkPort. More...
 
void DetachBuffer ()
 Detaches a buffer. More...
 
void UpdateBuffer (uint8_t *pBaseAddress)
 Updates the base address of the buffer. More...
 
void ClearCaches ()
 Clears the chunk caches. More...
 

Protected Member Functions

 CChunkAdapter (INodeMap *pNodeMap=NULL, int64_t MaxChunkCacheSize=-1)
 Serves as default constructor. More...
 

Protected Attributes

void * m_pChunkAdapter
 

Detailed Description

Connects a chunked buffer to a node map.

Constructor & Destructor Documentation

virtual ~CChunkAdapter ( )
virtual

Destructor.

CChunkAdapter ( INodeMap pNodeMap = NULL,
int64_t  MaxChunkCacheSize = -1 
)
protected

Serves as default constructor.

Member Function Documentation

virtual void AttachBuffer ( uint8_t *  pBuffer,
int64_t  BufferLength,
AttachStatistics_t pAttachStatistics = NULL 
)
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.

virtual bool CheckBufferLayout ( uint8_t *  pBuffer,
int64_t  BufferLength 
)
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.

Member Data Documentation

void* m_pChunkAdapter
protected

The documentation for this class was generated from the following file:
Contact Support Spinnaker® SDK Programmer's Guide and API Reference