Pioneer
Loading...
Searching...
No Matches
Classes | Public Member Functions | Protected Member Functions | List of all members
Editor::SystemEditor Class Reference

#include <SystemEditor.h>

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

Classes

class  UndoSetSelection
 

Public Member Functions

 SystemEditor (EditorApp *app)
 
 ~SystemEditor ()
 
void NewSystem (SystemPath path)
 
bool LoadSystem (SystemPath path)
 
bool LoadSystemFromDisk (const std::string &absolutePath)
 
bool WriteSystem (const std::string &filepath)
 
RandomGetRng ()
 
RefCountedPtr< GalaxyGetGalaxy ()
 
void SetSelectedBody (SystemBody *body)
 
SystemBodyGetSelectedBody ()
 
void DrawBodyContextMenu (SystemBody *body)
 
- Public Member Functions inherited from Application::Lifecycle
 Lifecycle ()
 
 Lifecycle (bool profilerAccumulate)
 
virtual ~Lifecycle ()
 
void RequestEndLifecycle ()
 
- Public Member Functions inherited from RefCounted
 RefCounted ()
 
virtual ~RefCounted ()
 
void IncRefCount () const
 
void DecRefCount () const
 
int GetRefCount () const
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Protected Member Functions

void Start () override
 
void Update (float deltaTime) override
 
void End () override
 
void HandleInput ()
 
- Protected Member Functions inherited from Application::Lifecycle
virtual void Start ()
 
virtual void Update (float deltaTime)=0
 
virtual void End ()
 
void SetNextLifecycle (RefCountedPtr< Lifecycle > l)
 
bool GetProfilerAccumulate () const
 
void SetProfilerAccumulate (bool enable)
 

Constructor & Destructor Documentation

◆ SystemEditor()

SystemEditor::SystemEditor ( EditorApp app)
Here is the call graph for this function:

◆ ~SystemEditor()

SystemEditor::~SystemEditor ( )

Member Function Documentation

◆ DrawBodyContextMenu()

void SystemEditor::DrawBodyContextMenu ( SystemBody body)
Here is the call graph for this function:

◆ End()

void SystemEditor::End ( )
overrideprotectedvirtual

Reimplemented from Application::Lifecycle.

◆ GetGalaxy()

RefCountedPtr< Galaxy > SystemEditor::GetGalaxy ( )

◆ GetRng()

Random & Editor::SystemEditor::GetRng ( )
inline

◆ GetSelectedBody()

SystemBody * Editor::SystemEditor::GetSelectedBody ( )
inline

◆ HandleInput()

void SystemEditor::HandleInput ( )
protected

◆ LoadSystem()

bool SystemEditor::LoadSystem ( SystemPath  path)
Here is the call graph for this function:

◆ LoadSystemFromDisk()

bool SystemEditor::LoadSystemFromDisk ( const std::string &  absolutePath)
Here is the call graph for this function:

◆ NewSystem()

void SystemEditor::NewSystem ( SystemPath  path)
Here is the call graph for this function:

◆ SetSelectedBody()

void SystemEditor::SetSelectedBody ( SystemBody body)

◆ Start()

void SystemEditor::Start ( )
overrideprotectedvirtual

Reimplemented from Application::Lifecycle.

◆ Update()

void SystemEditor::Update ( float  deltaTime)
overrideprotectedvirtual

Implements Application::Lifecycle.

Here is the call graph for this function:

◆ WriteSystem()

bool SystemEditor::WriteSystem ( const std::string &  filepath)
Here is the call graph for this function:

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