Pioneer
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
SystemView Class Reference

#include <SystemView.h>

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

Public Types

enum class  Mode { Orrery = 0 , Atlas = 1 }
 

Public Member Functions

 SystemView (Game *game)
 
 ~SystemView () override
 
void Update () override
 
void Draw3D () override
 
void OnSwitchFrom () override
 
Mode GetDisplayMode ()
 
void SetDisplayMode (Mode displayMode)
 
TransferPlanner * GetTransferPlanner () const
 
double GetOrbitPlannerStartTime () const
 
SystemMapViewport * GetMap ()
 
- Public Member Functions inherited from PiGuiView
 PiGuiView (std::string name)
 
virtual void Update () override
 
virtual void Draw3D () override
 
virtual void DrawPiGui () override
 
const std::string & GetViewName ()
 
- Public Member Functions inherited from View
 View ()
 
virtual ~View ()
 
virtual void Draw ()
 
virtual void Draw3D ()=0
 
virtual void Update ()=0
 
virtual void DrawPiGui ()
 
virtual void SaveToJson (Json &jsonObj)
 
virtual void LoadFromJson (const Json &jsonObj)
 
void Attach ()
 
void Detach ()
 
void SetRenderer (Graphics::Renderer *r)
 
- Public Member Functions inherited from DeleteEmitter
 DeleteEmitter ()
 
virtual ~DeleteEmitter ()
 
- Public Member Functions inherited from LuaWrappable
virtual ~LuaWrappable ()
 

Additional Inherited Members

- Public Attributes inherited from DeleteEmitter
sigc::signal< void > onDelete
 
virtual void OnSwitchTo ()=0
 
virtual void OnSwitchFrom ()
 
- Protected Attributes inherited from View
Graphics::Renderer * m_renderer
 

Detailed Description

SystemView glues a SystemMapViewport to the PiGuiView framework and handles most user interaction in the context of a running game.

It is responsible for pushing ship contacts and managing the orbit planner interface.

Member Enumeration Documentation

◆ Mode

enum class SystemView::Mode
strong
Enumerator
Orrery 
Atlas 

Constructor & Destructor Documentation

◆ SystemView()

SystemView::SystemView ( Game *  game)
Here is the call graph for this function:

◆ ~SystemView()

SystemView::~SystemView ( )
override

Member Function Documentation

◆ Draw3D()

void SystemView::Draw3D ( )
overridevirtual

Reimplemented from PiGuiView.

Here is the call graph for this function:

◆ GetDisplayMode()

Mode SystemView::GetDisplayMode ( )
inline

◆ GetMap()

SystemMapViewport * SystemView::GetMap ( )
inline

◆ GetOrbitPlannerStartTime()

double SystemView::GetOrbitPlannerStartTime ( ) const
inline
Here is the call graph for this function:

◆ GetTransferPlanner()

TransferPlanner * SystemView::GetTransferPlanner ( ) const
inline

◆ OnSwitchFrom()

void SystemView::OnSwitchFrom ( )
overridevirtual

Reimplemented from View.

◆ SetDisplayMode()

void SystemView::SetDisplayMode ( Mode  displayMode)
inline

◆ Update()

void SystemView::Update ( )
overridevirtual

Reimplemented from PiGuiView.

Here is the call graph for this function:

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