|
cisst-saw
|
#include <mtsMulticastCommandWriteBase.h>
Public Types | |
| typedef mtsCommandWriteBase | BaseType |
| typedef std::vector< BaseType * > | VectorType |
Public Types inherited from mtsCommandWriteBase | |
| typedef mtsCommandBase | BaseType |
Public Member Functions | |
| mtsMulticastCommandWriteBase (const std::string &name) | |
| ~mtsMulticastCommandWriteBase () | |
| virtual bool | AddCommand (BaseType *command) |
| virtual bool | RemoveCommand (BaseType *command) |
| virtual mtsExecutionResult | Execute (const mtsGenericObject &argument, mtsBlockingType blocking)=0 |
| virtual void | ToStream (std::ostream &outputStream) const |
Public Member Functions inherited from mtsCommandWriteBase | |
| mtsCommandWriteBase (void) | |
| mtsCommandWriteBase (const std::string &name) | |
| virtual | ~mtsCommandWriteBase () |
| virtual mtsExecutionResult | Execute (const mtsGenericObject &argument, mtsBlockingType blocking, mtsCommandWriteBase *CMN_UNUSED(finishedEventHandler))=0 |
| size_t | NumberOfArguments (void) const |
| bool | Returns (void) const |
| virtual const mtsGenericObject * | GetArgumentPrototype (void) const |
| const cmnClassServicesBase * | GetArgumentClassServices (void) const |
Public Member Functions inherited from mtsCommandBase | |
| mtsCommandBase (void) | |
| mtsCommandBase (const std::string &name) | |
| virtual | ~mtsCommandBase () |
| const std::string & | GetName (void) const |
| virtual std::string | ToString (void) const |
| void | Enable (void) |
| void | Disable (void) |
| bool | IsEnabled (void) const |
| bool | IsDisabled (void) const |
Protected Attributes | |
| VectorType | Commands |
Protected Attributes inherited from mtsCommandWriteBase | |
| const mtsGenericObject * | ArgumentPrototype |
Protected Attributes inherited from mtsCommandBase | |
| std::string | Name |
| bool | EnableFlag |
Additional Inherited Members | |
Protected Member Functions inherited from mtsCommandWriteBase | |
| virtual void | SetArgumentPrototype (const mtsGenericObject *argumentPrototype) |
This class contains a vector of two or more command objects. The primary use of this class is to send events to all observers.
| typedef std::vector<BaseType *> mtsMulticastCommandWriteBase::VectorType |
|
inline |
Default constructor. Does nothing.
|
inline |
Default destructor. Does nothing.
|
virtual |
Add a command to the composite.
|
pure virtual |
Execute all the commands in the composite.
Implements mtsCommandWriteBase.
|
virtual |
Remove a command from the composite.
|
virtual |
Implements mtsCommandBase.
|
protected |
1.8.6