28 #ifndef __OverlayManager_H__
29 #define __OverlayManager_H__
94 void destroyOverlayElementImpl(
const String& instanceName,
ElementMap& elementMap);
98 void destroyAllOverlayElementsImpl(
ElementMap& elementMap);
109 Real getLoadingOrder(
void)
const;
118 void destroy(
const String& name);
120 void destroy(
Overlay* overlay);
122 void destroyAll(
void);
133 bool hasViewportChanged(
void)
const;
136 int getViewportHeight(
void)
const;
139 int getViewportWidth(
void)
const;
140 Real getViewportAspectRatio(
void)
const;
158 bool hasOverlayElement(
const String& name,
bool isTemplate =
false);
165 void destroyOverlayElement(
const String& instanceName,
bool isTemplate =
false);
172 void destroyOverlayElement(
OverlayElement* pInstance,
bool isTemplate =
false);
179 void destroyAllOverlayElements(
bool isTemplate =
false);
211 return (mTemplates.find (strName) != mTemplates.end()) ;
MapIterator< OverlayMap > OverlayMapIterator
A viewpoint from which the scene will be rendered.
StringVector mScriptPatterns
float Real
Software floating point type.
LoadedScripts mLoadedScripts
Template class for creating single-instance global classes.
bool mViewportDimensionsChanged
Defines the interface which all components wishing to supply OverlayElement subclasses must implement...
A 2D element which contains other OverlayElement instances.
Concrete IteratorWrapper for nonconst access to the underlying key-value container.
Manages Overlay objects, parsing them from .overlay files and storing a lookup library of them...
Abstract class defining the interface used by classes which wish to perform script loading to define ...
OrientationMode
Specifies orientation mode.
map< String, OverlayElementFactory * >::type FactoryMap
OrientationMode mLastViewportOrientationMode
map< String, OverlayElement * >::type ElementMap
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
set< String >::type LoadedScripts
vector< String >::type StringVector
const FactoryMap & getOverlayElementFactoryMap() const
Get const access to the list of registered OverlayElement factories.
bool isTemplate(String strName) const
TemplateIterator getTemplateIterator()
Returns an iterator over all templates in this manager.
Abstract definition of a 2D element to be displayed in an Overlay.
An abstraction of a viewport, i.e.
Class to manage the scene object rendering queue.
MapIterator< ElementMap > TemplateIterator
map< String, Overlay * >::type OverlayMap
Represents a layer which is rendered on top of the 'normal' scene contents.