|
cisst-saw
|
#include <mtsCallableVoidMethod.h>
Public Types | |
| typedef mtsCallableVoidBase | BaseType |
| typedef _classType | ClassType |
| typedef mtsCallableVoidMethod < ClassType > | ThisType |
| typedef void(_classType::* | ActionType )(void) |
Public Member Functions | |
| mtsCallableVoidMethod (void) | |
| mtsCallableVoidMethod (ActionType action, ClassType *classInstantiation) | |
| virtual | ~mtsCallableVoidMethod () |
| mtsExecutionResult | Execute (void) |
| void | ToStream (std::ostream &outputStream) const |
Public Member Functions inherited from mtsCallableVoidBase | |
| mtsCallableVoidBase (void) | |
| virtual | ~mtsCallableVoidBase () |
Protected Attributes | |
| ActionType | Action |
| ClassType * | ClassInstantiation |
A templated version of command object with zero arguments for execute. The template argument is the class type whose method is contained in the command object. This command is based on a void method, i.e. it requires the class and method name as well as an instantiation of the class to get and actual pointer on the method.
| typedef void(_classType::* mtsCallableVoidMethod< _classType >::ActionType)(void) |
Typedef for pointer to member function (method) of a specific class (_classType).
| typedef mtsCallableVoidBase mtsCallableVoidMethod< _classType >::BaseType |
| typedef _classType mtsCallableVoidMethod< _classType >::ClassType |
Typedef for the specific interface.
| typedef mtsCallableVoidMethod<ClassType> mtsCallableVoidMethod< _classType >::ThisType |
This type.
|
inline |
The constructor. Does nothing.
|
inline |
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 |
|
inlinevirtual |
The destructor. Does nothing
|
inlinevirtual |
The execute method. Abstract method to be implemented by derived classes to run the actual operation on the receiver.
Implements mtsCallableVoidBase.
|
inlinevirtual |
Human readable description
Implements mtsCallableVoidBase.
|
protected |
The pointer to member function of the receiver class that is to be invoked for a particular instance of the command.
|
protected |
Stores the receiver object of the command.
1.8.6