cisst-saw
|
#include <mtsMulticastCommandWriteBase.h>
Public Types | |
typedef mtsCommandWriteBase | BaseType |
typedef std::vector< BaseType * > | VectorType |
![]() | |
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 |
![]() | |
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 |
![]() | |
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 |
![]() | |
const mtsGenericObject * | ArgumentPrototype |
![]() | |
std::string | Name |
bool | EnableFlag |
Additional Inherited Members | |
![]() | |
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 |