ERC CISST - cisst software

mtsMulticastCommandVoid Class Reference
[Multi Task Support]

#include <mtsMulticastCommandVoid.h>

Inheritance diagram for mtsMulticastCommandVoid:

Inheritance graph
[legend]
Collaboration diagram for mtsMulticastCommandVoid:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class contains a vector of two or more command objects. Currently it is used by composite interface, where the command needs to be chained, such that it is executed on more than one interface. This is the no argument version, that is the execute method takes no argument.

Definition at line 48 of file mtsMulticastCommandVoid.h.

Public Types

Public Member Functions

Protected Attributes


Constructor & Destructor Documentation

mtsMulticastCommandVoid::mtsMulticastCommandVoid ( const std::string &  name  ) 

Default constructor. Does nothing.

mtsMulticastCommandVoid::~mtsMulticastCommandVoid (  ) 

Default destructor. Does nothing.


Member Function Documentation

void mtsMulticastCommandVoid::AddCommand ( BaseType command  ) 

Add a command to the composite.

virtual mtsExecutionResult mtsMulticastCommandVoid::Execute ( mtsBlockingType   CMN_UNUSED(blocking)  )  [virtual]

Execute all the commands in the composite.

Reimplemented from mtsCommandVoid.

virtual void mtsMulticastCommandVoid::ToStream ( std::ostream &  outputStream  )  const [virtual]

For debugging. Generate a human readable output for the command object

Reimplemented from mtsCommandVoid.


Member Data Documentation

std::vector<BaseType *> mtsMulticastCommandVoid::Commands [protected]

Vector to commands that constitute the composite command.

Definition at line 55 of file mtsMulticastCommandVoid.h.


The documentation for this class was generated from the following file:
erc-cisst-devel<at>lists.johnshopkins.edu