Public Member Functions | Public Attributes | List of all members
RTT::scripting::CommandDataSourceBool Struct Reference

#include <CommandDataSource.hpp>

Inheritance diagram for RTT::scripting::CommandDataSourceBool:
Inheritance graph

Public Member Functions

base::ActionInterfaceclone () const
 CommandDataSourceBool (internal::DataSource< bool >::shared_ptr dsb)
base::ActionInterfacecopy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
bool execute ()
void readArguments ()
void reset ()
- Public Member Functions inherited from RTT::base::ActionInterface
virtual ActionInterfacecopy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const
virtual bool valid () const
virtual ~ActionInterface ()

Public Attributes

internal::DataSource< bool >::shared_ptr _dsb

Additional Inherited Members

- Public Types inherited from RTT::base::ActionInterface
typedef boost::shared_ptr< ActionInterfaceshared_ptr

Detailed Description

A Command which evaluates a internal::DataSource<bool> and returns the result of get().

Definition at line 84 of file CommandDataSource.hpp.

Constructor & Destructor Documentation

RTT::scripting::CommandDataSourceBool::CommandDataSourceBool ( internal::DataSource< bool >::shared_ptr  dsb)

Definition at line 88 of file CommandDataSource.hpp.

Member Function Documentation

base::ActionInterface* RTT::scripting::CommandDataSourceBool::clone ( ) const

The Clone Software Pattern.

Implements RTT::base::ActionInterface.

Definition at line 102 of file CommandDataSource.hpp.

base::ActionInterface* RTT::scripting::CommandDataSourceBool::copy ( std::map< const base::DataSourceBase *, base::DataSourceBase * > &  alreadyCloned) const

Definition at line 106 of file CommandDataSource.hpp.

bool RTT::scripting::CommandDataSourceBool::execute ( )

Execute the functionality of this action.

true if the action was accepted, false otherwise

Implements RTT::base::ActionInterface.

Definition at line 95 of file CommandDataSource.hpp.

void RTT::scripting::CommandDataSourceBool::readArguments ( )

This is invoked some time before execute() at a time when the action may read its function arguments.

Implements RTT::base::ActionInterface.

Definition at line 91 of file CommandDataSource.hpp.

void RTT::scripting::CommandDataSourceBool::reset ( )

Reset this action. Must be used after execute() failed.

Reimplemented from RTT::base::ActionInterface.

Definition at line 99 of file CommandDataSource.hpp.

Member Data Documentation

internal::DataSource<bool>::shared_ptr RTT::scripting::CommandDataSourceBool::_dsb

Definition at line 87 of file CommandDataSource.hpp.

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

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