

Definition at line 191 of file mtsCommandWrite.h.
| typedef _classType mtsCommandWriteGeneric< _classType >::ClassType |
Typedef for the specific interface.
Definition at line 197 of file mtsCommandWrite.h.
| typedef mtsCommandWriteGeneric<ClassType> mtsCommandWriteGeneric< _classType >::ThisType |
This type.
Definition at line 200 of file mtsCommandWrite.h.
| typedef void(_classType::*) mtsCommandWriteGeneric< _classType >::ActionType(const mtsGenericObject &) |
Typedef for pointer to member function of the specific interface class.
Definition at line 204 of file mtsCommandWrite.h.
| mtsCommandWriteGeneric< _classType >::mtsCommandWriteGeneric | ( | ActionType | action, | |
| ClassType * | classInstantiation, | |||
| const std::string & | name, | |||
| const mtsGenericObject * | argumentPrototype | |||
| ) | [inline] |
The constructor.
FIXME: this needs to be updated.
| action | Pointer to the member function that is to be called by the invoker of the command | |
| interface | Pointer to the receiver of the command | |
| name | A string to identify the command. |
Definition at line 231 of file mtsCommandWrite.h.
References mtsCommandWriteBase::ArgumentPrototype, CMN_ASSERT, cmnClassServicesBase::Create(), and cmnGenericObject::Services().
| virtual mtsCommandWriteGeneric< _classType >::~mtsCommandWriteGeneric | ( | ) | [inline, virtual] |
The destructor. Does nothing
Definition at line 250 of file mtsCommandWrite.h.
References mtsCommandWriteBase::ArgumentPrototype.
| mtsExecutionResult mtsCommandWriteGeneric< _classType >::Execute | ( | const mtsGenericObject & | argument, | |
| mtsBlockingType | CMN_UNUSED(blocking) | |||
| ) | [inline] |
The execute method. Calling the execute method from the invoker applies the operation on the receiver.
| obj | The data passed to the operation method |
Definition at line 261 of file mtsCommandWrite.h.
References mtsCommandWriteGeneric< _classType >::Action, and mtsCommandWriteGeneric< _classType >::ClassInstantiation.
| void mtsCommandWriteGeneric< _classType >::ToStream | ( | std::ostream & | outputStream | ) | const [inline, virtual] |
For debugging. Generate a human readable output for the command object
Implements mtsCommandBase.
Definition at line 271 of file mtsCommandWrite.h.
References mtsCommandBase::IsEnabled(), mtsObjectName(), and mtsCommandBase::Name.
ActionType mtsCommandWriteGeneric< _classType >::Action [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 213 of file mtsCommandWrite.h.
Referenced by mtsCommandWriteGeneric< _classType >::Execute().
ClassType* mtsCommandWriteGeneric< _classType >::ClassInstantiation [protected] |
Stores the receiver object of the command
Definition at line 216 of file mtsCommandWrite.h.
Referenced by mtsCommandWriteGeneric< _classType >::Execute().