# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NL3D::IBaseLoadBalancingObs Class Reference

The base interface for LoadBalancing traversal. More...

#include <load_balancing_trav.h>

Inheritance diagram for NL3D::IBaseLoadBalancingObs:

NL3D::IObs NLMISC::CRefCount NL3D::CDefaultLoadBalancingObs NL3D::CRootModelLoadBalancingObs NL3D::CSkipModelLoadBalancingObs NL3D::CTransformShapeLoadBalancingObs NL3D::CMeshMultiLodBalancingObs List of all members.

Public Methods

 IBaseLoadBalancingObs ()
 Constructor. More...

virtual void init ()
 Build shortcut to Hrc and Clip. More...

The base doit method.
virtual void traverse (IObs *caller)=0
 Traverse this observer. More...


Public Attributes

IBaseHrcObsHrcObs
 Shortcut to observers. More...

IBaseClipObsClipObs
CLoadBalancingGroupLoadBalancingGroup

Detailed Description

The base interface for LoadBalancing traversal.

LoadBalancing observers MUST derive from IBaseLoadBalancingObs. This observer:

  • leave the notification system to DO NOTHING.
  • leave traverse() undefined
DERIVER RULES:
  • implement the notification system (see IObs for details).
  • implement the traverse() method.
See also:
CLoadBalancingTrav
Author:
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 236 of file load_balancing_trav.h.


Constructor & Destructor Documentation

NL3D::IBaseLoadBalancingObs::IBaseLoadBalancingObs   [inline]
 

Constructor.

Definition at line 249 of file load_balancing_trav.h.

References ClipObs, and HrcObs.


Member Function Documentation

void NL3D::IBaseLoadBalancingObs::init   [virtual]
 

Build shortcut to Hrc and Clip.

Reimplemented from NL3D::IObs.

Definition at line 286 of file load_balancing_trav.cpp.

References ClipObs, NL3D::ClipTravId, NL3D::IObs::getObs, HrcObs, NL3D::HrcTravId, LoadBalancingGroup, nlassert, and NL3D::IObs::Trav.

virtual void NL3D::IBaseLoadBalancingObs::traverse IObs   caller [pure virtual]
 

Traverse this observer.

This function "justdoit" must do all the traversal thing:

  • Get info from caller, and DoIt the observer (completly observer depedent).
  • should traverse() his sons (or simply call traverseSons()).
Parameters:
caller  the father of the observer which have called traverse(). WARNING: this is NULL, for the ROOT.

Implements NL3D::IObs.

Implemented in NL3D::CDefaultLoadBalancingObs.


Member Data Documentation

IBaseClipObs* NL3D::IBaseLoadBalancingObs::ClipObs
 

Definition at line 241 of file load_balancing_trav.h.

Referenced by IBaseLoadBalancingObs, and init.

IBaseHrcObs* NL3D::IBaseLoadBalancingObs::HrcObs
 

Shortcut to observers.

Definition at line 240 of file load_balancing_trav.h.

Referenced by IBaseLoadBalancingObs, init, and NL3D::CTransformShapeLoadBalancingObs::traversePass0.

CLoadBalancingGroup* NL3D::IBaseLoadBalancingObs::LoadBalancingGroup
 

Definition at line 244 of file load_balancing_trav.h.

Referenced by init, NL3D::CTransformShapeLoadBalancingObs::traversePass0, and NL3D::CTransformShapeLoadBalancingObs::traversePass1.


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