#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 RealtimeBuffer &source) | |
RealtimeBuffer (const T &data) | |
Constructor for objects that don't have a default constructor. More... | |
void | writeFromNonRT (const T &data) |
~RealtimeBuffer () | |
Private Attributes | |
std::mutex | mutex_ |
bool | new_data_available_ {false} |
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 65 of file realtime_buffer.h.
|
inline |
Definition at line 72 of file realtime_buffer.h.
|
inline |
Definition at line 80 of file realtime_buffer.h.
|
inline |
Definition at line 149 of file realtime_buffer.h.
|
inline |
Custom assignment operator.
Definition at line 93 of file realtime_buffer.h.
|
inline |
Definition at line 122 of file realtime_buffer.h.
|
inline |
Definition at line 104 of file realtime_buffer.h.
|
inline |
Definition at line 132 of file realtime_buffer.h.
|
mutableprivate |
Definition at line 162 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.
|
private |
Definition at line 157 of file realtime_buffer.h.