Public Member Functions | Public Attributes
RTT::internal::RStore< T > Struct Template Reference

#include <BindStorage.hpp>

Inheritance diagram for RTT::internal::RStore< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

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

Public Attributes

arg

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 137 of file BindStorage.hpp.


Constructor & Destructor Documentation

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

Reimplemented from RTT::internal::RStore< void >.

Definition at line 139 of file 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:
fThe function object to execute and store the results from

Reimplemented from RTT::internal::RStore< void >.

Definition at line 151 of file BindStorage.hpp.

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

Definition at line 142 of file BindStorage.hpp.

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

Reimplemented from RTT::internal::RStore< void >.

Definition at line 141 of file BindStorage.hpp.


Member Data Documentation

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

Definition at line 138 of file BindStorage.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Mon Oct 6 2014 03:13:59