#include <mtsCommandWrite.h>
Inheritance diagram for mtsCommandWrite< _classType, _argumentType >:


Definition at line 43 of file mtsCommandWrite.h.
| typedef _classType mtsCommandWrite< _classType, _argumentType >::ClassType |
Typedef for the specific interface.
Definition at line 50 of file mtsCommandWrite.h.
| typedef mtsCommandWrite<ClassType, ArgumentType> mtsCommandWrite< _classType, _argumentType >::ThisType |
This type.
Definition at line 53 of file mtsCommandWrite.h.
| typedef void(_classType::*) mtsCommandWrite< _classType, _argumentType >::ActionType(const ArgumentType &) |
Typedef for pointer to member function of the specific interface class.
Definition at line 57 of file mtsCommandWrite.h.
| mtsCommandWrite< _classType, _argumentType >::mtsCommandWrite | ( | ActionType | action, | |
| ClassType * | classInstantiation, | |||
| const std::string & | name, | |||
| const ArgumentType & | 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 127 of file mtsCommandWrite.h.
References mtsCommandWriteBase::ArgumentPrototype, and mtsGenericTypes< T >::ConditionalCreate().
| virtual mtsCommandWrite< _classType, _argumentType >::~mtsCommandWrite | ( | ) | [inline, virtual] |
The destructor. Does nothing
Definition at line 140 of file mtsCommandWrite.h.
References mtsCommandWriteBase::ArgumentPrototype.
| virtual mtsExecutionResult mtsCommandWrite< _classType, _argumentType >::Execute | ( | const mtsGenericObject & | argument, | |
| mtsBlockingType | CMN_UNUSED(blocking) | |||
| ) | [inline, 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 |
Definition at line 151 of file mtsCommandWrite.h.
References mtsCommandWrite< _classType, _argumentType >::Action, and mtsCommandWrite< _classType, _argumentType >::ClassInstantiation.
| mtsExecutionResult mtsCommandWrite< _classType, _argumentType >::Execute | ( | const ArgumentType & | argument, | |
| mtsBlockingType | CMN_UNUSED(blocking) | |||
| ) | [inline] |
Direct execute can be used for mtsMulticastCommandWrite
Definition at line 162 of file mtsCommandWrite.h.
References mtsCommandWrite< _classType, _argumentType >::Action, and mtsCommandWrite< _classType, _argumentType >::ClassInstantiation.
| virtual void mtsCommandWrite< _classType, _argumentType >::ToStream | ( | std::ostream & | outputStream | ) | const [inline, virtual] |
For debugging. Generate a human readable output for the command object
Implements mtsCommandBase.
Definition at line 172 of file mtsCommandWrite.h.
References mtsCommandWriteBase::ArgumentPrototype, cmnClassServicesBase::GetName(), mtsCommandBase::IsEnabled(), mtsObjectName(), mtsCommandBase::Name, and cmnGenericObject::Services().
ActionType mtsCommandWrite< _classType, _argumentType >::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 66 of file mtsCommandWrite.h.
Referenced by mtsCommandWrite< _classType, _argumentType >::Execute().
ClassType* mtsCommandWrite< _classType, _argumentType >::ClassInstantiation [protected] |
Stores the receiver object of the command
Definition at line 69 of file mtsCommandWrite.h.
Referenced by mtsCommandWrite< _classType, _argumentType >::Execute().