# 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::IBaseAnimDetailObs Class Reference

The base interface for AnimDetail traversal. More...

#include <base_anim_detail_obs.h>

Inheritance diagram for NL3D::IBaseAnimDetailObs:

NL3D::IObs NLMISC::CRefCount NL3D::CDefaultAnimDetailObs NL3D::CRootModelAnimDetailObs NL3D::CSkipModelAnimDetailObs NL3D::CTransformAnimDetailObs NL3D::CMeshBaseInstanceAnimDetailObs NL3D::CParticleSystemDetailObs NL3D::CSegRemanenceAnimDetailObs NL3D::CSkeletonModelAnimDetailObs NL3D::CWaveMakerDetailObs List of all members.

Public Methods

 IBaseAnimDetailObs ()
 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

Detailed Description

The base interface for AnimDetail traversal.

AnimDetail observers MUST derive from IBaseAnimDetailObs. 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:
CAnimDetailTrav
Author:
Lionel Berenguier , Nevrax France
Date:
2000

Definition at line 56 of file base_anim_detail_obs.h.


Constructor & Destructor Documentation

NL3D::IBaseAnimDetailObs::IBaseAnimDetailObs   [inline]
 

Constructor.

Definition at line 66 of file base_anim_detail_obs.h.

References ClipObs, and HrcObs.


Member Function Documentation

void NL3D::IBaseAnimDetailObs::init   [virtual]
 

Build shortcut to Hrc and Clip.

Reimplemented from NL3D::IObs.

Definition at line 40 of file base_anim_detail_obs.cpp.

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

virtual void NL3D::IBaseAnimDetailObs::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::CDefaultAnimDetailObs.


Member Data Documentation

IBaseClipObs* NL3D::IBaseAnimDetailObs::ClipObs
 

Definition at line 61 of file base_anim_detail_obs.h.

Referenced by IBaseAnimDetailObs, init, NL3D::CWaveMakerDetailObs::traverse, and NL3D::CSkeletonModelAnimDetailObs::traverse.

IBaseHrcObs* NL3D::IBaseAnimDetailObs::HrcObs
 

Shortcut to observers.

Definition at line 60 of file base_anim_detail_obs.h.

Referenced by IBaseAnimDetailObs, init, and NL3D::CSkeletonModelAnimDetailObs::traverse.


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