RTT::internal::RStore< T > Struct Template Reference

#include <BindStorage.hpp>

List of all members.

Public Member Functions

template<class F >
void exec (F f)
template<class F >
void exec (F f)
bool isExecuted () const
bool isExecuted () const
 operator T & ()
 operator T & ()
T & result ()
T & result ()
 RStore ()
 RStore ()

Public Attributes

arg
bool executed

Detailed Description

template<class T>
struct RTT::internal::RStore< T >

Store a return value which may be a void, reference, const reference or any other type. We need these specialisations because the collection of the results will be different if R is non-void or poid (appears as first arg of collect() or not respectively). So RStore is the only instance that knows if a return value was stored or not.

Definition at line 99 of file install/include/rtt/internal/BindStorage.hpp.


Constructor & Destructor Documentation

template<class T>
RTT::internal::RStore< T >::RStore (  )  [inline]
template<class T>
RTT::internal::RStore< T >::RStore (  )  [inline]

Definition at line 102 of file rtt/internal/BindStorage.hpp.


Member Function Documentation

template<class T>
template<class F >
void RTT::internal::RStore< T >::exec ( f  )  [inline]

Stores the result of a function. The RStore<void> specialisation will not store anything, and just call f().

Parameters:
f The function object to execute and store the results from

Definition at line 120 of file rtt/internal/BindStorage.hpp.

template<class T>
template<class F >
void RTT::internal::RStore< T >::exec ( f  )  [inline]

Stores the result of a function. The RStore<void> specialisation will not store anything, and just call f().

Parameters:
f The function object to execute and store the results from

Definition at line 120 of file install/include/rtt/internal/BindStorage.hpp.

template<class T>
bool RTT::internal::RStore< T >::isExecuted (  )  const [inline]

Definition at line 104 of file rtt/internal/BindStorage.hpp.

template<class T>
bool RTT::internal::RStore< T >::isExecuted (  )  const [inline]
template<class T>
RTT::internal::RStore< T >::operator T & (  )  [inline]

Definition at line 111 of file rtt/internal/BindStorage.hpp.

template<class T>
RTT::internal::RStore< T >::operator T & (  )  [inline]
template<class T>
T& RTT::internal::RStore< T >::result (  )  [inline]

Definition at line 110 of file rtt/internal/BindStorage.hpp.

template<class T>
T& RTT::internal::RStore< T >::result (  )  [inline]

Member Data Documentation

template<class T>
T RTT::internal::RStore< T >::arg
template<class T>
bool RTT::internal::RStore< T >::executed

The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:50:06 2013