version 3.3

VRS::BehaviorGroup Class Reference

Group of Interaction Behavior Graphs. More...

#include <vrs/sg/behaviorgroup.h>

Inheritance diagram for VRS::BehaviorGroup:

VRS::PolyBehavior VRS::BehaviorNode VRS::SharedObj VRS::Visitable

List of all members.

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 BehaviorNodechildNode (int i) const
virtual
BehaviorNode::InvalidationHint 
handle (Event *event)
 VRS_TYPEINFO (BehaviorGroup, PolyBehavior)
 VRS_SERIALIZABLE (BehaviorGroup)


Detailed Description

Group of Interaction Behavior Graphs.

Constructor & Destructor Documentation

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.


Member Function Documentation

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   ) 


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

Generated on Fri May 18 06:00:26 2012 by Doxygen 1.5.6
© 2001-2010 Hasso-Plattner-Institut | Impressum | Contact