Abstract observer base class for the OverlayManager. More...
#include <overlay_manager_observer.hh>
Inherited by OverlayManagerGUI.
Public Member Functions | |
virtual | ~OverlayManagerObserver () |
virtual void | OnLockChange (OverlayManager *m, int id, bool lock) |
virtual void | OnVisibilityChange (OverlayManager *m, int id, bool is_visible) |
virtual void | OnActivate (OverlayManager *m, int id) |
virtual void | OnAddOverlay (OverlayManager *m, int id) |
virtual void | OnRemoveOverlay (OverlayManager *m, int id) |
virtual void | OnRelease (OverlayManager *m) |
Abstract observer base class for the OverlayManager.
Definition at line 33 of file overlay_manager_observer.hh.
virtual ~OverlayManagerObserver | ( | ) | [inline, virtual] |
Definition at line 35 of file overlay_manager_observer.hh.
virtual void OnActivate | ( | OverlayManager * | m, | |
int | id | |||
) | [inline, virtual] |
called on overlay activation
Reimplemented in OverlayManagerGUI.
Definition at line 42 of file overlay_manager_observer.hh.
virtual void OnAddOverlay | ( | OverlayManager * | m, | |
int | id | |||
) | [inline, virtual] |
called on addition of an overlay
Reimplemented in OverlayManagerGUI.
Definition at line 44 of file overlay_manager_observer.hh.
virtual void OnLockChange | ( | OverlayManager * | m, | |
int | id, | |||
bool | lock | |||
) | [inline, virtual] |
called on overlay lock change
Reimplemented in OverlayManagerGUI.
Definition at line 38 of file overlay_manager_observer.hh.
virtual void OnRelease | ( | OverlayManager * | m | ) | [inline, virtual] |
called if observed manager will go out of scope
do not attempt to call OverlayManager::Detach in this routine!
Reimplemented in OverlayManagerGUI.
Definition at line 52 of file overlay_manager_observer.hh.
virtual void OnRemoveOverlay | ( | OverlayManager * | m, | |
int | id | |||
) | [inline, virtual] |
called on removal of an overlay
Reimplemented in OverlayManagerGUI.
Definition at line 46 of file overlay_manager_observer.hh.
virtual void OnVisibilityChange | ( | OverlayManager * | m, | |
int | id, | |||
bool | is_visible | |||
) | [inline, virtual] |
called on overlay visibility change
Reimplemented in OverlayManagerGUI.
Definition at line 40 of file overlay_manager_observer.hh.