TryCommand Class Reference

#include <rtt/TryCommand.hpp>

Inheritance diagram for TryCommand:

CommandInterface

List of all members.


Detailed Description

A command which tries another command and stores the result in a DataSource<bool>.

See also:
TryCommandResult.

Definition at line 57 of file TryCommand.hpp.


Public Member Functions

 TryCommand (CommandInterface *command, AssignableDataSource< bool >::shared_ptr storage=0)
 Try a command.
 ~TryCommand ()
bool execute ()
void reset ()
bool valid () const
void readArguments ()
CommandInterfacetheCommand () const
AssignableDataSource
< bool >::shared_ptr 
result ()
TryCommandclone () const
TryCommandcopy (std::map< const DataSourceBase *, DataSourceBase * > &alreadyCloned) const
CommandList getCommands ()
 Get a list of all commands.
Descriptions getArguments (in string command) raises (NoSuchNameException)
 Get a list of all arguments of a given command.
string getResultType (in string command) raises (NoSuchNameException)
 Get a result type of a given command.
string getDescription (in string command) raises (NoSuchNameException)
 Get a description of a given command.
Command createCommand (in string command, in Arguments args) raises ( NoSuchNameException, WrongNumbArgException, WrongTypeArgException)
 Create a command and fill in the arguments later.
Command createCommandAny (in string command, in AnyArguments args) raises ( NoSuchNameException, WrongNumbArgException, WrongTypeArgException)
 Create a command of an object with any arguments.

Member Function Documentation

Command createCommand ( in string  command,
in Arguments  args 
) raises ( NoSuchNameException, WrongNumbArgException, WrongTypeArgException) [inherited]

Create a command and fill in the arguments later.

Create a command of an object.


The documentation for this class was generated from the following files:
Generated on Tue Mar 25 17:41:58 2008 for OrocosReal-TimeToolkit by  doxygen 1.5.3