Sound Bakery  v0.1.0
Open-source audio middleware for games
Loading...
Searching...
No Matches
Subsystem Class Reference
Inheritance diagram for Subsystem:
Collaboration diagram for Subsystem:

Public Member Functions

 Subsystem (App *appOwner)
 
virtual int PreInit (int ArgC, char *ArgV[])
 Runs as early as possible and provides command line arguments.
 
virtual int Init ()
 Init the subsystem / start.
 
virtual void PreTick (double deltaTime)
 Runs before to tick to get if the app should close or set up a new frame.
 
virtual void Tick (double deltaTime)
 Called every frame regardless of if the app is closing.
 
virtual void TickRendering (double deltaTime)
 Called every frame if the app is NOT closing.
 
virtual void Exit ()
 Called when closing the app.
 
AppGetApp () const
 

Protected Attributes

Appm_app = nullptr
 

Member Function Documentation

◆ Exit()

virtual void Subsystem::Exit ( )
inlinevirtual

Called when closing the app.

Reimplemented in RendererSubsystem, and WidgetSubsystem.

◆ Init()

virtual int Subsystem::Init ( )
inlinevirtual

Init the subsystem / start.

Returns
int Returns for success and greater than 0 for error

Reimplemented in RendererSubsystem, and WidgetSubsystem.

◆ PreInit()

virtual int Subsystem::PreInit ( int  ArgC,
char *  ArgV[] 
)
inlinevirtual

Runs as early as possible and provides command line arguments.

Parameters
ArgCCommand line arguments count
ArgVCommand line arguments array
Returns
int Returns for success and greater than 0 for error

Reimplemented in RendererSubsystem.

◆ PreTick()

virtual void Subsystem::PreTick ( double  deltaTime)
inlinevirtual

Runs before to tick to get if the app should close or set up a new frame.

Reimplemented in RendererSubsystem.

◆ Tick()

virtual void Subsystem::Tick ( double  deltaTime)
inlinevirtual

Called every frame regardless of if the app is closing.

Reimplemented in RendererSubsystem, and WidgetSubsystem.

◆ TickRendering()

virtual void Subsystem::TickRendering ( double  deltaTime)
inlinevirtual

Called every frame if the app is NOT closing.

Reimplemented in RendererSubsystem.


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