| VRS - The Virtual Rendering System |
| version 3.3 |
#include <vrs/sg/behaviorgroup.h>

Public Member Functions | |
| BehaviorGroup (State state=BehaviorNode::Active) | |
| void | append (BehaviorNode *node) |
| void | prepend (BehaviorNode *node) |
| void | insert (int, BehaviorNode *node) |
| void | remove (int i) |
| void | remove (BehaviorNode *node) |
| void | clear () |
| bool | contains (BehaviorNode *node) const |
| virtual int | childNodes () const |
| virtual BehaviorNode * | childNode (int i) const |
| virtual BehaviorNode::InvalidationHint | handle (Event *event) |
| VRS_TYPEINFO (BehaviorGroup, PolyBehavior) | |
| VRS_SERIALIZABLE (BehaviorGroup) | |
| VRS::BehaviorGroup::BehaviorGroup | ( | State | state = BehaviorNode::Active |
) |
An `BehaviorGroup' represents a container for a set of behavior nodes which are stored in a list. This node delegates all events to its children in list order.
| void VRS::BehaviorGroup::append | ( | BehaviorNode * | node | ) |
| void VRS::BehaviorGroup::prepend | ( | BehaviorNode * | node | ) |
| void VRS::BehaviorGroup::insert | ( | int | , | |
| BehaviorNode * | node | |||
| ) |
| void VRS::BehaviorGroup::remove | ( | int | i | ) |
| void VRS::BehaviorGroup::remove | ( | BehaviorNode * | node | ) |
| void VRS::BehaviorGroup::clear | ( | ) |
| bool VRS::BehaviorGroup::contains | ( | BehaviorNode * | node | ) | const |
| virtual int VRS::BehaviorGroup::childNodes | ( | ) | const [virtual] |
Implements VRS::PolyBehavior.
| virtual BehaviorNode* VRS::BehaviorGroup::childNode | ( | int | i | ) | const [virtual] |
'childNodes' returns the number of subgraphs associated to the behavior node. 'childNode' returns the handle to the i-th child node.
Implements VRS::PolyBehavior.
| virtual BehaviorNode::InvalidationHint VRS::BehaviorGroup::handle | ( | Event * | event | ) | [virtual] |
Propagates an event to all of its children. It stops if the event has been consumed.
Implements VRS::BehaviorNode.
| VRS::BehaviorGroup::VRS_TYPEINFO | ( | BehaviorGroup | , | |
| PolyBehavior | ||||
| ) |
| VRS::BehaviorGroup::VRS_SERIALIZABLE | ( | BehaviorGroup | ) |