Public Member Functions | Protected Member Functions | List of all members
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]

Public Member Functions

virtual void AttachBuffer (uint8_t *pBuffer, int64_t BufferLength, AttachStatistics_t *pAttachStatistics=NULL)
 Attaches a buffer to the matching ChunkPort. More...
 
 CChunkAdapterDcam (INodeMap *pNodeMap=NULL, int64_t MaxChunkCacheSize=-1)
 Constructor. More...
 
virtual bool CheckBufferLayout (uint8_t *pBuffer, int64_t BufferLength)
 Checks if a buffer contains chunks in a known format. More...
 
bool CheckCRC (uint8_t *pBuffer, int64_t BufferLength)
 Checks CRC sum of buffer. More...
 
bool HasCRC (uint8_t *pBuffer, int64_t BufferLength)
 Checks if buffer has a CRC attached. More...
 
virtual ~CChunkAdapterDcam ()
 Destructor. More...
 
- Public Member Functions inherited from GENAPI_NAMESPACE::CChunkAdapter
void AttachNodeMap (INodeMap *pNodeMap)
 Attaches to a node map and retrieves the chunk ports. More...
 
void ClearCaches ()
 Clears the chunk caches. More...
 
void DetachBuffer ()
 Detaches a buffer. More...
 
void DetachNodeMap ()
 Detaches from the node map. More...
 
void UpdateBuffer (uint8_t *pBaseAddress)
 Updates the base address of the buffer. More...
 
virtual ~CChunkAdapter ()
 Destructor. More...
 

Protected Member Functions

bool CheckBuffer (const unsigned char *pData, uint32_t nbyLength)
 Checks the CRC of a buffer. More...
 
uint32_t CRC16 (const unsigned char *pData, uint32_t nbyLength)
 Checks the CRC of a buffer. More...
 
- Protected Member Functions inherited from GENAPI_NAMESPACE::CChunkAdapter
 CChunkAdapter (INodeMap *pNodeMap=NULL, int64_t MaxChunkCacheSize=-1)
 Serves as default constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from GENAPI_NAMESPACE::CChunkAdapter
int64_t m_MaxChunkCacheSize
 the maximum size of a chunk to be cached More...
 
std::vector< CChunkPort * > * m_ppChunkPorts
 An array of attached ChunkPorts. More...
 

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.

virtual GENAPI_NAMESPACE::CChunkAdapterDcam::~CChunkAdapterDcam ( )
virtual

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 19:10:55