TripleBufferWithGuardAndTime< T > Struct Template Reference

#include <ArmarXSimulation/components/RobotUnitSimulation/RobotUnitSimulation.h>

Public Member Functions

std::size_t getLastWriteT () const
 
const TgetReadBuffer () const
 
TgetWriteBuffer ()
 
std::unique_lock< std::recursive_mutex > guard ()
 
bool isLastWrite1SecondAgo () const
 
void read ()
 
void reinit (const T &i)
 
 TripleBufferWithGuardAndTime (std::condition_variable *cv)
 
void write ()
 

Detailed Description

template<class T>
struct armarx::TripleBufferWithGuardAndTime< T >

Definition at line 59 of file RobotUnitSimulation.h.

Constructor & Destructor Documentation

◆ TripleBufferWithGuardAndTime()

template<class T>
TripleBufferWithGuardAndTime ( std::condition_variable * cv)
inline

Definition at line 61 of file RobotUnitSimulation.h.

Member Function Documentation

◆ getLastWriteT()

template<class T>
std::size_t getLastWriteT ( ) const
inline

Definition at line 72 of file RobotUnitSimulation.h.

◆ getReadBuffer()

template<class T>
const T & getReadBuffer ( ) const
inline

Definition at line 96 of file RobotUnitSimulation.h.

◆ getWriteBuffer()

template<class T>
T & getWriteBuffer ( )
inline

Definition at line 90 of file RobotUnitSimulation.h.

◆ guard()

template<class T>
std::unique_lock< std::recursive_mutex > guard ( )
inline

Definition at line 66 of file RobotUnitSimulation.h.

+ Here is the caller graph for this function:

◆ isLastWrite1SecondAgo()

template<class T>
bool isLastWrite1SecondAgo ( ) const
inline

Definition at line 78 of file RobotUnitSimulation.h.

+ Here is the call graph for this function:

◆ read()

template<class T>
void read ( )
inline

Definition at line 111 of file RobotUnitSimulation.h.

◆ reinit()

template<class T>
void reinit ( const T & i)
inline

Definition at line 84 of file RobotUnitSimulation.h.

◆ write()

template<class T>
void write ( )
inline

Definition at line 102 of file RobotUnitSimulation.h.

+ Here is the call graph for this function:

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