Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches

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

#include <ChunkAdapterDcam.h>

Inheritance diagram for CChunkAdapterDcam:
CChunkAdapter

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
 

Detailed Description

Connects a chunked DCAM buffer to a node map.

Constructor & Destructor Documentation

◆ CChunkAdapterDcam()

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

Constructor.

◆ ~CChunkAdapterDcam()

virtual ~CChunkAdapterDcam ( )
virtual

Destructor.

Member Function Documentation

◆ AttachBuffer()

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

Attaches a buffer to the matching ChunkPort.

Implements CChunkAdapter.

◆ CheckBufferLayout()

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

Checks if a buffer contains chunks in a known format.

Implements CChunkAdapter.

◆ CheckCRC()

bool CheckCRC ( uint8_t *  pBuffer,
int64_t  BufferLength 
)

Checks CRC sum of buffer.

◆ HasCRC()

bool HasCRC ( uint8_t *  pBuffer,
int64_t  BufferLength 
)

Checks if buffer has a CRC attached.


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