Ritchie's Abstractions 0.2
Platform abstractions that make Toolbox work
Loading...
Searching...
No Matches
Platform Class Referenceabstract

The base class for the foundation on which all life sits atop. More...

Inheritance diagram for Platform:
SdlPlatform

Public Member Functions

void Update ()
 Run a single application update. If the application is running, this pumps the event loop and gets things moving along.
 
void Dispose ()
 

Protected Member Functions

void NotifyQuit ()
 Notify that the application has been quit.
 
void Initialize ()
 Called the first time the platform is updated. This is where you should do first-time initialization.
 
void OnUpdate ()
 Called when the user requests an application update.
 
virtual void Dispose (bool disposing)
 Called when it's time to take out the trash.
 

Properties

bool HasQuit [get]
 Gets a value indicating whether the platform has quit. If it has, then\ subsequent calls to Update will be ignored. You should destroy this platform.
 
IEnumerable< IDisplayDisplays [get]
 Gets a list of all physical displays.
 

Detailed Description

The base class for the foundation on which all life sits atop.

Member Function Documentation

◆ Dispose()

virtual void Dispose ( bool disposing)
inlineprotectedvirtual

Called when it's time to take out the trash.

Parameters
disposingTrue if it's time for you to take out the trash.

Reimplemented in SdlPlatform.


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