ros2_control - humble
Public Member Functions | List of all members
realtime_tools::RealtimeBuffer< T > Class Template Reference

Public Member Functions

 RealtimeBuffer (const T &data)
 Constructor for objects that don't have a default constructor. More...
 
 RealtimeBuffer (const RealtimeBuffer &source)
 
RealtimeBufferoperator= (const RealtimeBuffer &source)
 Custom assignment operator.
 
T * readFromRT ()
 
T * readFromNonRT () const
 
void writeFromNonRT (const T &data)
 
void initRT (const T &data)
 
void reset ()
 

Constructor & Destructor Documentation

◆ RealtimeBuffer()

template<class T >
realtime_tools::RealtimeBuffer< T >::RealtimeBuffer ( const T &  data)
inlineexplicit

Constructor for objects that don't have a default constructor.

Parameters
dataThe object to use as default value

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