H3D::Sound::SFSoundSourceNode Class Reference

The SFSoundSourceNode registers the Sound node in the X3DSoundSourceNode that is put into the field. More...

#include <Sound.h>

Inheritance diagram for H3D::Sound::SFSoundSourceNode:

Inheritance graph
List of all members.

Public Member Functions

 ~SFSoundSourceNode ()
 Destructor.

Protected Member Functions

virtual void onAdd (Node *n)
 We check that the type of the Node is of the correct type.
virtual void onRemove (Node *n)
 This function will be called when the value of RefCountSField changes.

Detailed Description

The SFSoundSourceNode registers the Sound node in the X3DSoundSourceNode that is put into the field.


Member Function Documentation

void Sound::SFSoundSourceNode::onRemove Node n  )  [protected, virtual]
 

This function will be called when the value of RefCountSField changes.

As soon as the value changes onRemove will be called on the old value and onAdd will be called on the new value.

Parameters:
n The old value.

Reimplemented from H3D::RefCountSField< Node, TypedField< Field, void, AnyNumber< SFNode > > >.


Generated on Thu Aug 24 12:40:00 2006 for H3D API by  doxygen 1.4.5