Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Friends | List of all members
Editor::EditorApp Class Reference

#include <EditorApp.h>

Inheritance diagram for Editor::EditorApp:
Inheritance graph
[legend]
Collaboration diagram for Editor::EditorApp:
Collaboration graph
[legend]

Public Member Functions

 EditorApp ()
 
 ~EditorApp ()
 
void Initialize (argh::parser &cmdline)
 
void AddLoadingTask (TaskSet::Handle handle)
 
void SetAppName (std::string_view name)
 
template<typename T , typename ... Args>
RefCountedPtr< T > PushModal (Args &&...args)
 
- Public Member Functions inherited from GuiApplication
 GuiApplication (std::string title)
 
 ~GuiApplication ()
 
Graphics::RendererGetRenderer ()
 
Input::ManagerGetInput ()
 
PiGui::InstanceGetPiGui ()
 
Graphics::RenderTargetGetRenderTarget ()
 
const Graphics::SettingsGetGraphicsSettings ()
 
- Public Member Functions inherited from Application
 Application ()
 
virtual ~Application ()
 
void QueueLifecycle (RefCountedPtr< Lifecycle > cycle)
 
void ClearQueuedLifecycles ()
 
void Startup ()
 
void Run ()
 
void Shutdown ()
 
float DeltaTime ()
 
double GetTime ()
 
TaskGraphGetTaskGraph ()
 
JobQueueGetSyncJobQueue ()
 
JobQueueGetAsyncJobQueue ()
 
void RequestProfileFrame (const std::string &path="")
 

Static Public Member Functions

static EditorAppGet ()
 

Protected Member Functions

void OnStartup () override
 
void OnShutdown () override
 
void PreUpdate () override
 
void PostUpdate () override
 
std::vector< TaskSet::Handle > & GetLoadingTasks ()
 
- Protected Member Functions inherited from GuiApplication
void SetupProfiler (IniConfig *config)
 
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 ()
 
void PollEvents ()
 
void DispatchEvents ()
 
virtual void HandleQuit (SDL_QuitEvent &ev)
 
- Protected Member Functions inherited from Application
virtual void OnStartup ()
 
virtual void OnShutdown ()
 
virtual void HandleJobs ()
 
virtual void BeginFrame ()
 
virtual void PreUpdate ()
 
virtual void PostUpdate ()
 
virtual void EndFrame ()
 
void RequestQuit ()
 
LifecycleGetActiveLifecycle ()
 
void SetProfilerPath (const std::string &)
 
void SetProfileSlowFrames (bool enabled)
 
void SetProfileZones (bool enabled)
 
void SetProfileTrace (bool enabled)
 

Friends

class LoadingPhase
 

Constructor & Destructor Documentation

◆ EditorApp()

EditorApp::EditorApp ( )

◆ ~EditorApp()

EditorApp::~EditorApp ( )

Member Function Documentation

◆ AddLoadingTask()

void EditorApp::AddLoadingTask ( TaskSet::Handle  handle)

◆ Get()

EditorApp * EditorApp::Get ( )
static
Here is the call graph for this function:

◆ GetLoadingTasks()

std::vector< TaskSet::Handle > & Editor::EditorApp::GetLoadingTasks ( )
inlineprotected

◆ Initialize()

void EditorApp::Initialize ( argh::parser &  cmdline)
Here is the call graph for this function:

◆ OnShutdown()

void EditorApp::OnShutdown ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ OnStartup()

void EditorApp::OnStartup ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ PostUpdate()

void EditorApp::PostUpdate ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ PreUpdate()

void EditorApp::PreUpdate ( )
overrideprotectedvirtual

Reimplemented from Application.

Here is the call graph for this function:

◆ PushModal()

template<typename T , typename ... Args>
RefCountedPtr< T > Editor::EditorApp::PushModal ( Args &&...  args)
inline

◆ SetAppName()

void EditorApp::SetAppName ( std::string_view  name)

Friends And Related Function Documentation

◆ LoadingPhase

friend class LoadingPhase
friend

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