Public Member Functions | Private Attributes | List of all members
RTT::scripting::CommandString Class Reference

This command displays a string when executed. More...

#include <CommandString.hpp>

Inheritance diagram for RTT::scripting::CommandString:
Inheritance graph

Public Member Functions

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

Private Attributes

std::string command

Additional Inherited Members

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

Detailed Description

This command displays a string when executed.

Remove this low-level class since it's nowhere used.

Definition at line 52 of file CommandString.hpp.

Constructor & Destructor Documentation

RTT::CommandString::CommandString ( std::string  s)

Definition at line 43 of file CommandString.cpp.

virtual RTT::scripting::CommandString::~CommandString ( )

Definition at line 59 of file CommandString.hpp.

Member Function Documentation

virtual base::ActionInterface* RTT::scripting::CommandString::clone ( ) const

The Clone Software Pattern.

Implements RTT::base::ActionInterface.

Definition at line 66 of file CommandString.hpp.

bool RTT::CommandString::execute ( )

Execute the functionality of this action.

true if the action was accepted, false otherwise

Implements RTT::base::ActionInterface.

Definition at line 48 of file CommandString.cpp.

virtual void RTT::scripting::CommandString::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 62 of file CommandString.hpp.

Member Data Documentation

std::string RTT::scripting::CommandString::command

Definition at line 72 of file CommandString.hpp.

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

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