Public Member Functions | Private Attributes | List of all members
realtime_tools::RealtimeBox< T > Class Template Reference

#include <realtime_box.h>

Public Member Functions

void get (T &ref)
 
 RealtimeBox (const T &initial=T())
 
void set (const T &value)
 

Private Attributes

thing_
 
boost::mutex thing_lock_RT_
 

Detailed Description

template<class T>
class realtime_tools::RealtimeBox< T >

Strongly suggested that you use a boost::shared_ptr in this box to guarantee realtime safety.

Definition at line 49 of file realtime_box.h.

Constructor & Destructor Documentation

template<class T >
realtime_tools::RealtimeBox< T >::RealtimeBox ( const T &  initial = T())
inline

Definition at line 52 of file realtime_box.h.

Member Function Documentation

template<class T >
void realtime_tools::RealtimeBox< T >::get ( T &  ref)
inline

Definition at line 62 of file realtime_box.h.

template<class T >
void realtime_tools::RealtimeBox< T >::set ( const T &  value)
inline

Definition at line 56 of file realtime_box.h.

Member Data Documentation

template<class T >
T realtime_tools::RealtimeBox< T >::thing_
private

Definition at line 70 of file realtime_box.h.

template<class T >
boost::mutex realtime_tools::RealtimeBox< T >::thing_lock_RT_
private

Definition at line 77 of file realtime_box.h.


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


realtime_tools
Author(s): Stuart Glaser
autogenerated on Mon Mar 22 2021 02:20:09