Pioneer
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | Friends | List of all members
ShipViewController Class Reference

#include <ShipViewController.h>

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

Classes

struct  InputBinding
 

Public Types

enum  CamType { CAM_INTERNAL , CAM_EXTERNAL , CAM_SIDEREAL , CAM_FLYBY }
 

Public Member Functions

 ShipViewController (WorldView *v)
 
 ~ShipViewController ()
 
void Update () override
 
void Activated () override
 
void Deactivated () override
 
void Draw (Camera *camera) override
 
void SetCamType (enum CamType)
 
enum CamType GetCamType () const
 
CameraControllerGetCameraController () const
 
bool IsExteriorView () const
 
void Init ()
 
void LoadFromJson (const Json &jsonObj)
 
void SaveToJson (Json &jsonObj)
 
- Public Member Functions inherited from ViewController
 ViewController (WorldView *v)
 
virtual void Activated ()=0
 
virtual void Deactivated ()=0
 
virtual void Update ()=0
 
virtual void Draw (Camera *camera)=0
 

Public Attributes

sigc::signal< void > onChangeCamType
 
ShipViewController::InputBinding InputBindings
 

Friends

class WorldView
 

Additional Inherited Members

- Protected Attributes inherited from ViewController
WorldViewm_parentView
 

Member Enumeration Documentation

◆ CamType

Enumerator
CAM_INTERNAL 
CAM_EXTERNAL 
CAM_SIDEREAL 
CAM_FLYBY 

Constructor & Destructor Documentation

◆ ShipViewController()

ShipViewController::ShipViewController ( WorldView v)

◆ ~ShipViewController()

ShipViewController::~ShipViewController ( )

Member Function Documentation

◆ Activated()

void ShipViewController::Activated ( )
overridevirtual

Implements ViewController.

Here is the call graph for this function:

◆ Deactivated()

void ShipViewController::Deactivated ( )
overridevirtual

Implements ViewController.

Here is the call graph for this function:

◆ Draw()

void ShipViewController::Draw ( Camera camera)
overridevirtual

Implements ViewController.

Here is the call graph for this function:

◆ GetCameraController()

CameraController * ShipViewController::GetCameraController ( ) const
inline

◆ GetCamType()

enum CamType ShipViewController::GetCamType ( ) const
inline

◆ Init()

void ShipViewController::Init ( )
Here is the call graph for this function:

◆ IsExteriorView()

bool ShipViewController::IsExteriorView ( ) const

◆ LoadFromJson()

void ShipViewController::LoadFromJson ( const Json jsonObj)
Here is the call graph for this function:

◆ SaveToJson()

void ShipViewController::SaveToJson ( Json jsonObj)

◆ SetCamType()

void ShipViewController::SetCamType ( enum CamType  c)
Here is the call graph for this function:

◆ Update()

void ShipViewController::Update ( )
overridevirtual

Implements ViewController.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ WorldView

friend class WorldView
friend

Member Data Documentation

◆ InputBindings

ShipViewController::InputBinding ShipViewController::InputBindings

◆ onChangeCamType

sigc::signal<void> ShipViewController::onChangeCamType

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