Public Member Functions | |
| bool | addView (View *view, const bool persitent=true) |
| View * | getView (const ViewId v_id) |
| void | releaseView (const ViewId v_id) |
| void | setViewPersistence (ViewId v_id, const bool persistence) |
| UInt32 | getCurrentUpdateNumber () const |
| void | newCycle () |
| void | updateAfterCoachMessage () |
| void | updateAfterInit () |
| void | updateAfterSee () |
| void | updateAfterHear () |
| void | updateAfterSense () |
| void | updateAfterCommand () |
| void | forEach (void(*fn)(View *)) |
Static Public Member Functions | |
| ViewManager * | instance () |
| Retreive the only instance of the ViewManager class. | |
Protected Member Functions | |
| void | forEach (ViewUpdateResult(View::*fn)(const UInt32), const UInt32) |
Protected Attributes | |
| std::map< ViewId, ViewData > | theViews |
| UInt32 | currentUpdateNumber |
It is a model of the design pattern Singleton, which means that there is only one instance of this class in the system. This instance can only be accessed from the ViewManager::instance() method, which returns a pointer to the only instance of the class.
Definition at line 80 of file ViewManager.h.
1.3-rc3