H3D::X3DGroupingNode::MFChild Class Reference

MFChild sets up a routes from the Nodes that are added and removed from the field to the owner of the field. More...

#include <H3D/X3DGroupingNode.h>

Inheritance diagram for H3D::X3DGroupingNode::MFChild:

Inheritance graph

List of all members.

Public Types

typedef DependentMFNode
< X3DChildNode, FieldRef
< H3DDisplayListObject,
H3DDisplayListObject::DisplayList,&H3DDisplayListObject::displayList >
, true > 
MFChildBase
 The base class of MFChild.

Public Member Functions

 ~MFChild ()
 Destructor.
virtual void onAdd (Node *n)
 Set up the routes we want to maintain.
virtual void onRemove (Node *n)
 Remove the routes we want to maintain.


Detailed Description

MFChild sets up a routes from the Nodes that are added and removed from the field to the owner of the field.

The displayList field of the Nodes are routed to the displayList field and the bound fields are routed to the bound field.


Constructor & Destructor Documentation

H3D::X3DGroupingNode::MFChild::~MFChild (  )  [inline]

Destructor.

Clears the MFNode in order to get the correct onRemove function to be called upon destruction. Must be done in all subclasses that overrides onRemove ().


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

Generated on Fri Nov 7 10:31:26 2008 for H3D API by  doxygen 1.5.7