SpiecsEngine
 
Loading...
Searching...
No Matches
Spices::System Class Reference

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>

Inheritance diagram for Spices::System:
Spices::NativeScriptSystem Spices::RenderSystem Spices::ResourceSystem Spices::SlateSystem

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.
 
Systemoperator= (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.
 

Detailed Description

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.


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