MatLogger2  1.0.0
Library for logging of numeric data to HDF5 MAT-files, which is RT-safe and multithreaded.
Public Member Functions | Public Attributes | List of all members
XBot::MatAppender::Impl Struct Reference
+ Collaboration diagram for XBot::MatAppender::Impl:

Public Member Functions

void flush_thread_main ()
 
int flush_available_data_all ()
 
void on_block_available (VariableBuffer::BufferInfo buf_info)
 
 Impl ()
 

Public Attributes

std::list< MatLogger2::WeakPtr_loggers
 
MutexType _loggers_mutex
 
int _available_bytes
 
std::unique_ptr< ThreadType_flush_thread
 
MutexType _cond_mutex
 
CondVarType _cond
 
std::atomic< bool > _flush_thread_wake_up
 
std::atomic< bool > _flush_thread_run
 

Detailed Description

Definition at line 30 of file mat_appender.cpp.

Constructor & Destructor Documentation

XBot::MatAppender::Impl::Impl ( )

Definition at line 72 of file mat_appender.cpp.

Member Function Documentation

int XBot::MatAppender::Impl::flush_available_data_all ( )

Definition at line 198 of file mat_appender.cpp.

void XBot::MatAppender::Impl::flush_thread_main ( )

Definition at line 233 of file mat_appender.cpp.

void XBot::MatAppender::Impl::on_block_available ( VariableBuffer::BufferInfo  buf_info)

Definition at line 86 of file mat_appender.cpp.

Member Data Documentation

int XBot::MatAppender::Impl::_available_bytes

Definition at line 48 of file mat_appender.cpp.

CondVarType XBot::MatAppender::Impl::_cond

Definition at line 55 of file mat_appender.cpp.

MutexType XBot::MatAppender::Impl::_cond_mutex

Definition at line 54 of file mat_appender.cpp.

std::unique_ptr<ThreadType> XBot::MatAppender::Impl::_flush_thread

Definition at line 51 of file mat_appender.cpp.

std::atomic<bool> XBot::MatAppender::Impl::_flush_thread_run

Definition at line 61 of file mat_appender.cpp.

std::atomic<bool> XBot::MatAppender::Impl::_flush_thread_wake_up

Definition at line 58 of file mat_appender.cpp.

std::list<MatLogger2::WeakPtr> XBot::MatAppender::Impl::_loggers

Definition at line 33 of file mat_appender.cpp.

MutexType XBot::MatAppender::Impl::_loggers_mutex

Definition at line 36 of file mat_appender.cpp.


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