RTT::base::DataSourceBase Class Reference

The base class for all internal data representations. More...

#include <DataSourceBase.hpp>

Inherited by RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< T >, and RTT::internal::DataSource< T >.

List of all members.

Public Types

typedef boost::intrusive_ptr
< const DataSourceBase
const_ptr
typedef boost::intrusive_ptr
< const DataSourceBase
const_ptr
typedef boost::intrusive_ptr
< DataSourceBase
shared_ptr
typedef boost::intrusive_ptr
< DataSourceBase
shared_ptr

Public Member Functions

virtual DataSourceBaseclone () const =0
virtual DataSourceBaseclone () const =0
virtual DataSourceBasecopy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const =0
virtual DataSourceBasecopy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const =0
 DataSourceBase ()
 DataSourceBase ()
void deref () const
void deref () const
virtual bool evaluate () const =0
virtual bool evaluate () const =0
virtual shared_ptr getMember (DataSourceBase::shared_ptr member_id, DataSourceBase::shared_ptr offset)
virtual shared_ptr getMember (const std::string &member_name)
virtual shared_ptr getMember (DataSourceBase::shared_ptr member_id, DataSourceBase::shared_ptr offset)
virtual shared_ptr getMember (const std::string &member_name)
virtual std::vector< std::string > getMemberNames () const
virtual std::vector< std::string > getMemberNames () const
virtual shared_ptr getParent ()
virtual shared_ptr getParent ()
virtual void const * getRawConstPointer ()
virtual void const * getRawConstPointer ()
virtual void * getRawPointer ()
virtual void * getRawPointer ()
virtual std::string getType () const =0
virtual std::string getType () const =0
virtual const types::TypeInfogetTypeInfo () const =0
virtual const types::TypeInfogetTypeInfo () const =0
virtual std::string getTypeName () const =0
virtual std::string getTypeName () const =0
virtual bool isAssignable () const
virtual bool isAssignable () const
void ref () const
void ref () const
virtual void reset ()
virtual void reset ()
std::string toString ()
std::string toString ()
virtual bool update (DataSourceBase *other)
virtual bool update (DataSourceBase *other)
virtual ActionInterfaceupdateAction (DataSourceBase *other)
virtual ActionInterfaceupdateAction (DataSourceBase *other)
virtual void updated ()
virtual void updated ()
std::ostream & write (std::ostream &os)
std::ostream & write (std::ostream &os)

Static Public Member Functions

static const_ptr stack_const_ptr (const DataSourceBase *dsb)
static const_ptr stack_const_ptr (const DataSourceBase *dsb)
static shared_ptr stack_shared_ptr (DataSourceBase *dsb)
static shared_ptr stack_shared_ptr (DataSourceBase *dsb)

Protected Member Functions

virtual ~DataSourceBase ()
virtual ~DataSourceBase ()

Protected Attributes

os::AtomicInt refcount

Detailed Description

The base class for all internal data representations.

The internal::DataSource is an object containing Data of any type. It's interface is designed for dynamic build-up and destruction of these objects and allowing Commands, Properties etc to use them as 'storage' devices which have the dual copy() /clone() semantics (which is heavily used by the Orocos type and scripting Infrastructure).

internal::DataSource's are reference counted and must be allocated on the heap. Use DataSourceBase::shared_ptr or internal::DataSource<T>::shared_ptr to deal with cleanup of allocated DataSources. You are not allowed to delete a DataSource. If you must have the pointer of a internal::DataSource, use the .get() method of the shared_ptr class.

Once a newly created internal::DataSource is assigned to a shared_ptr, it will be deleted when that pointer goes out of scope and is not shared by other shared_ptr objects.

See also:
internal::DataSource

Definition at line 76 of file install/include/rtt/base/DataSourceBase.hpp.


Member Typedef Documentation

typedef boost::intrusive_ptr<const DataSourceBase> RTT::base::DataSourceBase::const_ptr

Use this type to store a const pointer to a DataSourceBase.

Reimplemented in RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< first_arg_t >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, and RTT::internal::AssignableDataSource< StateMachinePtr >.

Definition at line 104 of file rtt/base/DataSourceBase.hpp.

typedef boost::intrusive_ptr<const DataSourceBase> RTT::base::DataSourceBase::const_ptr

Use this type to store a const pointer to a DataSourceBase.

Reimplemented in RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< first_arg_t >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, and RTT::internal::AssignableDataSource< StateMachinePtr >.

Definition at line 104 of file install/include/rtt/base/DataSourceBase.hpp.

Use this type to store a pointer to a DataSourceBase.

Reimplemented in RTT::internal::ArrayPartDataSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::ValueDataSource< T >, RTT::internal::ConstantDataSource< T >, RTT::internal::ConstReferenceDataSource< T >, RTT::internal::ReferenceDataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::LateReferenceDataSource< T >, RTT::internal::LateConstReferenceDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::BinaryDataSource< function >, RTT::internal::UnaryDataSource< function >, RTT::internal::NArityDataSource< function >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::FusedMSendDataSource< Signature >, RTT::internal::FusedMCollectDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::OffsetDataSource, RTT::internal::OffsetPartDataSource< T >, RTT::internal::PartDataSource< T >, RTT::internal::PartDataSource< types::carray< T > >, RTT::corba::AnyDataSource, RTT::internal::ArrayPartDataSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::ValueDataSource< T >, RTT::internal::ConstantDataSource< T >, RTT::internal::ConstReferenceDataSource< T >, RTT::internal::ReferenceDataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::LateReferenceDataSource< T >, RTT::internal::LateConstReferenceDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::BinaryDataSource< function >, RTT::internal::UnaryDataSource< function >, RTT::internal::NArityDataSource< function >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::FusedMSendDataSource< Signature >, RTT::internal::FusedMCollectDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::OffsetDataSource, RTT::internal::OffsetPartDataSource< T >, RTT::internal::PartDataSource< T >, RTT::internal::PartDataSource< types::carray< T > >, RTT::corba::AnyDataSource, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< first_arg_t >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, RTT::internal::AssignableDataSource< StateMachinePtr >, RTT::internal::ValueDataSource< ProgramInterfacePtr >, RTT::internal::ValueDataSource< ProgramInterfacePtr >, RTT::internal::ValueDataSource< ds_type >, RTT::internal::ValueDataSource< ds_type >, RTT::internal::ValueDataSource< StateMachinePtr >, RTT::internal::ValueDataSource< StateMachinePtr >, RTT::internal::ReferenceDataSource< ds_type >, RTT::internal::ReferenceDataSource< ds_type >, RTT::internal::LateReferenceDataSource< ds_type >, RTT::internal::LateReferenceDataSource< ds_type >, RTT::internal::LateConstReferenceDataSource< A >, RTT::internal::LateConstReferenceDataSource< A >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< bool >, and RTT::internal::InputPortSource< bool >.

Definition at line 99 of file rtt/base/DataSourceBase.hpp.

Use this type to store a pointer to a DataSourceBase.

Reimplemented in RTT::internal::ArrayPartDataSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::ValueDataSource< T >, RTT::internal::ConstantDataSource< T >, RTT::internal::ConstReferenceDataSource< T >, RTT::internal::ReferenceDataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::LateReferenceDataSource< T >, RTT::internal::LateConstReferenceDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::BinaryDataSource< function >, RTT::internal::UnaryDataSource< function >, RTT::internal::NArityDataSource< function >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::FusedMSendDataSource< Signature >, RTT::internal::FusedMCollectDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::OffsetDataSource, RTT::internal::OffsetPartDataSource< T >, RTT::internal::PartDataSource< T >, RTT::internal::PartDataSource< types::carray< T > >, RTT::corba::AnyDataSource, RTT::internal::ArrayPartDataSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::ValueDataSource< T >, RTT::internal::ConstantDataSource< T >, RTT::internal::ConstReferenceDataSource< T >, RTT::internal::ReferenceDataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::LateReferenceDataSource< T >, RTT::internal::LateConstReferenceDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::BinaryDataSource< function >, RTT::internal::UnaryDataSource< function >, RTT::internal::NArityDataSource< function >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::FusedMSendDataSource< Signature >, RTT::internal::FusedMCollectDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::OffsetDataSource, RTT::internal::OffsetPartDataSource< T >, RTT::internal::PartDataSource< T >, RTT::internal::PartDataSource< types::carray< T > >, RTT::corba::AnyDataSource, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< first_arg_t >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, RTT::internal::AssignableDataSource< StateMachinePtr >, RTT::internal::ValueDataSource< ProgramInterfacePtr >, RTT::internal::ValueDataSource< ProgramInterfacePtr >, RTT::internal::ValueDataSource< ds_type >, RTT::internal::ValueDataSource< ds_type >, RTT::internal::ValueDataSource< StateMachinePtr >, RTT::internal::ValueDataSource< StateMachinePtr >, RTT::internal::ReferenceDataSource< ds_type >, RTT::internal::ReferenceDataSource< ds_type >, RTT::internal::LateReferenceDataSource< ds_type >, RTT::internal::LateReferenceDataSource< ds_type >, RTT::internal::LateConstReferenceDataSource< A >, RTT::internal::LateConstReferenceDataSource< A >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< bool >, and RTT::internal::InputPortSource< bool >.

Definition at line 99 of file install/include/rtt/base/DataSourceBase.hpp.


Constructor & Destructor Documentation

RTT::DataSourceBase::~DataSourceBase (  )  [protected, virtual]

the destructor is private. You are not allowed to delete this class RTT_API yourself, use a shared pointer !

Definition at line 82 of file DataSource.cpp.

RTT::DataSourceBase::DataSourceBase (  ) 

Definition at line 78 of file DataSource.cpp.

virtual RTT::base::DataSourceBase::~DataSourceBase (  )  [protected, virtual]

the destructor is private. You are not allowed to delete this class RTT_API yourself, use a shared pointer !

RTT::base::DataSourceBase::DataSourceBase (  ) 

Member Function Documentation

virtual DataSourceBase* RTT::base::DataSourceBase::clone (  )  const [pure 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.

Implemented in RTT::internal::ArrayPartDataSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::DataSourceCommand, RTT::internal::ValueDataSource< T >, RTT::internal::ConstantDataSource< T >, RTT::internal::ConstReferenceDataSource< T >, RTT::internal::ReferenceDataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::LateReferenceDataSource< T >, RTT::internal::LateConstReferenceDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::BinaryDataSource< function >, RTT::internal::UnaryDataSource< function >, RTT::internal::NArityDataSource< function >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::FusedMSendDataSource< Signature >, RTT::internal::FusedMCollectDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::OffsetDataSource, RTT::internal::OffsetPartDataSource< T >, RTT::internal::PartDataSource< T >, RTT::internal::PartDataSource< types::carray< T > >, RTT::scripting::DataSourceCondition, RTT::scripting::DataSourceTime, RTT::corba::AnyDataSource, RTT::corba::DataSourceProxy< T >, RTT::corba::ValueDataSourceProxy< T >, RTT::internal::ArrayPartDataSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::DataSourceCommand, RTT::internal::ValueDataSource< T >, RTT::internal::ConstantDataSource< T >, RTT::internal::ConstReferenceDataSource< T >, RTT::internal::ReferenceDataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::LateReferenceDataSource< T >, RTT::internal::LateConstReferenceDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::BinaryDataSource< function >, RTT::internal::UnaryDataSource< function >, RTT::internal::NArityDataSource< function >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::FusedMSendDataSource< Signature >, RTT::internal::FusedMCollectDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::OffsetDataSource, RTT::internal::OffsetPartDataSource< T >, RTT::internal::PartDataSource< T >, RTT::internal::PartDataSource< types::carray< T > >, RTT::scripting::DataSourceCondition, RTT::scripting::DataSourceTime, RTT::corba::AnyDataSource, RTT::corba::DataSourceProxy< T >, RTT::corba::ValueDataSourceProxy< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< first_arg_t >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, RTT::internal::AssignableDataSource< StateMachinePtr >, RTT::internal::ValueDataSource< ProgramInterfacePtr >, RTT::internal::ValueDataSource< ProgramInterfacePtr >, RTT::internal::ValueDataSource< ds_type >, RTT::internal::ValueDataSource< ds_type >, RTT::internal::ValueDataSource< StateMachinePtr >, RTT::internal::ValueDataSource< StateMachinePtr >, RTT::internal::ReferenceDataSource< ds_type >, RTT::internal::ReferenceDataSource< ds_type >, RTT::internal::LateReferenceDataSource< ds_type >, RTT::internal::LateReferenceDataSource< ds_type >, RTT::internal::LateConstReferenceDataSource< A >, RTT::internal::LateConstReferenceDataSource< A >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< bool >, and RTT::internal::InputPortSource< bool >.

virtual DataSourceBase* RTT::base::DataSourceBase::clone (  )  const [pure 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.

Implemented in RTT::internal::ArrayPartDataSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::DataSourceCommand, RTT::internal::ValueDataSource< T >, RTT::internal::ConstantDataSource< T >, RTT::internal::ConstReferenceDataSource< T >, RTT::internal::ReferenceDataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::LateReferenceDataSource< T >, RTT::internal::LateConstReferenceDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::BinaryDataSource< function >, RTT::internal::UnaryDataSource< function >, RTT::internal::NArityDataSource< function >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::FusedMSendDataSource< Signature >, RTT::internal::FusedMCollectDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::OffsetDataSource, RTT::internal::OffsetPartDataSource< T >, RTT::internal::PartDataSource< T >, RTT::internal::PartDataSource< types::carray< T > >, RTT::scripting::DataSourceCondition, RTT::scripting::DataSourceTime, RTT::corba::AnyDataSource, RTT::corba::DataSourceProxy< T >, RTT::corba::ValueDataSourceProxy< T >, RTT::internal::ArrayPartDataSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::DataSourceCommand, RTT::internal::ValueDataSource< T >, RTT::internal::ConstantDataSource< T >, RTT::internal::ConstReferenceDataSource< T >, RTT::internal::ReferenceDataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::LateReferenceDataSource< T >, RTT::internal::LateConstReferenceDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::BinaryDataSource< function >, RTT::internal::UnaryDataSource< function >, RTT::internal::NArityDataSource< function >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::FusedMSendDataSource< Signature >, RTT::internal::FusedMCollectDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::OffsetDataSource, RTT::internal::OffsetPartDataSource< T >, RTT::internal::PartDataSource< T >, RTT::internal::PartDataSource< types::carray< T > >, RTT::scripting::DataSourceCondition, RTT::scripting::DataSourceTime, RTT::corba::AnyDataSource, RTT::corba::DataSourceProxy< T >, RTT::corba::ValueDataSourceProxy< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< first_arg_t >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, RTT::internal::AssignableDataSource< StateMachinePtr >, RTT::internal::ValueDataSource< ProgramInterfacePtr >, RTT::internal::ValueDataSource< ProgramInterfacePtr >, RTT::internal::ValueDataSource< ds_type >, RTT::internal::ValueDataSource< ds_type >, RTT::internal::ValueDataSource< StateMachinePtr >, RTT::internal::ValueDataSource< StateMachinePtr >, RTT::internal::ReferenceDataSource< ds_type >, RTT::internal::ReferenceDataSource< ds_type >, RTT::internal::LateReferenceDataSource< ds_type >, RTT::internal::LateReferenceDataSource< ds_type >, RTT::internal::LateConstReferenceDataSource< A >, RTT::internal::LateConstReferenceDataSource< A >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< bool >, and RTT::internal::InputPortSource< bool >.

virtual DataSourceBase* RTT::base::DataSourceBase::copy ( std::map< const DataSourceBase *, DataSourceBase * > &  alreadyCloned  )  const [pure virtual]

Create a deep copy of this internal::DataSource, unless it is already cloned. Places the association (parent, clone) in alreadyCloned. If the internal::DataSource is non-copyable (for example it represents the Property of a Task ), this may be returned.

virtual DataSourceBase* RTT::base::DataSourceBase::copy ( std::map< const DataSourceBase *, DataSourceBase * > &  alreadyCloned  )  const [pure virtual]

Create a deep copy of this internal::DataSource, unless it is already cloned. Places the association (parent, clone) in alreadyCloned. If the internal::DataSource is non-copyable (for example it represents the Property of a Task ), this may be returned.

void RTT::base::DataSourceBase::deref (  )  const

Decrease the reference count by one and delete this on zero.

void RTT::DataSourceBase::deref (  )  const

Decrease the reference count by one and delete this on zero.

Definition at line 80 of file DataSource.cpp.

virtual bool RTT::base::DataSourceBase::evaluate (  )  const [pure virtual]

Force an evaluation of the DataSourceBase.

Returns:
true on successful evaluation.

Implemented in RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< first_arg_t >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< bool >, and RTT::internal::InputPortSource< bool >.

virtual bool RTT::base::DataSourceBase::evaluate (  )  const [pure virtual]

Force an evaluation of the DataSourceBase.

Returns:
true on successful evaluation.

Implemented in RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::DataObjectDataSource< T >, RTT::internal::DataSource< T >, RTT::internal::AliasDataSource< T >, RTT::internal::ActionAliasDataSource< T >, RTT::internal::ActionAliasAssignableDataSource< T >, RTT::internal::FusedFunctorDataSource< Signature, Enable >, RTT::internal::FusedFunctorDataSource< Signature, typename boost::enable_if< is_pure_reference< typename boost::function_traits< Signature >::result_type > >::type >, RTT::internal::FusedMCallDataSource< Signature >, RTT::internal::InputPortSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, RTT::internal::DataSource< first_arg_t >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< double >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< int >, RTT::internal::InputPortSource< bool >, and RTT::internal::InputPortSource< bool >.

virtual shared_ptr RTT::base::DataSourceBase::getMember ( DataSourceBase::shared_ptr  member_id,
DataSourceBase::shared_ptr  offset 
) [virtual]

Same as above, but with run-time lookup of the member to use. Also takes an optional offset argument which can be used to offset the member in memory. This is necessary when using sequences of sequences. DataSources which are a sequence/offset member themselves must override this function to let the returned member take the offset into account.

virtual shared_ptr RTT::base::DataSourceBase::getMember ( const std::string &  member_name  )  [virtual]

Get a (const) reference data source to a member of the structure of this data source. You must call getMember() in turn on the returned member to access sub-members.

Parameters:
member_name The name of the member to get access to.
Returns:
null if the member does not exist, this if member_name.empty(), and a reference data source to the member otherwise.
DataSourceBase::shared_ptr RTT::DataSourceBase::getMember ( DataSourceBase::shared_ptr  member_id,
DataSourceBase::shared_ptr  offset 
) [virtual]

Same as above, but with run-time lookup of the member to use. Also takes an optional offset argument which can be used to offset the member in memory. This is necessary when using sequences of sequences. DataSources which are a sequence/offset member themselves must override this function to let the returned member take the offset into account.

Definition at line 129 of file DataSource.cpp.

DataSourceBase::shared_ptr RTT::DataSourceBase::getMember ( const std::string &  member_name  )  [virtual]

Get a (const) reference data source to a member of the structure of this data source. You must call getMember() in turn on the returned member to access sub-members.

Parameters:
member_name The name of the member to get access to.
Returns:
null if the member does not exist, this if member_name.empty(), and a reference data source to the member otherwise.

Definition at line 123 of file DataSource.cpp.

virtual std::vector<std::string> RTT::base::DataSourceBase::getMemberNames (  )  const [virtual]

Returns the names of all members of the structure contained in this data source, or an empty list if none. If this data source is a sequence, it will not return the allowed index numbers.

vector< string > RTT::DataSourceBase::getMemberNames (  )  const [virtual]

Returns the names of all members of the structure contained in this data source, or an empty list if none. If this data source is a sequence, it will not return the allowed index numbers.

Definition at line 133 of file DataSource.cpp.

virtual shared_ptr RTT::base::DataSourceBase::getParent (  )  [virtual]

Returns the top level data source that contains the full data structure this data source refers to. Defaults to returning this.

Reimplemented in RTT::internal::OffsetPartDataSource< T >, and RTT::internal::OffsetPartDataSource< T >.

DataSourceBase::shared_ptr RTT::DataSourceBase::getParent (  )  [virtual]

Returns the top level data source that contains the full data structure this data source refers to. Defaults to returning this.

Reimplemented in RTT::internal::OffsetPartDataSource< T >, and RTT::internal::OffsetPartDataSource< T >.

Definition at line 137 of file DataSource.cpp.

virtual void const* RTT::base::DataSourceBase::getRawConstPointer (  )  [virtual]

Returns a const pointer to the sample contained in this data source, if there is any

Returns 0 otherwise

Reimplemented in RTT::internal::DataSource< T >, RTT::internal::DataSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, and RTT::internal::DataSource< first_arg_t >.

void const * RTT::DataSourceBase::getRawConstPointer (  )  [virtual]

Returns a const pointer to the sample contained in this data source, if there is any

Returns 0 otherwise

Reimplemented in RTT::internal::DataSource< T >, RTT::internal::DataSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, and RTT::internal::DataSource< first_arg_t >.

Definition at line 116 of file DataSource.cpp.

virtual void* RTT::base::DataSourceBase::getRawPointer (  )  [virtual]
void * RTT::DataSourceBase::getRawPointer (  )  [virtual]
virtual std::string RTT::base::DataSourceBase::getType (  )  const [pure virtual]

Return useful type info in a human readable format.

Implemented in RTT::internal::DataSource< T >, RTT::corba::DataSourceProxy< T >, RTT::internal::DataSource< T >, RTT::corba::DataSourceProxy< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, and RTT::internal::DataSource< first_arg_t >.

virtual std::string RTT::base::DataSourceBase::getType (  )  const [pure virtual]

Return useful type info in a human readable format.

Implemented in RTT::internal::DataSource< T >, RTT::corba::DataSourceProxy< T >, RTT::internal::DataSource< T >, RTT::corba::DataSourceProxy< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, and RTT::internal::DataSource< first_arg_t >.

virtual const types::TypeInfo* RTT::base::DataSourceBase::getTypeInfo (  )  const [pure virtual]

Return the Orocos type info object.

Implemented in RTT::internal::DataSource< T >, RTT::internal::DataSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, and RTT::internal::DataSource< first_arg_t >.

virtual const types::TypeInfo* RTT::base::DataSourceBase::getTypeInfo (  )  const [pure virtual]

Return the Orocos type info object.

Implemented in RTT::internal::DataSource< T >, RTT::internal::DataSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, and RTT::internal::DataSource< first_arg_t >.

virtual std::string RTT::base::DataSourceBase::getTypeName (  )  const [pure virtual]

Return the Orocos type name, without const, pointer or reference qualifiers.

Implemented in RTT::internal::DataSource< T >, RTT::internal::DataSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, and RTT::internal::DataSource< first_arg_t >.

virtual std::string RTT::base::DataSourceBase::getTypeName (  )  const [pure virtual]

Return the Orocos type name, without const, pointer or reference qualifiers.

Implemented in RTT::internal::DataSource< T >, RTT::internal::DataSource< T >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< ProgramInterfacePtr >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< DataSourceType >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< SendStatus >, RTT::internal::DataSource< double >, RTT::internal::DataSource< double >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< offset_type >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< SendHandle< Signature > >, RTT::internal::DataSource< A >, RTT::internal::DataSource< A >, RTT::internal::DataSource< S >, RTT::internal::DataSource< S >, RTT::internal::DataSource< int >, RTT::internal::DataSource< int >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< CORBA::Any_var >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< unsigned int >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< types::carray< T > >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< remove_cr< function::result_type >::type >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< os::TimeService::Seconds >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< arg_t >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< second_arg_t >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< ds_type >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< value_t >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< ProgramInterface * >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< bool >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< StateMachinePtr >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< boost::shared_ptr< ObjT > >, RTT::internal::DataSource< first_arg_t >, and RTT::internal::DataSource< first_arg_t >.

virtual bool RTT::base::DataSourceBase::isAssignable (  )  const [virtual]
bool RTT::DataSourceBase::isAssignable (  )  const [virtual]
void RTT::base::DataSourceBase::ref (  )  const

Increase the reference count by one.

void RTT::DataSourceBase::ref (  )  const

Increase the reference count by one.

Definition at line 79 of file DataSource.cpp.

virtual void RTT::base::DataSourceBase::reset (  )  [virtual]
void RTT::DataSourceBase::reset (  )  [virtual]
static const_ptr RTT::base::DataSourceBase::stack_const_ptr ( const DataSourceBase dsb  )  [static]

Returns a const shared_ptr to a DataSourceBase living on the stack. Make sure that the const_ptr does not outlive the stacked element.

DataSourceBase::const_ptr RTT::DataSourceBase::stack_const_ptr ( const DataSourceBase dsb  )  [static]

Returns a const shared_ptr to a DataSourceBase living on the stack. Make sure that the const_ptr does not outlive the stacked element.

Definition at line 73 of file DataSource.cpp.

static shared_ptr RTT::base::DataSourceBase::stack_shared_ptr ( DataSourceBase dsb  )  [static]

Returns a shared ptr to a DataSourceBase living on the stack. Make sure that the shared_ptr does not outlive the stacked element.

DataSourceBase::shared_ptr RTT::DataSourceBase::stack_shared_ptr ( DataSourceBase dsb  )  [static]

Returns a shared ptr to a DataSourceBase living on the stack. Make sure that the shared_ptr does not outlive the stacked element.

Definition at line 68 of file DataSource.cpp.

std::string RTT::base::DataSourceBase::toString (  ) 

Get the contents of this object as a string.

See also:
types::TypeInfo
std::string RTT::DataSourceBase::toString (  ) 

Get the contents of this object as a string.

See also:
types::TypeInfo

Definition at line 97 of file DataSource.cpp.

virtual bool RTT::base::DataSourceBase::update ( DataSourceBase other  )  [virtual]

Update the value of this internal::DataSource with the value of an other DataSource. Update does a full update of the value, adding extra information if necessary.

Precondition:
this->isAssignable() == true
Returns:
false if the DataSources are of different type OR if the contents of this internal::DataSource can not be updated.

Reimplemented in RTT::internal::AssignableDataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, and RTT::internal::AssignableDataSource< StateMachinePtr >.

bool RTT::DataSourceBase::update ( DataSourceBase other  )  [virtual]

Update the value of this internal::DataSource with the value of an other DataSource. Update does a full update of the value, adding extra information if necessary.

Precondition:
this->isAssignable() == true
Returns:
false if the DataSources are of different type OR if the contents of this internal::DataSource can not be updated.

Reimplemented in RTT::internal::AssignableDataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, and RTT::internal::AssignableDataSource< StateMachinePtr >.

Definition at line 107 of file DataSource.cpp.

virtual ActionInterface* RTT::base::DataSourceBase::updateAction ( DataSourceBase other  )  [virtual]

Generate a ActionInterface object which will update this internal::DataSource with the value of another internal::DataSource when execute()'ed.

Precondition:
this->isAssignable() == true
Returns:
zero if the internal::DataSource types do not match OR if the contents of this internal::DataSource can not be updated.

Reimplemented in RTT::internal::AssignableDataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, and RTT::internal::AssignableDataSource< StateMachinePtr >.

ActionInterface * RTT::DataSourceBase::updateAction ( DataSourceBase other  )  [virtual]

Generate a ActionInterface object which will update this internal::DataSource with the value of another internal::DataSource when execute()'ed.

Precondition:
this->isAssignable() == true
Returns:
zero if the internal::DataSource types do not match OR if the contents of this internal::DataSource can not be updated.

Reimplemented in RTT::internal::AssignableDataSource< T >, RTT::internal::AssignableDataSource< T >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< ProgramInterfacePtr >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< DataSourceType >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< int >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< types::carray< T > >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< remove_cr< boost::function_traits< Signature >::result_type >::type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< ds_type >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< value_t >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< ProgramInterface * >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< bool >, RTT::internal::AssignableDataSource< StateMachinePtr >, and RTT::internal::AssignableDataSource< StateMachinePtr >.

Definition at line 119 of file DataSource.cpp.

virtual void RTT::base::DataSourceBase::updated (  )  [virtual]
void RTT::DataSourceBase::updated (  )  [virtual]
std::ostream& RTT::base::DataSourceBase::write ( std::ostream &  os  ) 

Stream the contents of this object.

See also:
types::TypeInfo
std::ostream & RTT::DataSourceBase::write ( std::ostream &  os  ) 

Stream the contents of this object.

See also:
types::TypeInfo

Definition at line 90 of file DataSource.cpp.


Member Data Documentation

We keep the refcount ourselves. We aren't using boost::shared_ptr, because boost::intrusive_ptr is better, exactly because it can be used with refcounts that are stored in the class itself. Advantages are that the shared_ptr's for derived classes use the same refcount, which is of course very much desired, and that refcounting happens in an efficient way, which is also nice :)

Definition at line 88 of file install/include/rtt/base/DataSourceBase.hpp.


The documentation for this class 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:49:51 2013