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

#include <FusedFunctorDataSource.hpp>

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

List of all members.

Public Types

typedef
boost::function_types::parameter_types
< CollectSignature >::type 
arg_types
typedef CollectType< Signature >
::type 
CollectSignature
typedef DataSource< SendStatus >
::const_reference_t 
const_reference_t
typedef SequenceFactory::type DataSourceSequence
typedef mpl::push_front
< arg_types, SendHandle
< Signature > & >::type 
handle_and_arg_types
typedef SendStatus result_type
typedef create_sequence
< handle_and_arg_types
SequenceFactory
typedef boost::intrusive_ptr
< FusedMCollectDataSource
< Signature > > 
shared_ptr
typedef result_type value_t

Public Member Functions

virtual
FusedMCollectDataSource
< Signature > * 
clone () const
virtual
FusedMCollectDataSource
< Signature > * 
copy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
 FusedMCollectDataSource (const DataSourceSequence &s, DataSource< bool >::shared_ptr blocking)
value_t get () const
const_reference_t rvalue () const
void setArguments (const DataSourceSequence &a1)
value_t value () const

Public Attributes

DataSourceSequence args
DataSource< bool >::shared_ptr isblocking
SendStatus ss

Detailed Description

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

A DataSource that collects the result of an asynchronous method which store its results in other data sources. The result type of this data source is a SendStatus.

Parameters:
Signatureis the signature of the collect function, not of the original send function.

Definition at line 398 of file FusedFunctorDataSource.hpp.


Member Typedef Documentation

template<typename Signature>
typedef boost::function_types::parameter_types<CollectSignature>::type RTT::internal::FusedMCollectDataSource< Signature >::arg_types

Definition at line 406 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef CollectType<Signature>::type RTT::internal::FusedMCollectDataSource< Signature >::CollectSignature

Definition at line 405 of file FusedFunctorDataSource.hpp.

Reimplemented from RTT::internal::DataSource< SendStatus >.

Definition at line 403 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef SequenceFactory::type RTT::internal::FusedMCollectDataSource< Signature >::DataSourceSequence

Definition at line 410 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef mpl::push_front<arg_types, SendHandle<Signature>& >::type RTT::internal::FusedMCollectDataSource< Signature >::handle_and_arg_types

Definition at line 407 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef SendStatus RTT::internal::FusedMCollectDataSource< Signature >::result_type

Definition at line 401 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef create_sequence< handle_and_arg_types > RTT::internal::FusedMCollectDataSource< Signature >::SequenceFactory

Definition at line 409 of file FusedFunctorDataSource.hpp.

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

Use this type to store a pointer to a DataSourceBase.

Reimplemented from RTT::internal::DataSource< SendStatus >.

Definition at line 416 of file FusedFunctorDataSource.hpp.

template<typename Signature>
typedef result_type RTT::internal::FusedMCollectDataSource< Signature >::value_t

The bare type of T is extracted into value_t.

Reimplemented from RTT::internal::DataSource< SendStatus >.

Definition at line 402 of file FusedFunctorDataSource.hpp.


Constructor & Destructor Documentation

template<typename Signature>
RTT::internal::FusedMCollectDataSource< Signature >::FusedMCollectDataSource ( const DataSourceSequence s,
DataSource< bool >::shared_ptr  blocking 
) [inline]

Definition at line 418 of file FusedFunctorDataSource.hpp.


Member Function Documentation

template<typename Signature>
virtual FusedMCollectDataSource<Signature>* RTT::internal::FusedMCollectDataSource< 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< SendStatus >.

Definition at line 450 of file FusedFunctorDataSource.hpp.

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

Return the data as type T.

Implements RTT::internal::DataSource< SendStatus >.

Definition at line 439 of file FusedFunctorDataSource.hpp.

template<typename Signature>
const_reference_t RTT::internal::FusedMCollectDataSource< 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< SendStatus >.

Definition at line 434 of file FusedFunctorDataSource.hpp.

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

Definition at line 424 of file FusedFunctorDataSource.hpp.

template<typename Signature>
value_t RTT::internal::FusedMCollectDataSource< 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< SendStatus >.

Definition at line 429 of file FusedFunctorDataSource.hpp.


Member Data Documentation

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

Definition at line 411 of file FusedFunctorDataSource.hpp.

template<typename Signature>
DataSource<bool>::shared_ptr RTT::internal::FusedMCollectDataSource< Signature >::isblocking

Definition at line 412 of file FusedFunctorDataSource.hpp.

template<typename Signature>
SendStatus RTT::internal::FusedMCollectDataSource< Signature >::ss [mutable]

Definition at line 413 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