Public Member Functions | Protected Attributes | Friends | List of all members
ion::CStateManager Class Reference

#include <CStateManager.h>

Inheritance diagram for ion::CStateManager:
Inheritance graph
[legend]
Collaboration diagram for ion::CStateManager:
Collaboration graph
[legend]

Public Member Functions

void SetState (IState *State)
 
void DoStateChange ()
 
void Update (float const ElapsedTime)
 
void Connect (CWindow *Window)
 
void ShutDown ()
 
- Public Member Functions inherited from IEventListener
virtual void OnEvent (IEvent &Event)
 
void AddListener (IEventListener *Listener)
 
void RemoveListener (IEventListener *Listener)
 
void TriggerEvent (IEvent &Event)
 
- Public Member Functions inherited from ion::IMultiTreeNode< IEventListener >
set< IEventListener * > const & GetChildren () const
 
void AddChild (IEventListener *Child)
 
void RemoveChild (IEventListener *Child)
 
void RemoveAllChildren ()
 
void RecurseOnChildren (Return(IEventListener::*Function)())
 
void RecurseOnChildren (Return(IEventListener::*Function)(P1), P1 p1)
 
void RecurseOnChildren (Return(IEventListener::*Function)(P1, P2), P1 p1, P2 p2)
 

Protected Attributes

IStateCurrentState = nullptr
 
IStateNextState = nullptr
 
- Protected Attributes inherited from ion::IMultiTreeNode< IEventListener >
set< IEventListener * > Children
 

Friends

class Singleton< CStateManager >
 

Additional Inherited Members

- Static Public Member Functions inherited from ion::Singleton< CStateManager >
static CStateManagerGet ()
 
static CStateManagerGetPointer ()
 
- Protected Member Functions inherited from ion::Singleton< CStateManager >
 Singleton ()
 
- Protected Member Functions inherited from ion::IMultiTreeNode< IEventListener >
 IMultiTreeNode ()
 

Member Function Documentation

void ion::CStateManager::Connect ( CWindow Window)
void ion::CStateManager::DoStateChange ( )
void ion::CStateManager::SetState ( IState State)
void ion::CStateManager::ShutDown ( )
void ion::CStateManager::Update ( float const  ElapsedTime)

Friends And Related Function Documentation

friend class Singleton< CStateManager >
friend

Member Data Documentation

IState* ion::CStateManager::CurrentState = nullptr
protected
IState* ion::CStateManager::NextState = nullptr
protected

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