H3D API  2.4.1
Public Types | Public Member Functions | List of all members
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

Public Types

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

Public Member Functions

virtual ~MFChild ()
 Destructor. More...
 
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.
 
- Public Member Functions inherited from H3D::DependentMFNode< X3DChildNode, FieldRef< H3DDisplayListObject, H3DDisplayListObject::DisplayList, &H3DDisplayListObject::displayList >, true >
 DependentMFNode ()
 Constructor. Default value of value is NULL.
 
virtual ~DependentMFNode ()
 Destructor.
 

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

◆ ~MFChild()

virtual H3D::X3DGroupingNode::MFChild::~MFChild ( )
inlinevirtual

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: