#include <realtime_buffer.h>
Public Member Functions | |
void | initRT (const T &data) |
RealtimeBuffer & | operator= (const RealtimeBuffer &source) |
Custom assignment operator. | |
T * | readFromNonRT () const |
T * | readFromRT () |
RealtimeBuffer () | |
RealtimeBuffer (RealtimeBuffer &source) | |
void | writeFromNonRT (const T &data) |
~RealtimeBuffer () | |
Private Member Functions | |
void | lock () |
Private Attributes | |
boost::mutex | mutex_ |
bool | new_data_available_ |
T * | non_realtime_data_ |
T * | realtime_data_ |
Definition at line 48 of file realtime_buffer.h.
realtime_tools::RealtimeBuffer< T >::RealtimeBuffer | ( | ) | [inline] |
Definition at line 51 of file realtime_buffer.h.
realtime_tools::RealtimeBuffer< T >::~RealtimeBuffer | ( | ) | [inline] |
Definition at line 59 of file realtime_buffer.h.
realtime_tools::RealtimeBuffer< T >::RealtimeBuffer | ( | RealtimeBuffer< T > & | source | ) | [inline] |
Definition at line 67 of file realtime_buffer.h.
void realtime_tools::RealtimeBuffer< T >::initRT | ( | const T & | data | ) | [inline] |
Definition at line 132 of file realtime_buffer.h.
void realtime_tools::RealtimeBuffer< T >::lock | ( | ) | [inline, private] |
Definition at line 139 of file realtime_buffer.h.
RealtimeBuffer& realtime_tools::RealtimeBuffer< T >::operator= | ( | const RealtimeBuffer< T > & | source | ) | [inline] |
Custom assignment operator.
Definition at line 80 of file realtime_buffer.h.
T* realtime_tools::RealtimeBuffer< T >::readFromNonRT | ( | ) | const [inline] |
Definition at line 109 of file realtime_buffer.h.
T* realtime_tools::RealtimeBuffer< T >::readFromRT | ( | ) | [inline] |
Definition at line 91 of file realtime_buffer.h.
void realtime_tools::RealtimeBuffer< T >::writeFromNonRT | ( | const T & | data | ) | [inline] |
Definition at line 119 of file realtime_buffer.h.
boost::mutex realtime_tools::RealtimeBuffer< T >::mutex_ [mutable, private] |
Definition at line 154 of file realtime_buffer.h.
bool realtime_tools::RealtimeBuffer< T >::new_data_available_ [private] |
Definition at line 151 of file realtime_buffer.h.
T* realtime_tools::RealtimeBuffer< T >::non_realtime_data_ [private] |
Definition at line 150 of file realtime_buffer.h.
T* realtime_tools::RealtimeBuffer< T >::realtime_data_ [private] |
Definition at line 149 of file realtime_buffer.h.