Public Types | Public Member Functions | Public Attributes
RTT::scripting::CommandFunction Class Reference

#include <CommandFunctors.hpp>

Inheritance diagram for RTT::scripting::CommandFunction:
Inheritance graph
[legend]

List of all members.

Public Types

typedef boost::function< bool(void)> Function

Public Member Functions

virtual CommandFunctionclone () const
 CommandFunction (Function impl)
virtual bool execute ()
virtual void readArguments ()

Public Attributes

Function com

Detailed Description

A functor with the base::ActionInterface, for the case where the functor is a bool(void).

Definition at line 57 of file CommandFunctors.hpp.


Member Typedef Documentation

typedef boost::function<bool(void)> RTT::scripting::CommandFunction::Function

Definition at line 61 of file CommandFunctors.hpp.


Constructor & Destructor Documentation

Definition at line 68 of file CommandFunctors.hpp.


Member Function Documentation

virtual CommandFunction* RTT::scripting::CommandFunction::clone ( ) const [inline, virtual]

The Clone Software Pattern.

Implements RTT::base::ActionInterface.

Definition at line 77 of file CommandFunctors.hpp.

virtual bool RTT::scripting::CommandFunction::execute ( ) [inline, virtual]

Execute the functionality of this action.

Returns:
true if the action was accepted, false otherwise

Implements RTT::base::ActionInterface.

Definition at line 75 of file CommandFunctors.hpp.

virtual void RTT::scripting::CommandFunction::readArguments ( ) [inline, virtual]

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 73 of file CommandFunctors.hpp.


Member Data Documentation

Definition at line 63 of file CommandFunctors.hpp.


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


rtt
Author(s): RTT Developers
autogenerated on Mon Oct 6 2014 03:14:00