Spinnaker SDK C++
4.1.0.338
 
 

 
Loading...
Searching...
No Matches

#include <ChunkAdapterGeneric.h>

Inheritance diagram for CChunkAdapterGeneric:
CChunkAdapter

Public Member Functions

 CChunkAdapterGeneric (INodeMap *pNodeMap=NULL, int64_t MaxChunkCacheSize=-1)
 
virtual ~CChunkAdapterGeneric ()
 
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.
 
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)
 
- 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
 

Constructor & Destructor Documentation

◆ CChunkAdapterGeneric()

CChunkAdapterGeneric ( INodeMap pNodeMap = NULL,
int64_t  MaxChunkCacheSize = -1 
)

◆ ~CChunkAdapterGeneric()

virtual ~CChunkAdapterGeneric ( )
virtual

Member Function Documentation

◆ AttachBuffer() [1/3]

virtual void AttachBuffer ( uint8_t *  pBuffer,
int64_t  BufferLength,
AttachStatistics_t pAttachStatistics = NULL 
)
virtual

Attaches a buffer to the matching ChunkPort.

Implements CChunkAdapter.

◆ AttachBuffer() [2/3]

virtual void AttachBuffer ( uint8_t *  pBuffer,
SingleChunkData_t ChunkData,
int64_t  NumChunks,
AttachStatistics_t pAttachStatistics = NULL 
)
virtual

◆ AttachBuffer() [3/3]

virtual void AttachBuffer ( uint8_t *  pBuffer,
SingleChunkDataStr_t ChunkData,
int64_t  NumChunks,
AttachStatistics_t pAttachStatistics = NULL 
)
virtual

◆ CheckBufferLayout()

virtual bool CheckBufferLayout ( uint8_t *  pBuffer,
int64_t  BufferLength 
)
virtual

Checks if a buffer contains chunks in a known format.

Implements CChunkAdapter.


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