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
typedef boost::function< bool(void)> Function

Public Member Functions

virtual ConditionFunctionclone () const
virtual ConditionFunctionclone () const
 ConditionFunction (Function impl, bool invert=false)
 ConditionFunction (Function impl, bool invert=false)
virtual bool evaluate ()
 Evaluate the Condition and return the outcome.
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 84 of file install/include/rtt/scripting/CommandFunctors.hpp.


Member Typedef Documentation

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

Definition at line 88 of file rtt/scripting/CommandFunctors.hpp.

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

Constructor & Destructor Documentation

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

Definition at line 96 of file rtt/scripting/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 103 of file rtt/scripting/CommandFunctors.hpp.

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

The Clone Software Pattern.

Implements RTT::scripting::ConditionInterface.

Definition at line 103 of file install/include/rtt/scripting/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 101 of file rtt/scripting/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 101 of file install/include/rtt/scripting/CommandFunctors.hpp.


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Jan 11 09:50:13 2013