![]() |
Middle Europe Productions Library
alpha 1.3.3
|
A MEP::Window manager. With a build in memory management. More...
#include <BaseManager.h>
Public Member Functions | |
| BaseManager ()=default | |
| BaseWindow & | getWindow (MEP::U_int32 ID, MEP::U_int32 group=-1) |
| std::map< MEP::U_int32, std::shared_ptr< BaseWindow > > & | getWindowGroup (MEP::U_int32 group=-1) |
| void | deleteWindow (MEP::U_int32 ID, MEP::U_int32 group=-1) |
| void | deleteWindowGroup (MEP::U_int32 group=-1) |
| void | addWindow (BaseWindow *window, MEP::U_int32 group=-1) |
| BaseWindow & | latestWindow () |
| template<typename Method > | |
| void | execute (Method method) |
| template<typename Method > | |
| void | execute (Method method, MEP::U_int32 group) |
A MEP::Window manager. With a build in memory management.
It manages all of the MEP::Window added to the MEP::Teamplate::Application
|
default |
|
inline |
Adds a new window to back of the m_windows render list.
Window is being renderd only if its Type != NullAction.
MEP::BaseWindow added with this command has lower priority.
It is added at the end of the list.
| [in] | window | : MEP::BaseWindow |
|
inline |
Deletes the window with a given id.
| [in] | window | : unsigned int ID |
|
inline |
Deletes a group of windows.
| [in] | window | : unsigned int ID |
|
inline |
|
inline |
|
inline |
Outputs a reference to a MEP::Window with a given ID number. When you do not access the same window in a row O(logn + logm) n - number of groups, m - number of elements in group. Otherwise O(1)
| [in] | window | : unsigned int ID |
|
inline |
Outputs a group of Windows. O(logn). Where n - a number of groups.
|
inline |