Orocos Real-Time Toolkit  2.8.3
Public Member Functions | Public Attributes | List of all members
RTT::internal::RStore< const T > Struct Template Reference

#include <rtt/internal/BindStorage.hpp>

Inheritance diagram for RTT::internal::RStore< const T >:
RTT::internal::RStore< void >

Public Member Functions

 RStore ()
 
T & result ()
 
 operator T & ()
 
template<class F >
void exec (F f)
 Stores the result of a function. More...
 
void checkError () const
 
bool isError () const
 
bool isExecuted () const
 

Public Attributes

arg
 
bool executed
 
bool error
 

Detailed Description

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

Definition at line 195 of file BindStorage.hpp.

Constructor & Destructor Documentation

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

Definition at line 197 of file BindStorage.hpp.

Member Function Documentation

void RTT::internal::RStore< void >::checkError ( ) const
inlineinherited
template<class T >
template<class F >
void RTT::internal::RStore< const 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

Definition at line 209 of file BindStorage.hpp.

References RTT::Error.

bool RTT::internal::RStore< void >::isError ( ) const
inlineinherited
bool RTT::internal::RStore< void >::isExecuted ( ) const
inlineinherited

Definition at line 107 of file BindStorage.hpp.

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

Definition at line 200 of file BindStorage.hpp.

References RTT::internal::AStore< T >::arg.

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

Definition at line 199 of file BindStorage.hpp.

References RTT::internal::AStore< T >::arg.

Member Data Documentation

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

Definition at line 196 of file BindStorage.hpp.

bool RTT::internal::RStore< void >::error
inherited

Definition at line 96 of file BindStorage.hpp.

bool RTT::internal::RStore< void >::executed
inherited

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