Pioneer
Public Member Functions | Protected Member Functions | Friends | List of all members
Pi::App Class Referencefinal

#include <Pi.h>

Inheritance diagram for Pi::App:
Inheritance graph
[legend]
Collaboration diagram for Pi::App:
Collaboration graph
[legend]

Public Member Functions

bool HeadlessMode ()
 
void SetStartPath (const SystemPath &startPath)
 
- Public Member Functions inherited from GuiApplication
 GuiApplication (std::string title)
 
Graphics::Renderer * GetRenderer ()
 
Input::Manager * GetInput ()
 
PiGui::Instance * GetPiGui ()
 
- Public Member Functions inherited from Application
 Application ()
 
virtual ~Application ()
 
void QueueLifecycle (std::shared_ptr< Lifecycle > cycle)
 
void ClearQueuedLifecycles ()
 
void Run ()
 
float DeltaTime ()
 
double GetTime ()
 

Protected Member Functions

 App ()
 
void Startup () override
 
void Shutdown () override
 
void PreUpdate () override
 
void PostUpdate () override
 
void RunJobs ()
 
void HandleRequests ()
 
bool HandleEvent (SDL_Event &ev) override
 
- Protected Member Functions inherited from GuiApplication
void DrawRenderTarget ()
 
Graphics::Renderer * StartupRenderer (IniConfig *config, bool hidden=false)
 
Input::Manager * StartupInput (IniConfig *config)
 
PiGui::Instance * StartupPiGui ()
 
void ShutdownRenderer ()
 
void ShutdownInput ()
 
void ShutdownPiGui ()
 
void BeginFrame () override
 
void EndFrame () override
 
void HandleEvents ()
 
virtual void HandleQuit (SDL_QuitEvent &ev)
 
- Protected Member Functions inherited from Application
void RequestQuit ()
 
Lifecycle * GetActiveLifecycle ()
 

Friends

class Pi
 
class MainMenu
 
class GameLoop
 
class TombstoneLoop
 

Constructor & Destructor Documentation

◆ App()

Pi::App::App ( )
inlineprotected

Member Function Documentation

◆ HandleEvent()

bool Pi::App::HandleEvent ( SDL_Event &  ev)
overrideprotectedvirtual

Reimplemented from GuiApplication.

Here is the call graph for this function:

◆ HandleRequests()

void Pi::App::HandleRequests ( )
protected
Here is the call graph for this function:

◆ HeadlessMode()

bool Pi::App::HeadlessMode ( )
inline

◆ PostUpdate()

void Pi::App::PostUpdate ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ PreUpdate()

void Pi::App::PreUpdate ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ RunJobs()

void Pi::App::RunJobs ( )
protected

◆ SetStartPath()

void Pi::App::SetStartPath ( const SystemPath &  startPath)

◆ Shutdown()

void Pi::App::Shutdown ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ Startup()

void Pi::App::Startup ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ GameLoop

friend class GameLoop
friend

◆ MainMenu

friend class MainMenu
friend

◆ Pi

friend class Pi
friend

◆ TombstoneLoop

friend class TombstoneLoop
friend

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