System Class. This class defines the basic behaves of System. When we create an new System, we need inherit from this. More...
#include <SystemManager.h>
Public Member Functions | |
| System (const std::string &systemName) | |
| Constructor Function. Init class variable. Usually call it. | |
| virtual | ~System ()=default |
| Destructor Function. | |
| System (const System &)=delete | |
| Copy Constructor Function. | |
| System & | operator= (const System &)=delete |
| Copy Assignment Operation. | |
| virtual void | OnSystemInitialize () |
| This interface defines the behave on specific system initialized. Called when system Pushed to SystemManager. | |
| virtual void | OnSystemShutDown () |
| This interface defines the behave on specific system shutdown. Called when system poped from SystemManager. | |
| virtual void | OnSystemUpdate (TimeStep &ts) |
| This interface defines the behave on specific system updated every frame. | |
| virtual void | OnEvent (Event &event) |
| This interface defines the behave on global event function pointer is called. | |
Protected Attributes | |
| std::string | m_SystemName |
| Specific system name. | |
System Class. This class defines the basic behaves of System. When we create an new System, we need inherit from this.
Definition at line 25 of file SystemManager.h.