#include <MProcessComposite.h>
Inheritance diagram for MProcessComposite:

Public Member Functions | |
| MProcessComposite (string name) | |
| virtual MProcess * | Child (const unsigned int n) const |
| virtual unsigned int | NumberOfChildren () const |
| virtual void | Run (const unsigned int n) |
| virtual void | AddChild (MProcess *child) |
| virtual void | RemoveChild (const unsigned int n) |
| virtual void | InsertChild (MProcess *child, const unsigned int n) |
| virtual void | MoveChild (const unsigned int n, const unsigned int m) |
Protected Attributes | |
| vector< MProcess * > | _children |
|
|
Creates a composite process called name and having no children.
|
|
|
The nth direct child of the process.
Reimplemented from MProcess. |
|
|
The number of direct children of the process.
Reimplemented from MProcess. |
|
|
Calls MProcess::Run( n ) on each child in order.
Implements MProcess. |
|
|
Adds a child process after the current last child.
|
|
|
Removes the nth child process. This does not delete the child process object.
|
|
||||||||||||
|
Inserts a child child at position n.
|
|
||||||||||||
|
Moves the child at position n to position m.
|
|
|
The children of the composite process.
|