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

#include <FusedFunctorDataSource.hpp>

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

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_typesSequenceFactory
 
typedef boost::intrusive_ptr< FusedMCollectDataSource< Signature > > shared_ptr
 
typedef result_type value_t
 
- Public Types inherited from RTT::internal::DataSource< SendStatus >
typedef boost::intrusive_ptr< const DataSource< SendStatus > > const_ptr
 
typedef details::GetConstRef< SendStatus >::type const_reference_t
 
typedef SendStatus result_t
 
typedef boost::intrusive_ptr< DataSource< SendStatus > > shared_ptr
 
typedef SendStatus value_t
 
- Public Types inherited from RTT::base::DataSourceBase
typedef boost::intrusive_ptr< const DataSourceBaseconst_ptr
 
typedef boost::intrusive_ptr< DataSourceBaseshared_ptr
 

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 Member Functions inherited from RTT::internal::DataSource< SendStatus >
 BOOST_STATIC_ASSERT (!details::HasConst< SendStatus >::value)
 
virtual bool evaluate () const
 
void const * getRawConstPointer ()
 
virtual std::string getType () const
 
virtual const types::TypeInfogetTypeInfo () const
 
virtual std::string getTypeName () const
 
- Public Member Functions inherited from RTT::base::DataSourceBase
virtual DataSourceBasecopy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const =0
 
 DataSourceBase ()
 
void deref () const
 
virtual shared_ptr getMember (const std::string &member_name)
 
virtual shared_ptr getMember (DataSourceBase::shared_ptr member_id, DataSourceBase::shared_ptr offset)
 
virtual std::vector< std::string > getMemberNames () const
 
virtual shared_ptr getParent ()
 
virtual void * getRawPointer ()
 
virtual bool isAssignable () const
 
void ref () const
 
virtual void reset ()
 
std::string toString ()
 
virtual bool update (DataSourceBase *other)
 
virtual ActionInterfaceupdateAction (DataSourceBase *other)
 
virtual void updated ()
 
std::ostream & write (std::ostream &os)
 

Public Attributes

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

Additional Inherited Members

- Static Public Member Functions inherited from RTT::internal::DataSource< SendStatus >
static std::string GetType ()
 
static const types::TypeInfoGetTypeInfo ()
 
static std::string GetTypeName ()
 
static DataSource< SendStatus > * narrow (base::DataSourceBase *db)
 
- Static Public Member Functions inherited from RTT::base::DataSourceBase
static const_ptr stack_const_ptr (const DataSourceBase *dsb)
 
static shared_ptr stack_shared_ptr (DataSourceBase *dsb)
 
- Protected Member Functions inherited from RTT::internal::DataSource< SendStatus >
virtual ~DataSource ()
 
- Protected Member Functions inherited from RTT::base::DataSourceBase
virtual ~DataSourceBase ()
 
- Protected Attributes inherited from RTT::base::DataSourceBase
os::AtomicInt refcount
 

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 427 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 435 of file FusedFunctorDataSource.hpp.

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

Definition at line 434 of file FusedFunctorDataSource.hpp.

Definition at line 432 of file FusedFunctorDataSource.hpp.

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

Definition at line 439 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 436 of file FusedFunctorDataSource.hpp.

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

Definition at line 430 of file FusedFunctorDataSource.hpp.

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

Definition at line 438 of file FusedFunctorDataSource.hpp.

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

Definition at line 445 of file FusedFunctorDataSource.hpp.

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

Definition at line 431 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 447 of file FusedFunctorDataSource.hpp.

Member Function Documentation

template<typename Signature>
virtual FusedMCollectDataSource<Signature>* RTT::internal::FusedMCollectDataSource< Signature >::clone ( ) const
inlinevirtual

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 479 of file FusedFunctorDataSource.hpp.

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

Return the data as type T.

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

Definition at line 468 of file FusedFunctorDataSource.hpp.

template<typename Signature>
const_reference_t RTT::internal::FusedMCollectDataSource< Signature >::rvalue ( ) const
inlinevirtual

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 463 of file FusedFunctorDataSource.hpp.

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

Definition at line 453 of file FusedFunctorDataSource.hpp.

template<typename Signature>
value_t RTT::internal::FusedMCollectDataSource< Signature >::value ( ) const
inlinevirtual

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 458 of file FusedFunctorDataSource.hpp.

Member Data Documentation

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

Definition at line 440 of file FusedFunctorDataSource.hpp.

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

Definition at line 441 of file FusedFunctorDataSource.hpp.

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

Definition at line 442 of file FusedFunctorDataSource.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:47