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 DataSource< value_t >
::const_reference_t 
const_reference_t
typedef SequenceFactory::type DataSourceSequence
typedef SequenceFactory::type DataSourceSequence
typedef boost::function_traits
< Signature >::result_type 
result_type
typedef boost::function_traits
< Signature >::result_type 
result_type
typedef create_sequence
< typename
boost::function_types::parameter_types
< Signature >::type
SequenceFactory
typedef create_sequence
< typename
boost::function_types::parameter_types
< Signature >::type
SequenceFactory
typedef boost::intrusive_ptr
< FusedMCallDataSource
< Signature > > 
shared_ptr
typedef boost::intrusive_ptr
< FusedMCallDataSource
< Signature > > 
shared_ptr
typedef remove_cr< result_type >
::type 
value_t
typedef remove_cr< result_type >
::type 
value_t

Public Member Functions

virtual FusedMCallDataSource
< Signature > * 
clone () const
virtual FusedMCallDataSource
< Signature > * 
clone () const
virtual FusedMCallDataSource
< Signature > * 
copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
virtual FusedMCallDataSource
< Signature > * 
copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
bool evaluate () const
bool evaluate () const
 FusedMCallDataSource (typename base::OperationCallerBase< Signature >::shared_ptr g, const DataSourceSequence &s=DataSourceSequence())
 FusedMCallDataSource (typename base::OperationCallerBase< Signature >::shared_ptr g, const DataSourceSequence &s=DataSourceSequence())
value_t get () const
value_t get () const
const_reference_t rvalue () const
const_reference_t rvalue () const
void setArguments (const DataSourceSequence &a1)
void setArguments (const DataSourceSequence &a1)
value_t value () const
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 236 of file install/include/rtt/internal/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 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 246 of file rtt/internal/FusedFunctorDataSource.hpp.

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

Definition at line 241 of file rtt/internal/FusedFunctorDataSource.hpp.

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

Definition at line 245 of file rtt/internal/FusedFunctorDataSource.hpp.

template<typename Signature>
typedef create_sequence< typename boost::function_types::parameter_types<Signature>::type> RTT::internal::FusedMCallDataSource< Signature >::SequenceFactory
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 252 of file rtt/internal/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 252 of file install/include/rtt/internal/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 242 of file rtt/internal/FusedFunctorDataSource.hpp.

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

Constructor & Destructor Documentation

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

Definition at line 254 of file rtt/internal/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 296 of file rtt/internal/FusedFunctorDataSource.hpp.

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 296 of file install/include/rtt/internal/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>
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 275 of file rtt/internal/FusedFunctorDataSource.hpp.

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 275 of file install/include/rtt/internal/FusedFunctorDataSource.hpp.

template<typename Signature>
value_t RTT::internal::FusedMCallDataSource< Signature >::get (  )  const [inline, virtual]
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 270 of file rtt/internal/FusedFunctorDataSource.hpp.

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 270 of file install/include/rtt/internal/FusedFunctorDataSource.hpp.

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

Definition at line 260 of file rtt/internal/FusedFunctorDataSource.hpp.

template<typename Signature>
void RTT::internal::FusedMCallDataSource< Signature >::setArguments ( const DataSourceSequence a1  )  [inline]
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 265 of file rtt/internal/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 265 of file install/include/rtt/internal/FusedFunctorDataSource.hpp.


Member Data Documentation

template<typename Signature>
DataSourceSequence RTT::internal::FusedMCallDataSource< Signature >::args
template<typename Signature>
base::OperationCallerBase< Signature >::shared_ptr RTT::internal::FusedMCallDataSource< Signature >::ff
template<typename Signature>
RStore< result_type > RTT::internal::FusedMCallDataSource< Signature >::ret [mutable]

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:01 2013