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


Definition at line 45 of file mtsCommandVoidReturn.h.
Base type
Reimplemented in mtsCommandQueuedVoidReturn.
Definition at line 49 of file mtsCommandVoidReturn.h.
This type.
Reimplemented in mtsCommandQueuedVoidReturn.
Definition at line 52 of file mtsCommandVoidReturn.h.
| mtsCommandVoidReturn::mtsCommandVoidReturn | ( | void | ) |
The constructor. Does nothing.
| mtsCommandVoidReturn::mtsCommandVoidReturn | ( | mtsCallableVoidReturnBase * | callable, | |
| const std::string & | name, | |||
| const mtsGenericObject * | resultPrototype | |||
| ) |
The constructor.
| action | Pointer to the member function that is to be called by the invoker of the command | |
| classInstantiation | Pointer to the receiver of the command | |
| name | A string to identify the command. |
| virtual mtsCommandVoidReturn::~mtsCommandVoidReturn | ( | ) | [virtual] |
The destructor. Does nothing
| virtual mtsExecutionResult mtsCommandVoidReturn::Execute | ( | mtsGenericObject & | result | ) | [virtual] |
The execute method. Calling the execute method from the invoker applies the operation on the receiver.
Referenced by mtsFunctionVoidReturn::ConditionalWrap< _userType, >::Call(), and mtsFunctionVoidReturn::ConditionalWrap< _userType, true >::Call().
| mtsCallableVoidReturnBase* mtsCommandVoidReturn::GetCallable | ( | void | ) | const |
Get a direct pointer to the callable object. This method is used for queued commands. The caller should still use the Execute method which will queue the command. When the command is de-queued, one needs access to the callable object to call the final method or function.
| size_t mtsCommandVoidReturn::NumberOfArguments | ( | void | ) | const [virtual] |
Returns number of arguments (parameters) expected by Execute method. Must be overloaded in derived classes.
Implements mtsCommandBase.
| const mtsGenericObject* mtsCommandVoidReturn::GetResultPrototype | ( | void | ) | const |
Return a pointer on the result prototype
| void mtsCommandVoidReturn::ToStream | ( | std::ostream & | outputStream | ) | const [virtual] |
For debugging. Generate a human readable output for the command object
Implements mtsCommandBase.
Reimplemented in mtsCommandQueuedVoidReturn.
mtsCallableVoidReturnBase* mtsCommandVoidReturn::Callable [protected] |
The pointer to member function of the receiver class that is to be invoked for a particular instance of the command.
Definition at line 61 of file mtsCommandVoidReturn.h.