H3D::FieldInternals::DependentNodeFieldBase< BaseField, FieldRefs >::EventField Class Reference

This Field class is used to propagate all events from the fields we are dependent on to the main field. More...

#include <DependentNodeFields.h>

Inheritance diagram for H3D::FieldInternals::DependentNodeFieldBase< BaseField, FieldRefs >::EventField:

Inheritance graph
List of all members.

Public Member Functions

 EventField (Field *f)
 Constructor.
virtual void update ()
 Send an event on the containing field.

Public Attributes

Fieldfield
 The DependentSFNode containing this instance of the class.

Detailed Description

template<class BaseField, class FieldRefs>
class H3D::FieldInternals::DependentNodeFieldBase< BaseField, FieldRefs >::EventField

This Field class is used to propagate all events from the fields we are dependent on to the main field.

We route all the dependent fields to an instance of this field and on any event from this field an sendEvent () call is made on the main field.


Constructor & Destructor Documentation

template<class BaseField, class FieldRefs>
H3D::FieldInternals::DependentNodeFieldBase< BaseField, FieldRefs >::EventField::EventField Field f  )  [inline]
 

Constructor.

Parameters:
f The conaining DependentSFNode.


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