Public Types | Public Member Functions | Private Attributes | List of all members
RTT::CmdFunctionWrapper Class Reference
Inheritance diagram for RTT::CmdFunctionWrapper:
Inheritance graph
[legend]

Public Types

typedef boost::intrusive_ptr< CmdFunctionWrappershared_ptr
 
- 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 CmdFunctionWrapperclone () const
 
 CmdFunctionWrapper (DataSource< SendStatus > *ds)
 
virtual CmdFunctionWrappercopy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
 
bool evaluate () const
 
DataSource< SendStatus >::result_t get () const
 
virtual void reset ()
 
DataSource< SendStatus >::const_reference_t rvalue () const
 
DataSource< SendStatus >::result_t value () const
 
 ~CmdFunctionWrapper ()
 
- Public Member Functions inherited from RTT::internal::DataSource< SendStatus >
 BOOST_STATIC_ASSERT (!details::HasConst< SendStatus >::value)
 
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
 
std::string toString ()
 
virtual bool update (DataSourceBase *other)
 
virtual ActionInterfaceupdateAction (DataSourceBase *other)
 
virtual void updated ()
 
std::ostream & write (std::ostream &os)
 

Private Attributes

DataSource< SendStatus >::shared_ptr alias
 

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

Definition at line 65 of file FunctionFactory.cpp.

Member Typedef Documentation

Definition at line 70 of file FunctionFactory.cpp.

Constructor & Destructor Documentation

RTT::CmdFunctionWrapper::CmdFunctionWrapper ( DataSource< SendStatus > *  ds)
inline

Definition at line 72 of file FunctionFactory.cpp.

RTT::CmdFunctionWrapper::~CmdFunctionWrapper ( )
inline

Definition at line 76 of file FunctionFactory.cpp.

Member Function Documentation

virtual CmdFunctionWrapper* RTT::CmdFunctionWrapper::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 99 of file FunctionFactory.cpp.

virtual CmdFunctionWrapper* RTT::CmdFunctionWrapper::copy ( std::map< const base::DataSourceBase *, base::DataSourceBase * > &  alreadyCloned) const
inlinevirtual

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

Definition at line 102 of file FunctionFactory.cpp.

bool RTT::CmdFunctionWrapper::evaluate ( ) const
inlinevirtual

Force an evaluation of the DataSourceBase.

Returns
true on successful evaluation.

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

Definition at line 78 of file FunctionFactory.cpp.

DataSource<SendStatus>::result_t RTT::CmdFunctionWrapper::get ( ) const
inlinevirtual

Return the data as type T.

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

Definition at line 82 of file FunctionFactory.cpp.

virtual void RTT::CmdFunctionWrapper::reset ( )
inlinevirtual

Reset the data to initial values.

Reimplemented from RTT::base::DataSourceBase.

Definition at line 97 of file FunctionFactory.cpp.

DataSource<SendStatus>::const_reference_t RTT::CmdFunctionWrapper::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 92 of file FunctionFactory.cpp.

DataSource<SendStatus>::result_t RTT::CmdFunctionWrapper::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 87 of file FunctionFactory.cpp.

Member Data Documentation

DataSource<SendStatus>::shared_ptr RTT::CmdFunctionWrapper::alias
private

Definition at line 68 of file FunctionFactory.cpp.


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


rtt
Author(s): RTT Developers
autogenerated on Tue Jun 25 2019 19:33:41