#include <realtime_buffer.h>
Public Member Functions | |
void | initRT (const T &data) |
RealtimeBuffer & | operator= (const RealtimeBuffer &source) |
Custom assignment operator. More... | |
T * | readFromNonRT () const |
T * | readFromRT () |
RealtimeBuffer () | |
RealtimeBuffer (const T &data) | |
Constructor for objects that don't have a default constructor. More... | |
RealtimeBuffer (const 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.
|
inline |
Definition at line 51 of file realtime_buffer.h.
|
inline |
Constructor for objects that don't have a default constructor.
data | The object to use as default value |
Definition at line 64 of file realtime_buffer.h.
|
inline |
Definition at line 71 of file realtime_buffer.h.
|
inline |
Definition at line 79 of file realtime_buffer.h.
|
inline |
Definition at line 144 of file realtime_buffer.h.
|
inlineprivate |
Definition at line 151 of file realtime_buffer.h.
|
inline |
Custom assignment operator.
Definition at line 92 of file realtime_buffer.h.
|
inline |
Definition at line 121 of file realtime_buffer.h.
|
inline |
Definition at line 103 of file realtime_buffer.h.
|
inline |
Definition at line 131 of file realtime_buffer.h.
|
mutableprivate |
Definition at line 166 of file realtime_buffer.h.
|
private |
Definition at line 163 of file realtime_buffer.h.
|
private |
Definition at line 162 of file realtime_buffer.h.
|
private |
Definition at line 161 of file realtime_buffer.h.