Homepage Demos Overview Downloads Tutorials Reference
Credits

GroupNode Class Reference

#include <GroupNode.h>

Inheritance diagram for GroupNode:

Inheritance graph
[legend]
List of all members.

Detailed Description

Allows a group of StateNodes to be activated together.

When a transition occurs into the group node, it will activate all of its subnodes.

Note that this doesn't occur if there's a transition to one of the sub nodes... only when the main group node itself transitions.

The group node doesn't deactivate its subnodes together however. In essence, this is a fork - one transition can activate several states, which are then separate branches of execution. (Although only one is actually being executed at a time)

Definition at line 20 of file GroupNode.h.

Public Member Functions

 GroupNode ()
 constructor
 GroupNode (const std::string &nm, StateNode *p=NULL)
 constructor
virtual void DoStart ()
 activates all of the sub nodes

Private Member Functions

 GroupNode (const GroupNode &node)
 don't call this
GroupNode operator= (const GroupNode &node)
 don't call this


Constructor & Destructor Documentation

GroupNode::GroupNode  )  [inline]
 

constructor

Definition at line 23 of file GroupNode.h.

GroupNode::GroupNode const std::string &  nm,
StateNode p = NULL
[inline, explicit]
 

constructor

Definition at line 25 of file GroupNode.h.

GroupNode::GroupNode const GroupNode node  )  [private]
 

don't call this


Member Function Documentation

virtual void GroupNode::DoStart  )  [inline, virtual]
 

activates all of the sub nodes

Reimplemented from StateNode.

Definition at line 28 of file GroupNode.h.

GroupNode GroupNode::operator= const GroupNode node  )  [private]
 

don't call this


The documentation for this class was generated from the following file:

Tekkotsu v2.2
Generated Tue Oct 19 14:20:18 2004 by Doxygen 1.3.9.1