Orocos Real-Time Toolkit  2.8.3
Public Member Functions | Protected Attributes | List of all members
RTT::scripting::SendHandleAlias Class Reference

Keeps track of a DataSource which has a SendHandle and the factory for creating the collect functions associated with that handle. More...

#include <rtt/scripting/SendHandleAlias.hpp>

Inheritance diagram for RTT::scripting::SendHandleAlias:
RTT::base::AttributeBase

Public Member Functions

 SendHandleAlias (const std::string &name, base::DataSourceBase::shared_ptr d, OperationInterfacePart *opf)
 
base::DataSourceBase::shared_ptr getDataSource () const
 Return a internal::DataSource which contains the same contents. More...
 
OperationInterfacePartgetFactory () const
 
SendHandleAliasclone () const
 Returns a clone of this AttributeBase. More...
 
SendHandleAliascopy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &replacements, bool)
 Returns a copy of this AttributeBase. More...
 
const std::string & getName () const
 Get the name of this instance. More...
 
void setName (std::string const &new_name)
 Get the name of this instance. More...
 
bool ready () const
 Returns true if the Attribute was correctly initialised. More...
 

Protected Attributes

std::string mname
 

Detailed Description

Keeps track of a DataSource which has a SendHandle and the factory for creating the collect functions associated with that handle.

Definition at line 54 of file SendHandleAlias.hpp.

Constructor & Destructor Documentation

RTT::SendHandleAlias::SendHandleAlias ( const std::string &  name,
base::DataSourceBase::shared_ptr  d,
OperationInterfacePart opf 
)

Definition at line 45 of file SendHandleAlias.cpp.

Referenced by clone(), and copy().

Member Function Documentation

SendHandleAlias * RTT::SendHandleAlias::clone ( ) const
virtual

Returns a clone of this AttributeBase.

Implements RTT::base::AttributeBase.

Definition at line 62 of file SendHandleAlias.cpp.

References RTT::base::AttributeBase::mname, and SendHandleAlias().

SendHandleAlias * RTT::SendHandleAlias::copy ( std::map< const base::DataSourceBase *, base::DataSourceBase * > &  replacements,
bool  instantiate 
)
virtual

Returns a copy of this AttributeBase.

Uses the given replacements to copy held DataSources.

Parameters
instantiateSet to true to get a copy which will return itself on any future copy request.

Implements RTT::base::AttributeBase.

Definition at line 66 of file SendHandleAlias.cpp.

References RTT::base::AttributeBase::mname, and SendHandleAlias().

base::DataSourceBase::shared_ptr RTT::SendHandleAlias::getDataSource ( ) const
virtual

Return a internal::DataSource which contains the same contents.

Implements RTT::base::AttributeBase.

Definition at line 52 of file SendHandleAlias.cpp.

Referenced by RTT::scripting::DataCallParser::DataCallParser().

OperationInterfacePart * RTT::SendHandleAlias::getFactory ( ) const

Definition at line 57 of file SendHandleAlias.cpp.

Referenced by RTT::scripting::DataCallParser::DataCallParser().

const std::string & RTT::AttributeBase::getName ( ) const
inherited
bool RTT::base::AttributeBase::ready ( ) const
inlineinherited

Returns true if the Attribute was correctly initialised.

Definition at line 89 of file AttributeBase.hpp.

Referenced by RTT::ConfigurationInterface::addAttribute(), and RTT::ConfigurationInterface::addConstant().

void RTT::AttributeBase::setName ( std::string const &  new_name)
inherited

Member Data Documentation

std::string RTT::base::AttributeBase::mname
protectedinherited

The documentation for this class was generated from the following files: