Public Types | Public Member Functions | Public Attributes | List of all members
RTT::scripting::ConditionFunction Class Reference

#include <CommandFunctors.hpp>

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

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. More...
 
- Public Member Functions inherited from RTT::scripting::ConditionInterface
virtual ConditionInterfacecopy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
 
virtual void reset ()
 
virtual ~ConditionInterface ()
 

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
inlinevirtual

The Clone Software Pattern.

Implements RTT::scripting::ConditionInterface.

Definition at line 106 of file CommandFunctors.hpp.

virtual bool RTT::scripting::ConditionFunction::evaluate ( )
inlinevirtual

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

Function RTT::scripting::ConditionFunction::con

Definition at line 93 of file CommandFunctors.hpp.

bool RTT::scripting::ConditionFunction::minvert

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 Tue Jun 25 2019 19:33:46