RTT::scripting::EvalCommand Class Reference

#include <TryCommand.hpp>

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

List of all members.

Public Member Functions

internal::AssignableDataSource
< bool >::shared_ptr 
cache ()
internal::AssignableDataSource
< bool >::shared_ptr 
cache ()
base::ActionInterfaceclone () const
base::ActionInterfaceclone () const
base::ActionInterfacecopy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
base::ActionInterfacecopy (std::map< const base::DataSourceBase *, base::DataSourceBase * > &alreadyCloned) const
 EvalCommand (internal::DataSource< bool >::shared_ptr ds, internal::AssignableDataSource< bool >::shared_ptr cache=0)
 EvalCommand (internal::DataSource< bool >::shared_ptr ds, internal::AssignableDataSource< bool >::shared_ptr cache=0)
bool execute ()
bool execute ()
void readArguments ()
void readArguments ()
void reset ()
void reset ()
 ~EvalCommand ()
 ~EvalCommand ()

Private Attributes

internal::AssignableDataSource
< bool >::shared_ptr 
_cache
internal::DataSource< bool >
::shared_ptr 
_ds

Detailed Description

Evaluates a internal::DataSource<bool> in a command. The result will be evaluated in a EvalCommandResult, so this Command returns always true : ie the evaluation itself always succeeds. An EvalCommand should never be dispatched, since the EvalCommandResult assumes the EvalCommand has been executed when evaluated.

See also:
EvalCommandResult

Definition at line 127 of file install/include/rtt/scripting/TryCommand.hpp.


Constructor & Destructor Documentation

RTT::EvalCommand::EvalCommand ( internal::DataSource< bool >::shared_ptr  ds,
internal::AssignableDataSource< bool >::shared_ptr  cache = 0 
)

Definition at line 131 of file TryCommand.cpp.

RTT::EvalCommand::~EvalCommand (  ) 

Definition at line 135 of file TryCommand.cpp.

RTT::scripting::EvalCommand::EvalCommand ( internal::DataSource< bool >::shared_ptr  ds,
internal::AssignableDataSource< bool >::shared_ptr  cache = 0 
)
RTT::scripting::EvalCommand::~EvalCommand (  ) 

Member Function Documentation

internal::AssignableDataSource<bool>::shared_ptr RTT::scripting::EvalCommand::cache (  ) 
AssignableDataSource< bool >::shared_ptr RTT::EvalCommand::cache (  ) 

Definition at line 152 of file TryCommand.cpp.

base::ActionInterface* RTT::scripting::EvalCommand::clone (  )  const [virtual]

The Clone Software Pattern.

Implements RTT::base::ActionInterface.

ActionInterface * RTT::EvalCommand::clone (  )  const [virtual]

The Clone Software Pattern.

Implements RTT::base::ActionInterface.

Definition at line 156 of file TryCommand.cpp.

base::ActionInterface* RTT::scripting::EvalCommand::copy ( std::map< const base::DataSourceBase *, base::DataSourceBase * > &  alreadyCloned  )  const
base::ActionInterface* RTT::scripting::EvalCommand::copy ( std::map< const base::DataSourceBase *, base::DataSourceBase * > &  alreadyCloned  )  const
bool RTT::scripting::EvalCommand::execute (  )  [virtual]

Execute the functionality of this action.

Returns:
true if the action was accepted, false otherwise

Implements RTT::base::ActionInterface.

bool RTT::EvalCommand::execute (  )  [virtual]

Execute the functionality of this action.

Returns:
true if the action was accepted, false otherwise

Implements RTT::base::ActionInterface.

Definition at line 142 of file TryCommand.cpp.

void RTT::scripting::EvalCommand::readArguments (  )  [virtual]

This is invoked some time before execute() at a time when the action may read its function arguments.

Implements RTT::base::ActionInterface.

void RTT::EvalCommand::readArguments (  )  [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 138 of file TryCommand.cpp.

void RTT::scripting::EvalCommand::reset (  )  [virtual]

Reset this action. Must be used after execute() failed.

Reimplemented from RTT::base::ActionInterface.

void RTT::EvalCommand::reset (  )  [virtual]

Reset this action. Must be used after execute() failed.

Reimplemented from RTT::base::ActionInterface.

Definition at line 147 of file TryCommand.cpp.


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:14 2013