OpenStructure
Public Member Functions
OverlayManagerObserver Class Reference

#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)
 

Detailed Description

Abstract observer base class for the OverlayManager.

Definition at line 33 of file overlay_manager_observer.hh.

Constructor & Destructor Documentation

◆ ~OverlayManagerObserver()

virtual ~OverlayManagerObserver ( )
inlinevirtual

Definition at line 35 of file overlay_manager_observer.hh.

Member Function Documentation

◆ OnActivate()

virtual void OnActivate ( OverlayManager m,
int  id 
)
inlinevirtual

called on overlay activation

Reimplemented in OverlayManagerGUI.

Definition at line 42 of file overlay_manager_observer.hh.

◆ OnAddOverlay()

virtual void OnAddOverlay ( OverlayManager m,
int  id 
)
inlinevirtual

called on addition of an overlay

Reimplemented in OverlayManagerGUI.

Definition at line 44 of file overlay_manager_observer.hh.

◆ OnLockChange()

virtual void OnLockChange ( OverlayManager m,
int  id,
bool  lock 
)
inlinevirtual

called on overlay lock change

Reimplemented in OverlayManagerGUI.

Definition at line 38 of file overlay_manager_observer.hh.

◆ OnRelease()

virtual void OnRelease ( OverlayManager m)
inlinevirtual

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.

◆ OnRemoveOverlay()

virtual void OnRemoveOverlay ( OverlayManager m,
int  id 
)
inlinevirtual

called on removal of an overlay

Reimplemented in OverlayManagerGUI.

Definition at line 46 of file overlay_manager_observer.hh.

◆ OnVisibilityChange()

virtual void OnVisibilityChange ( OverlayManager m,
int  id,
bool  is_visible 
)
inlinevirtual

called on overlay visibility change

Reimplemented in OverlayManagerGUI.

Definition at line 40 of file overlay_manager_observer.hh.


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