Image Component Library (ICL)
Public Member Functions | Public Attributes | List of all members
icl::io::pylon::TsBuffer< T > Class Template Reference

A buffer holding image information and timestamp. More...

#include <PylonUtils.h>

Public Member Functions

 TsBuffer (size_t size)
 Constructor allocates required memory. More...
 
 ~TsBuffer ()
 Frees allocated memory. More...
 
void copy (void *buffer)
 uses icl::io::pylon::TsBuffer::copy to write buffer-data to m_Buffer More...
 

Public Attributes

T * m_Buffer
 Buffer for image information. More...
 
uint64_t m_Timestamp
 Buffer for image-timestamp. More...
 
size_t m_Size
 holdss the size of m_Buffer More...
 

Detailed Description

template<typename T>
class icl::io::pylon::TsBuffer< T >

A buffer holding image information and timestamp.

Constructor & Destructor Documentation

◆ TsBuffer()

template<typename T >
icl::io::pylon::TsBuffer< T >::TsBuffer ( size_t  size)
inline

Constructor allocates required memory.

◆ ~TsBuffer()

template<typename T >
icl::io::pylon::TsBuffer< T >::~TsBuffer ( )
inline

Frees allocated memory.

Member Function Documentation

◆ copy()

template<typename T >
void icl::io::pylon::TsBuffer< T >::copy ( void *  buffer)
inline

uses icl::io::pylon::TsBuffer::copy to write buffer-data to m_Buffer

casts buffer to internal type and copies m_Size blocks to m_Buffer.

Member Data Documentation

◆ m_Buffer

template<typename T >
T* icl::io::pylon::TsBuffer< T >::m_Buffer

Buffer for image information.

◆ m_Size

template<typename T >
size_t icl::io::pylon::TsBuffer< T >::m_Size

holdss the size of m_Buffer

◆ m_Timestamp

template<typename T >
uint64_t icl::io::pylon::TsBuffer< T >::m_Timestamp

Buffer for image-timestamp.


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