Interface NodeManager

All Known Subinterfaces:
NetworkManager
All Known Implementing Classes:
DefaultHumanoidManager, DefaultNetworkManager, DefaultParticleSystemManager, DefaultRigidBodyPhysicsManager

public interface NodeManager
Abstract representation of a class that needs to manage a specific class of nodes in the system.

VRML and X3D have a collection of nodes that require some sort of per-frame management that is part of the event loop. This may be as simple as synchronising with external devices or the network, or as complex as a high-detail terrain renderer. This interface allows the user to provide an abstracted way of registering new capabilities with the EventModelEvaluator without needing edit and recompile the entire Xj3D codebase.

An implementation of this interface may handle pre event model updates (eg sensor-style nodes), post event model updates (eg particle systems) or a both at the same time. Methods are used to indicate which of these classifications the manager wants to perform. This is asked once at the start of the browser's lifetime. It is not possible to change these settings after startup, even if there are no nodes of the desired type in the system.

Version:
$Revision: 1.2 $
Author:
Justin Couch