Pioneer
Public Member Functions | Protected Member Functions | List of all members
GuiApplication Class Reference

#include <GuiApplication.h>

Inheritance diagram for GuiApplication:
Inheritance graph
[legend]
Collaboration diagram for GuiApplication:
Collaboration graph
[legend]

Public Member Functions

 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

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 bool HandleEvent (SDL_Event &ev)
 
virtual void HandleQuit (SDL_QuitEvent &ev)
 
- Protected Member Functions inherited from Application
virtual void Startup ()
 
virtual void Shutdown ()
 
virtual void PreUpdate ()
 
virtual void PostUpdate ()
 
void RequestQuit ()
 
Lifecycle * GetActiveLifecycle ()
 

Constructor & Destructor Documentation

◆ GuiApplication()

GuiApplication::GuiApplication ( std::string  title)
inline

Member Function Documentation

◆ BeginFrame()

void GuiApplication::BeginFrame ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ DrawRenderTarget()

void GuiApplication::DrawRenderTarget ( )
protected
Here is the call graph for this function:

◆ EndFrame()

void GuiApplication::EndFrame ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ GetInput()

Input::Manager* GuiApplication::GetInput ( )
inline

◆ GetPiGui()

PiGui::Instance* GuiApplication::GetPiGui ( )
inline
Here is the call graph for this function:

◆ GetRenderer()

Graphics::Renderer* GuiApplication::GetRenderer ( )
inline

◆ HandleEvent()

virtual bool GuiApplication::HandleEvent ( SDL_Event &  ev)
inlineprotectedvirtual

Reimplemented in Pi::App.

◆ HandleEvents()

void GuiApplication::HandleEvents ( )
protected
Here is the call graph for this function:

◆ HandleQuit()

virtual void GuiApplication::HandleQuit ( SDL_QuitEvent &  ev)
inlineprotectedvirtual
Here is the call graph for this function:

◆ ShutdownInput()

void GuiApplication::ShutdownInput ( )
protected

◆ ShutdownPiGui()

void GuiApplication::ShutdownPiGui ( )
protected
Here is the call graph for this function:

◆ ShutdownRenderer()

void GuiApplication::ShutdownRenderer ( )
protected

◆ StartupInput()

Input::Manager * GuiApplication::StartupInput ( IniConfig *  config)
protected

◆ StartupPiGui()

PiGui::Instance * GuiApplication::StartupPiGui ( )
protected
Here is the call graph for this function:

◆ StartupRenderer()

Graphics::Renderer * GuiApplication::StartupRenderer ( IniConfig *  config,
bool  hidden = false 
)
protected
Here is the call graph for this function:

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