Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches
CChunkAdapter Class Referenceabstract

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

#include <ChunkAdapter.h>

Inheritance diagram for CChunkAdapter:
CChunkAdapterDcam CChunkAdapterGEV CChunkAdapterGeneric CChunkAdapterU3V

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
 

Detailed Description

Connects a chunked buffer to a node map.

Constructor & Destructor Documentation

◆ ~CChunkAdapter()

virtual ~CChunkAdapter ( )
virtual

Destructor.

◆ CChunkAdapter()

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

Serves as default constructor.

Member Function Documentation

◆ AttachBuffer()

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.

◆ AttachNodeMap()

void AttachNodeMap ( INodeMap pNodeMap)

Attaches to a node map and retrieves the chunk ports.

◆ CheckBufferLayout()

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.

◆ ClearCaches()

void ClearCaches ( )

Clears the chunk caches.

◆ DetachBuffer()

void DetachBuffer ( )

Detaches a buffer.

◆ DetachNodeMap()

void DetachNodeMap ( )

Detaches from the node map.

◆ UpdateBuffer()

void UpdateBuffer ( uint8_t *  pBaseAddress)

Updates the base address of the buffer.

Member Data Documentation

◆ m_pChunkAdapter

void* m_pChunkAdapter
protected

The documentation for this class was generated from the following file: