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


Definition at line 46 of file mtsCommandVoid.h.
| mtsCommandVoid::mtsCommandVoid | ( | void | ) |
The constructor. Does nothing.
| mtsCommandVoid::mtsCommandVoid | ( | mtsCallableVoidBase * | callable, | |
| const std::string & | name | |||
| ) |
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 mtsCommandVoid::~mtsCommandVoid | ( | ) | [virtual] |
The destructor. Does nothing
| virtual mtsExecutionResult mtsCommandVoid::Execute | ( | mtsBlockingType | CMN_UNUSED(blocking) | ) | [virtual] |
The execute method. Calling the execute method from the invoker applies the operation on the receiver.
| mtsCallableVoidBase* mtsCommandVoid::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.
| void mtsCommandVoid::ToStream | ( | std::ostream & | outputStream | ) | const [virtual] |
For debugging. Generate a human readable output for the command object
Implements mtsCommandBase.
Reimplemented in mtsCommandQueuedVoid, mtsCommandVoidProxy, and mtsMulticastCommandVoid.
| size_t mtsCommandVoid::NumberOfArguments | ( | void | ) | const [virtual] |
Returns number of arguments (parameters) expected by Execute method. Must be overloaded in derived classes.
Implements mtsCommandBase.
mtsCallableVoidBase* mtsCommandVoid::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 mtsCommandVoid.h.