Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
cComDataBuffer Class Reference

#include <ISCommDataBuffer.h>

Classes

struct  buffer_file_t
 

Public Member Functions

 cComDataBuffer ()
 
int PushData (int pHandle, const p_data_t *data)
 
int ReadData (int pHandle, uint32_t dataId, vector< uint8_t > &data)
 
void Reset ()
 
virtual ~cComDataBuffer ()
 

Private Member Functions

void EnsureBuffers (int pHandle)
 

Private Attributes

string basePath
 
vector< vector< buffer_file_t > > m_buffers
 
float m_lastTimestamp
 
cMutex m_mutex
 
vector< vector< buffer_file_t > > m_timestamps
 

Detailed Description

Definition at line 11 of file ISCommDataBuffer.h.

Constructor & Destructor Documentation

◆ cComDataBuffer()

cComDataBuffer::cComDataBuffer ( )

Definition at line 12 of file ISCommDataBuffer.cpp.

◆ ~cComDataBuffer()

cComDataBuffer::~cComDataBuffer ( )
virtual

Definition at line 24 of file ISCommDataBuffer.cpp.

Member Function Documentation

◆ EnsureBuffers()

void cComDataBuffer::EnsureBuffers ( int  pHandle)
private

Definition at line 173 of file ISCommDataBuffer.cpp.

◆ PushData()

int cComDataBuffer::PushData ( int  pHandle,
const p_data_t data 
)

Definition at line 48 of file ISCommDataBuffer.cpp.

◆ ReadData()

int cComDataBuffer::ReadData ( int  pHandle,
uint32_t  dataId,
vector< uint8_t > &  data 
)

Definition at line 123 of file ISCommDataBuffer.cpp.

◆ Reset()

void cComDataBuffer::Reset ( )

Definition at line 30 of file ISCommDataBuffer.cpp.

Member Data Documentation

◆ basePath

string cComDataBuffer::basePath
private

Definition at line 44 of file ISCommDataBuffer.h.

◆ m_buffers

vector<vector<buffer_file_t> > cComDataBuffer::m_buffers
private

Definition at line 37 of file ISCommDataBuffer.h.

◆ m_lastTimestamp

float cComDataBuffer::m_lastTimestamp
private

Definition at line 42 of file ISCommDataBuffer.h.

◆ m_mutex

cMutex cComDataBuffer::m_mutex
private

Definition at line 43 of file ISCommDataBuffer.h.

◆ m_timestamps

vector<vector<buffer_file_t> > cComDataBuffer::m_timestamps
private

Definition at line 40 of file ISCommDataBuffer.h.


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


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:09