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)
 
JobSetGetCurrentLoadStepQueue () const
 
JobSetGetAsyncStartupQueue () const
 
- Public Member Functions inherited from GuiApplication
 GuiApplication (std::string title)
 
Graphics::RendererGetRenderer ()
 
Input::ManagerGetInput ()
 
PiGui::InstanceGetPiGui ()
 
- Public Member Functions inherited from Application
 Application ()=default
 
virtual ~Application ()=default
 
void QueueLifecycle (std::shared_ptr< Lifecycle > cycle)
 
void ClearQueuedLifecycles ()
 
void Run ()
 
float DeltaTime ()
 
double GetTime ()
 
void RequestProfileFrame (const std::string &path="")
 

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::RendererStartupRenderer (IniConfig *config, bool hidden=false)
 
Input::ManagerStartupInput (IniConfig *config)
 
PiGui::InstanceStartupPiGui ()
 
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 ()
 
LifecycleGetActiveLifecycle ()
 
void SetProfilerPath (const std::string &)
 
void SetProfileSlowFrames (bool enabled)
 
void SetProfileZones (bool enabled)
 

Friends

class Pi
 
class MainMenu
 
class GameLoop
 
class TombstoneLoop
 

Constructor & Destructor Documentation

◆ App()

Pi::App::App ( )
inlineprotected

Member Function Documentation

◆ GetAsyncStartupQueue()

JobSet * Pi::App::GetAsyncStartupQueue ( ) const

◆ GetCurrentLoadStepQueue()

JobSet * Pi::App::GetCurrentLoadStepQueue ( ) const

◆ 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: