Public Member Functions | Protected Member Functions
GENAPI_NAMESPACE::CChunkAdapterDcam Class Reference

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

#include <ChunkAdapterDcam.h>

Inheritance diagram for GENAPI_NAMESPACE::CChunkAdapterDcam:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void AttachBuffer (uint8_t *pBuffer, int64_t BufferLength, AttachStatistics_t *pAttachStatistics=NULL)
 Attaches a buffer to the matching ChunkPort.
 CChunkAdapterDcam (INodeMap *pNodeMap=NULL, int64_t MaxChunkCacheSize=-1)
 Constructor.
virtual bool CheckBufferLayout (uint8_t *pBuffer, int64_t BufferLength)
 Checks if a buffer contains chunks in a known format.
bool CheckCRC (uint8_t *pBuffer, int64_t BufferLength)
 Checks CRC sum of buffer.
bool HasCRC (uint8_t *pBuffer, int64_t BufferLength)
 Checks if buffer has a CRC attached.
virtual ~CChunkAdapterDcam ()
 Destructor.

Protected Member Functions

bool CheckBuffer (const unsigned char *pData, uint32_t nbyLength)
 Checks the CRC of a buffer.
uint32_t CRC16 (const unsigned char *pData, uint32_t nbyLength)
 Checks the CRC of a buffer.

Detailed Description

Connects a chunked DCAM buffer to a node map.

Definition at line 63 of file ChunkAdapterDcam.h.


Constructor & Destructor Documentation

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

Constructor.

Destructor.


Member Function Documentation

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

Attaches a buffer to the matching ChunkPort.

Implements GENAPI_NAMESPACE::CChunkAdapter.

bool GENAPI_NAMESPACE::CChunkAdapterDcam::CheckBuffer ( const unsigned char *  pData,
uint32_t  nbyLength 
) [protected]

Checks the CRC of a buffer.

virtual bool GENAPI_NAMESPACE::CChunkAdapterDcam::CheckBufferLayout ( uint8_t *  pBuffer,
int64_t  BufferLength 
) [virtual]

Checks if a buffer contains chunks in a known format.

Implements GENAPI_NAMESPACE::CChunkAdapter.

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

Checks CRC sum of buffer.

uint32_t GENAPI_NAMESPACE::CChunkAdapterDcam::CRC16 ( const unsigned char *  pData,
uint32_t  nbyLength 
) [protected]

Checks the CRC of a buffer.

bool GENAPI_NAMESPACE::CChunkAdapterDcam::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:


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:48