Emergency 20 Dokumentation  4.2.0
em5::OverlayWindowManager Class Referenceabstract

EMERGENCY 5 overlay window manager base class. More...

#include <OverlayWindowManager.h>

Inheritance diagram for em5::OverlayWindowManager:
qsf::WeakPtrTarget em5::BuildingOverlayWindowManager em5::StatusOverlayWindowManager

Public Member Functions

 OverlayWindowManager (qsf::GuiContext &guiContext)
 
virtual ~OverlayWindowManager ()
 
qsf::GuiContextgetGuiContext () const
 
virtual void setAllOverlaysVisible (bool visible)=0
 Set the visibility state of all overlays. More...
 
virtual OverlayWindowgetOverlayWindowInstance (uint64 entityId)=0
 Return a new or a resuable status overlay window instance. More...
 
virtual void releaseOverlayWindowInstance (uint64 entityId)=0
 Return the status overlay window instance. More...
 

Additional Inherited Members

- Protected Member Functions inherited from qsf::WeakPtrTarget
 WeakPtrTarget ()
 Default constructor. More...
 
 WeakPtrTarget (const WeakPtrTarget &other)
 Copy constructor. More...
 
 WeakPtrTarget (WeakPtrTarget &&)=delete
 Delete the move constructor, as WeakPtrTarget would need a proper move constructor-implementation that ensures that its pointer gets updated in the WeakPtrBase as well. More...
 
 ~WeakPtrTarget ()
 Destructor. More...
 
void invalidateAllWeakPtr ()
 Invalidate all weak pointers to this object. More...
 
void operator= (const WeakPtrTarget &other)
 Copy operator. More...
 

Detailed Description

EMERGENCY 5 overlay window manager base class.

Constructor & Destructor Documentation

em5::OverlayWindowManager::OverlayWindowManager ( qsf::GuiContext guiContext)
explicit
virtual em5::OverlayWindowManager::~OverlayWindowManager ( )
virtual

Member Function Documentation

qsf::GuiContext& em5::OverlayWindowManager::getGuiContext ( ) const
virtual OverlayWindow* em5::OverlayWindowManager::getOverlayWindowInstance ( uint64  entityId)
pure virtual

Return a new or a resuable status overlay window instance.

Parameters
[in]entityIdThe entity which orders the status overlay window

Implemented in em5::BuildingOverlayWindowManager, and em5::StatusOverlayWindowManager.

virtual void em5::OverlayWindowManager::releaseOverlayWindowInstance ( uint64  entityId)
pure virtual

Return the status overlay window instance.

Parameters
[in]entityIdThe entity which release the overlay window

Implemented in em5::BuildingOverlayWindowManager, and em5::StatusOverlayWindowManager.

virtual void em5::OverlayWindowManager::setAllOverlaysVisible ( bool  visible)
pure virtual

Set the visibility state of all overlays.

Parameters
[in]visible"true" to make all active overlays visible, else "false"

Implemented in em5::BuildingOverlayWindowManager, and em5::StatusOverlayWindowManager.


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