Evaluates a DataSource<bool> in a command. More...
#include <rtt/TryCommand.hpp>
Inherits RTT::Corba::CommandInterface.
Public Types | |
typedef CommandInterface_ptr | _ptr_type |
typedef CommandInterface_var | _var_type |
typedef CommandInterface_out | _out_type |
Public Member Functions | |
EvalCommand (DataSource< bool >::shared_ptr ds, AssignableDataSource< bool >::shared_ptr cache=0) | |
void | readArguments () |
bool | execute () |
void | reset () |
AssignableDataSource< bool > ::shared_ptr | cache () |
CommandInterface * | clone () const |
CommandInterface * | copy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const |
virtual ::RTT::Corba::CommandList * | getCommands (void) |
virtual ::RTT::Corba::Descriptions * | getArguments (const char *command) |
virtual char * | getResultType (const char *command) |
virtual char * | getDescription (const char *command) |
virtual ::RTT::Corba::Command_ptr | createCommand (const char *command, const ::RTT::Corba::Arguments &args) |
virtual ::RTT::Corba::Command_ptr | createCommandAny (const char *command, const ::RTT::Corba::AnyArguments &args) |
virtual ::CORBA::Boolean | _is_a (const char *type_id) |
virtual const char * | _interface_repository_id (void) const |
virtual ::CORBA::Boolean | marshal (TAO_OutputCDR &cdr) |
Static Public Member Functions | |
static CommandInterface_ptr | _duplicate (CommandInterface_ptr obj) |
static void | _tao_release (CommandInterface_ptr obj) |
static CommandInterface_ptr | _narrow (::CORBA::Object_ptr obj) |
static CommandInterface_ptr | _unchecked_narrow (::CORBA::Object_ptr obj) |
static CommandInterface_ptr | _nil (void) |
static void | _tao_any_destructor (void *) |
Protected Member Functions | |
virtual void | RTT_Corba_CommandInterface_setup_collocation (void) |
Friends | |
class | TAO::Narrow_Utils< CommandInterface > |
Evaluates a 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.
Definition at line 125 of file TryCommand.hpp.