![]() |
Middle Europe Productions Library
alpha 1.3.3
|
Template of a custom Middle Europe Productions loading window. More...
#include <Loading.h>
Public Member Functions | |
| template<typename ... ToDo> | |
| Loading (unsigned int ID, MEP::Template::Application &base, ToDo &&... todo) | |
| virtual void | afterUpdate (sf::Time &) |
| ~Loading () | |
Public Member Functions inherited from MEP::Template::BaseTemplate | |
| BaseTemplate ()=default | |
| virtual void | additionalEvents (sf::RenderWindow &, sf::Event &) |
| virtual void | additionalInit () |
Public Member Functions inherited from MEP::BaseWindow | |
| BaseWindow (const unsigned int ID) | |
| BaseWindow (const unsigned int ID, const sf::View &view, const sf::View &master) | |
| virtual bool | render (sf::RenderWindow &Window) |
| void | onResize (const sf::Vector2u &new_res) |
| virtual void | update (sf::Time ¤tTime) |
| virtual void | beforeUpdate (sf::Time &) |
| virtual void | updateRunning (sf::Time ¤tTime) |
| virtual void | updateEntrance (sf::Time ¤tTime) |
| virtual void | updateExit (sf::Time ¤tTime) |
| virtual void | handleEvent (sf::RenderWindow &Window, sf::Event &event) |
| const Status & | getStatus () |
| void | changeStatus (const Status status) |
| void | newObject (DataPackage object) |
| void | newObject (MEP::Drawable *object) |
| void | newObject (MEP::Drawable &object) |
| template<typename ... Values> | |
| void | newObjects (Values &&... values) |
| void | debugOutput (std::ostream &out) |
| unsigned int | getID () const |
| bool | operator== (const unsigned int ID) const |
| bool | operator== (const BaseWindow &x) const |
| virtual | ~BaseWindow () |
Public Member Functions inherited from MEPtools::GroupManager< MEPtools::ToRender, MEPtools::ToRender, std::list< MEPtools::ToRender > > | |
| GroupManager ()=default | |
| bool | _insert (MEP::U_int32 ID, MEP::U_int32 group, MEPtools::ToRender value) |
| MEPtools::ToRender & | _get (MEP::U_int32 ID, MEP::U_int32 group) const |
| std::list< MEPtools::ToRender > & | _getGroup (MEP::U_int32 group) |
| bool | _deleteGroup (MEP::U_int32 group) |
| bool | _deleteElement (MEP::U_int32 ID, MEP::U_int32 group) |
| void | _execute (Method method) |
| bool | _execute (Method method, MEP::U_int32 group) |
| void | _execute (Method method) const |
| bool | _execute (Method method, MEP::U_int32 group) const |
| void | _debugOutput (std::ostream &out, const char *before="", const char *after="") const |
| void | _debugOutput (std::ostream &out, Out method) const |
| unsigned int | _size () const |
| bool | _empty () const |
| void | _clear () |
Public Member Functions inherited from MEP::WindowView | |
| WindowView ()=default | |
| WindowView (const sf::View &view, const sf::View &master) | |
| void | grabWindow () |
| void | releaseWindow () |
| void | moveViewChange (const sf::Vector2i &change) |
| bool | isGrabbed () const |
| bool | customView () const |
| const sf::View & | getView () const |
| void | setView (const sf::View &view) |
| virtual void | moveView (sf::RenderWindow &Window) |
| const sf::View & | getMasterView () const |
Additional Inherited Members | |
Public Types inherited from MEP::BaseWindow | |
| enum | Status { Status::LowEntrance = 0, Status::Entrance = -1, Status::Exit = -2, Status::LowExit = -3, Status::InProgress = -4, Status::Main = -5, Status::NullAction = -6 } |
Protected Attributes inherited from MEP::WindowView | |
| sf::Vector2i | m_windowPossChange |
| bool | m_grabbedWindow = false |
| sf::View | m_view |
| const sf::View * | m_appView = nullptr |
| bool | isCustomViewEnabled = false |
Template of a custom Middle Europe Productions loading window.
Functionalities: The window is capable of execution of given N number of methods on a seperate thread, furthermore, it keeps the track of the exceptions and automatically changes its status to MEP::BaseWindow::Status::Exit when execution of a thread is completed.
|
inline |
Constructor of a MEP::Template::Hub
| [in] | ID | : Window identifier |
| [in] | base | : Reference to a MEP::Template::Application |
| [in] | todo | : Methods that are going to be executed in the background. |
|
inline |
|
inlinevirtual |
If you dont want to ovveride update just use this function. To update things after update call.
| [in] | currontTime | : Current global time. |
Reimplemented from MEP::BaseWindow.