Public Types | Public Member Functions | Public Attributes
RTT::internal::FusedMCallDataSource< Signature > Struct Template Reference

#include <FusedFunctorDataSource.hpp>

Inheritance diagram for RTT::internal::FusedMCallDataSource< Signature >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef DataSource< value_t >
::const_reference_t 
const_reference_t
typedef SequenceFactory::type DataSourceSequence
typedef boost::function_traits
< Signature >::result_type 
result_type
typedef create_sequence
< typename
boost::function_types::parameter_types
< Signature >::type > 
SequenceFactory
typedef boost::intrusive_ptr
< FusedMCallDataSource
< Signature > > 
shared_ptr
typedef remove_cr< result_type >
::type 
value_t

Public Member Functions

virtual FusedMCallDataSource
< Signature > * 
clone () const
virtual FusedMCallDataSource
< Signature > * 
copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
bool evaluate () const
 FusedMCallDataSource (typename base::OperationCallerBase< Signature >::shared_ptr g, const DataSourceSequence &s=DataSourceSequence())
value_t get () const
const_reference_t rvalue () const
void setArguments (const DataSourceSequence &a1)
value_t value () const

Public Attributes

DataSourceSequence args
base::OperationCallerBase
< Signature >::shared_ptr 
ff
RStore< result_typeret

Detailed Description

template<typename Signature>
struct RTT::internal::FusedMCallDataSource< Signature >

A DataSource that calls a method which gets its arguments from other data sources. The result type of this data source is the result type of the called function.

Definition at line 252 of file FusedFunctorDataSource.hpp.


Member Typedef Documentation

template<typename Signature>
typedef DataSource<value_t>::const_reference_t RTT::internal::FusedMCallDataSource< Signature >::const_reference_t
template<typename Signature>
typedef SequenceFactory::type RTT::internal::FusedMCallDataSource< Signature >::DataSourceSequence

Definition at line 262 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef boost::function_traits<Signature>::result_type RTT::internal::FusedMCallDataSource< Signature >::result_type

Definition at line 257 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef create_sequence< typename boost::function_types::parameter_types<Signature>::type> RTT::internal::FusedMCallDataSource< Signature >::SequenceFactory

Definition at line 261 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef boost::intrusive_ptr<FusedMCallDataSource<Signature> > RTT::internal::FusedMCallDataSource< Signature >::shared_ptr

Use this type to store a pointer to a DataSourceBase.

Reimplemented from RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >.

Definition at line 268 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef remove_cr<result_type>::type RTT::internal::FusedMCallDataSource< Signature >::value_t

The bare type of T is extracted into value_t.

Reimplemented from RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >.

Definition at line 258 of file FusedFunctorDataSource.hpp.


Constructor & Destructor Documentation

template<typename Signature>
RTT::internal::FusedMCallDataSource< Signature >::FusedMCallDataSource ( typename base::OperationCallerBase< Signature >::shared_ptr  g,
const DataSourceSequence s = DataSourceSequence() 
) [inline]

Definition at line 270 of file FusedFunctorDataSource.hpp.


Member Function Documentation

template<typename Signature>
virtual FusedMCallDataSource<Signature>* RTT::internal::FusedMCallDataSource< Signature >::clone ( ) const [inline, virtual]

Return a shallow clone of this DataSource. This method returns a duplicate of this instance which re-uses the DataSources this internal::DataSource holds reference to. The clone() function is thus a non-deep copy.

Implements RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >.

Definition at line 316 of file FusedFunctorDataSource.hpp.

template<typename Signature>
virtual FusedMCallDataSource<Signature>* RTT::internal::FusedMCallDataSource< Signature >::copy ( std::map< const base::DataSourceBase *, base::DataSourceBase * > &  alreadyCloned) const [inline, virtual]
template<typename Signature>
bool RTT::internal::FusedMCallDataSource< Signature >::evaluate ( ) const [inline, virtual]

Force an evaluation of the DataSourceBase.

Returns:
true on successful evaluation.

Reimplemented from RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >.

Definition at line 291 of file FusedFunctorDataSource.hpp.

template<typename Signature>
value_t RTT::internal::FusedMCallDataSource< Signature >::get ( ) const [inline, virtual]
template<typename Signature>
const_reference_t RTT::internal::FusedMCallDataSource< Signature >::rvalue ( ) const [inline, virtual]

Get a const reference to the value of this DataSource. You must call evaluate() prior to calling this function in order to get the most recent value of this attribute.

Note:
Getting a reference to an internal data structure is not thread-safe.

Implements RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >.

Definition at line 286 of file FusedFunctorDataSource.hpp.

template<typename Signature>
void RTT::internal::FusedMCallDataSource< Signature >::setArguments ( const DataSourceSequence a1) [inline]

Definition at line 276 of file FusedFunctorDataSource.hpp.

template<typename Signature>
value_t RTT::internal::FusedMCallDataSource< Signature >::value ( ) const [inline, virtual]

Return the result of the last evaluate() function. You must call evaluate() prior to calling this function in order to get the most recent value of this attribute.

Implements RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >.

Definition at line 281 of file FusedFunctorDataSource.hpp.


Member Data Documentation

template<typename Signature>
DataSourceSequence RTT::internal::FusedMCallDataSource< Signature >::args

Definition at line 264 of file FusedFunctorDataSource.hpp.

template<typename Signature>
base::OperationCallerBase<Signature>::shared_ptr RTT::internal::FusedMCallDataSource< Signature >::ff

Definition at line 263 of file FusedFunctorDataSource.hpp.

template<typename Signature>
RStore<result_type> RTT::internal::FusedMCallDataSource< Signature >::ret [mutable]

Definition at line 265 of file FusedFunctorDataSource.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Wed Aug 26 2015 16:16:24