Man Linux: Main Page and Category List

NAME

       tlp::GlObservableScene -

SYNOPSIS

       #include <GlSceneObserver.h>

       Inherited by tlp::GlScene.

   Public Member Functions
       virtual ~GlObservableScene ()
       void addObserver (GlSceneObserver *) const
       unsigned int countObservers ()
       void removeObserver (GlSceneObserver *) const
       void removeObservers ()
       void notifyAddLayer (GlScene *scene, const std::string &name, GlLayer
           *layer)
       void notifyDelLayer (GlScene *scene, const std::string &name, GlLayer
           *layer)
       void notifyModifyLayer (GlScene *scene, const std::string &name,
           GlLayer *layer)

   Protected Attributes
       std::set< GlSceneObserver * > observers

Detailed Description

       Observable scene

Constructor & Destructor Documentation

   virtual tlp::GlObservableScene::~GlObservableScene () [inline, virtual]

Member Function Documentation

   void tlp::GlObservableScene::addObserver (GlSceneObserver * obs) const
       [inline] Register a new observer
   unsigned int tlp::GlObservableScene::countObservers () [inline] Returns the
       number of observers
   void tlp::GlObservableScene::notifyAddLayer (GlScene * scene, const
       std::string & name, GlLayer * layer)
   void tlp::GlObservableScene::notifyDelLayer (GlScene * scene, const
       std::string & name, GlLayer * layer)
   void tlp::GlObservableScene::notifyModifyLayer (GlScene * scene, const
       std::string & name, GlLayer * layer)
   void tlp::GlObservableScene::removeObserver (GlSceneObserver * item) const
       [inline] Remove an observer
   void tlp::GlObservableScene::removeObservers () [inline] Remove all
       observers

Member Data Documentation

   std::set<GlSceneObserver*> tlp::GlObservableScene::observers [mutable,
       protected]

Author

       Generated automatically by Doxygen for Tulip Open GL Library from the
       source code.