Public Member Functions | Private Member Functions | Private Attributes
realtime_tools::RealtimeBuffer< T > Class Template Reference

#include <realtime_buffer.h>

List of all members.

Public Member Functions

void initRT (const T &data)
RealtimeBufferoperator= (const RealtimeBuffer &source)
 Custom assignment operator.
T * readFromNonRT () const
T * readFromRT ()
 RealtimeBuffer ()
 RealtimeBuffer (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_

Detailed Description

template<class T>
class realtime_tools::RealtimeBuffer< T >

Definition at line 48 of file realtime_buffer.h.


Constructor & Destructor Documentation

template<class T >
realtime_tools::RealtimeBuffer< T >::RealtimeBuffer ( ) [inline]

Definition at line 51 of file realtime_buffer.h.

template<class T >
realtime_tools::RealtimeBuffer< T >::~RealtimeBuffer ( ) [inline]

Definition at line 59 of file realtime_buffer.h.

template<class T >
realtime_tools::RealtimeBuffer< T >::RealtimeBuffer ( RealtimeBuffer< T > &  source) [inline]

Definition at line 67 of file realtime_buffer.h.


Member Function Documentation

template<class T >
void realtime_tools::RealtimeBuffer< T >::initRT ( const T &  data) [inline]

Definition at line 132 of file realtime_buffer.h.

template<class T >
void realtime_tools::RealtimeBuffer< T >::lock ( ) [inline, private]

Definition at line 139 of file realtime_buffer.h.

template<class T >
RealtimeBuffer& realtime_tools::RealtimeBuffer< T >::operator= ( const RealtimeBuffer< T > &  source) [inline]

Custom assignment operator.

Definition at line 80 of file realtime_buffer.h.

template<class T >
T* realtime_tools::RealtimeBuffer< T >::readFromNonRT ( ) const [inline]

Definition at line 109 of file realtime_buffer.h.

template<class T >
T* realtime_tools::RealtimeBuffer< T >::readFromRT ( ) [inline]

Definition at line 91 of file realtime_buffer.h.

template<class T >
void realtime_tools::RealtimeBuffer< T >::writeFromNonRT ( const T &  data) [inline]

Definition at line 119 of file realtime_buffer.h.


Member Data Documentation

template<class T >
boost::mutex realtime_tools::RealtimeBuffer< T >::mutex_ [mutable, private]

Definition at line 154 of file realtime_buffer.h.

template<class T >
bool realtime_tools::RealtimeBuffer< T >::new_data_available_ [private]

Definition at line 151 of file realtime_buffer.h.

template<class T >
T* realtime_tools::RealtimeBuffer< T >::non_realtime_data_ [private]

Definition at line 150 of file realtime_buffer.h.

template<class T >
T* realtime_tools::RealtimeBuffer< T >::realtime_data_ [private]

Definition at line 149 of file realtime_buffer.h.


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


realtime_tools
Author(s): Stuart Glaser
autogenerated on Fri Feb 12 2016 00:05:42