Skip to content

Class Spinnaker::GenApi::CChunkAdapterDcam

ClassList > GenApi > CChunkAdapterDcam

Connects a chunked DCAM buffer to a node map.

  • #include <ChunkAdapterDcam.h>

Inherits the following classes: Spinnaker::GenApi::CChunkAdapter

Public Functions

Type Name
virtual void AttachBuffer (uint8_t * pBuffer, int64_t BufferLength, AttachStatistics_t * pAttachStatistics=NULL)
CChunkAdapterDcam (INodeMap * pNodeMap=NULL, int64_t MaxChunkCacheSize=-1)
virtual bool CheckBufferLayout (uint8_t * pBuffer, int64_t BufferLength)
bool CheckCRC (uint8_t * pBuffer, int64_t BufferLength)
bool HasCRC (uint8_t * pBuffer, int64_t BufferLength)
virtual ~CChunkAdapterDcam ()

Public Functions inherited from Spinnaker::GenApi::CChunkAdapter

See Spinnaker::GenApi::CChunkAdapter

Type Name
virtual void AttachBuffer (uint8_t * pBuffer, int64_t BufferLength, AttachStatistics_t * pAttachStatistics=NULL) = 0
void AttachNodeMap (INodeMap * pNodeMap)
virtual bool CheckBufferLayout (uint8_t * pBuffer, int64_t BufferLength) = 0
void ClearCaches ()
void DetachBuffer ()
void DetachNodeMap ()
void UpdateBuffer (uint8_t * pBaseAddress)
virtual ~CChunkAdapter ()

Protected Attributes inherited from Spinnaker::GenApi::CChunkAdapter

See Spinnaker::GenApi::CChunkAdapter

Type Name
void * m_pChunkAdapter

Protected Functions inherited from Spinnaker::GenApi::CChunkAdapter

See Spinnaker::GenApi::CChunkAdapter

Type Name
CChunkAdapter (INodeMap * pNodeMap=NULL, int64_t MaxChunkCacheSize=-1)

Public Functions Documentation

function AttachBuffer

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

Attaches a buffer to the matching ChunkPort.

Implements Spinnaker::GenApi::CChunkAdapter::AttachBuffer


function CChunkAdapterDcam

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

Constructor.


function CheckBufferLayout

virtual bool GenApi::CChunkAdapterDcam::CheckBufferLayout (
    uint8_t * pBuffer,
    int64_t BufferLength
) 

Checks if a buffer contains chunks in a known format.

Implements Spinnaker::GenApi::CChunkAdapter::CheckBufferLayout


function CheckCRC

bool GenApi::CChunkAdapterDcam::CheckCRC (
    uint8_t * pBuffer,
    int64_t BufferLength
) 

Checks CRC sum of buffer.


function HasCRC

bool GenApi::CChunkAdapterDcam::HasCRC (
    uint8_t * pBuffer,
    int64_t BufferLength
) 

Checks if buffer has a CRC attached.


function ~CChunkAdapterDcam

virtual GenApi::CChunkAdapterDcam::~CChunkAdapterDcam () 

Destructor.



The documentation for this class was generated from the following file /workspace/include/SpinGenApi/ChunkAdapterDcam.h