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

Public Member Functions | |
| TimeGroup () | |
| void | append (BehaviorNode *node) |
| void | prepend (BehaviorNode *node) |
| void | insert (int, BehaviorNode *node) |
| void | refreshMarks (BehaviorNode *b) |
| 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 TimeRequirement | timeRequirement () const |
| virtual void | activate (int hint=BehaviorNode::NoHint) |
| virtual void | deactivate (int hint=BehaviorNode::NoHint) |
| void | registerProgressCB (Callback2< const TimeGroup *, unsigned int > *cb) |
| void | unregisterProgressCB (Callback2< const TimeGroup *, unsigned int > *cb) |
| virtual BehaviorNode::InvalidationHint | handle (Event *) |
| virtual void | modified () |
| VRS_TYPEINFO (TimeGroup, PolyBehavior) | |
Protected Member Functions | |
| virtual void | childConfiguration (bool inserted, BehaviorNode *node) |
| virtual TimeRequirement | buildTimeRequirements ()=0 |
| virtual void | buildLifeTimes (TimeEvent *firstTimeEvent)=0 |
| void | registerChild (int child, VRSTime start, VRSTime end) |
| TimeEvent * | timeEvent (const Moment &) |
Classes | |
| struct | ChildInterval |
| struct | TimeMark |
| VRS::TimeGroup::TimeGroup | ( | ) |
| void VRS::TimeGroup::append | ( | BehaviorNode * | node | ) |
Adds the specified behavior node to the list of children. The behavior node will become the last child of the list and is willfully DEACTIVATED since behavior nodes are now active by default.
| void VRS::TimeGroup::prepend | ( | BehaviorNode * | node | ) |
Adds the specified behavior node to the list of children. The behavior node will become the first child of the list and is willfully DEACTIVATED since behavior nodes are now active by default.
| void VRS::TimeGroup::insert | ( | int | , | |
| BehaviorNode * | node | |||
| ) |
Adds the specified behavior node to the list of children. The behavior node will be inserted at the specified position and is willfully DEACTIVATED since behavior nodes are now active by default.
| void VRS::TimeGroup::refreshMarks | ( | BehaviorNode * | b | ) |
| void VRS::TimeGroup::remove | ( | int | i | ) |
| void VRS::TimeGroup::remove | ( | BehaviorNode * | node | ) |
| void VRS::TimeGroup::clear | ( | ) |
| bool VRS::TimeGroup::contains | ( | BehaviorNode * | node | ) | const |
| virtual int VRS::TimeGroup::childNodes | ( | ) | const [virtual] |
Implements VRS::PolyBehavior.
| virtual BehaviorNode* VRS::TimeGroup::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 TimeRequirement VRS::TimeGroup::timeRequirement | ( | ) | const [virtual] |
A behavior node defines its time requirement. The default time requirement is set to "undefined".
Reimplemented from VRS::BehaviorNode.
| virtual void VRS::TimeGroup::activate | ( | int | hint = BehaviorNode::NoHint |
) | [virtual] |
Reimplemented from VRS::BehaviorNode.
| virtual void VRS::TimeGroup::deactivate | ( | int | hint = BehaviorNode::NoHint |
) | [virtual] |
Reimplemented from VRS::BehaviorNode.
'Callback' objects can observe the deactivation of child nodes. The argument for the callback is a pointer to the TimeGroup and an integer as index of the child which has been deactivated.
| virtual BehaviorNode::InvalidationHint VRS::TimeGroup::handle | ( | Event * | ) | [virtual] |
VRSTime behavior groups can receive time events and propagate them to their child nodes. Other events are not handled.
Implements VRS::BehaviorNode.
| virtual void VRS::TimeGroup::modified | ( | ) | [virtual] |
Reimplemented from VRS::SharedObj.
| VRS::TimeGroup::VRS_TYPEINFO | ( | TimeGroup | , | |
| PolyBehavior | ||||
| ) |
| virtual void VRS::TimeGroup::childConfiguration | ( | bool | inserted, | |
| BehaviorNode * | node | |||
| ) | [protected, virtual] |
Reimplemented in VRS::TimeTable.
| virtual TimeRequirement VRS::TimeGroup::buildTimeRequirements | ( | ) | [protected, pure virtual] |
Implemented in VRS::TimeSequence, VRS::TimeSimultaneity, and VRS::TimeTable.
| virtual void VRS::TimeGroup::buildLifeTimes | ( | TimeEvent * | firstTimeEvent | ) | [protected, pure virtual] |
Implemented in VRS::TimeSequence, VRS::TimeSimultaneity, and VRS::TimeTable.