#include <mtsCommandRead.h>
Inheritance diagram for mtsCommandRead:


Definition at line 44 of file mtsCommandRead.h.
This type.
Definition at line 50 of file mtsCommandRead.h.
| mtsCommandRead::mtsCommandRead | ( | void | ) |
The constructor. Does nothing
| mtsCommandRead::mtsCommandRead | ( | mtsCallableReadBase * | callable, | |
| const std::string & | name, | |||
| const mtsGenericObject * | argumentPrototype | |||
| ) |
The constructor.
| action | Pointer to the member function that is to be called by the invoker of the command | |
| name | A string to identify the command | |
| argumentPrototype | An instance of the argument being used |
| mtsCommandRead::~mtsCommandRead | ( | ) |
The destructor. Does nothing
| virtual mtsExecutionResult mtsCommandRead::Execute | ( | mtsGenericObject & | argument | ) | [virtual] |
The execute method. Calling the execute method from the invoker applies the operation on the receiver.
| obj | The data passed to the operation method |
Referenced by mtsFunctionRead::ConditionalWrap< _userType, true >::Call(), and mtsFunctionRead::ConditionalWrap< _userType, >::Call().
| size_t mtsCommandRead::NumberOfArguments | ( | void | ) | const [virtual] |
Returns number of arguments (parameters) expected by Execute method. Must be overloaded in derived classes.
Implements mtsCommandBase.
| void mtsCommandRead::ToStream | ( | std::ostream & | outputStream | ) | const [virtual] |
For debugging. Generate a human readable output for the command object
Implements mtsCommandBase.
Reimplemented in mtsCommandReadProxy.