#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 Attributes | |
std::mutex | mutex_ |
bool | new_data_available_ |
T * | non_realtime_data_ |
T * | realtime_data_ |
Definition at line 50 of file realtime_buffer.h.
|
inline |
Definition at line 53 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 66 of file realtime_buffer.h.
|
inline |
Definition at line 73 of file realtime_buffer.h.
|
inline |
Definition at line 81 of file realtime_buffer.h.
|
inline |
Definition at line 150 of file realtime_buffer.h.
|
inline |
Custom assignment operator.
Definition at line 94 of file realtime_buffer.h.
|
inline |
Definition at line 123 of file realtime_buffer.h.
|
inline |
Definition at line 105 of file realtime_buffer.h.
|
inline |
Definition at line 133 of file realtime_buffer.h.
|
mutableprivate |
Definition at line 163 of file realtime_buffer.h.
|
private |
Definition at line 160 of file realtime_buffer.h.
|
private |
Definition at line 159 of file realtime_buffer.h.
|
private |
Definition at line 158 of file realtime_buffer.h.