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

#include <CommandFunctors.hpp>

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

List of all members.

Public Types

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

Public Member Functions

virtual ConditionFunctionclone () const
 ConditionFunction (Function impl, bool invert=false)
virtual bool evaluate ()
 Evaluate the Condition and return the outcome.

Public Attributes

Function con
bool minvert

Detailed Description

A functor with the ConditionInterface, for the case where the functor is a bool(void).

Definition at line 87 of file CommandFunctors.hpp.


Member Typedef Documentation

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

Definition at line 91 of file CommandFunctors.hpp.


Constructor & Destructor Documentation

RTT::scripting::ConditionFunction::ConditionFunction ( Function  impl,
bool  invert = false 
) [inline]

Definition at line 99 of file CommandFunctors.hpp.


Member Function Documentation

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

The Clone Software Pattern.

Implements RTT::scripting::ConditionInterface.

Definition at line 106 of file CommandFunctors.hpp.

virtual bool RTT::scripting::ConditionFunction::evaluate ( ) [inline, virtual]

Evaluate the Condition and return the outcome.

Returns:
true if the condition is satisfied, false otherwise.

Implements RTT::scripting::ConditionInterface.

Definition at line 104 of file CommandFunctors.hpp.


Member Data Documentation

Definition at line 93 of file CommandFunctors.hpp.

Definition at line 94 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