Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
QuantumView Class Reference

#include <QuantumView.h>

Inheritance diagram for QuantumView:
View SimObserver

List of all members.

Public Member Functions

 QuantumView (Window *c)
virtual ~QuantumView ()
virtual void Refresh ()
virtual void OnWindowMove ()
virtual void ExecFrame ()
virtual MenuGetQuantumMenu (Ship *ship)
virtual bool IsMenuShown ()
virtual void ShowMenu ()
virtual void CloseMenu ()
virtual bool Update (SimObject *obj)
virtual const char * GetObserverName () const
- Public Member Functions inherited from View
 View (Window *c)
virtual ~View ()
int operator== (const View &that) const
virtual void OnShow ()
virtual void OnHide ()
virtual void SetWindow (Window *w)
virtual WindowGetWindow ()
- Public Member Functions inherited from SimObserver
virtual ~SimObserver ()
int operator== (const SimObserver &o) const
virtual void Observe (SimObject *obj)
virtual void Ignore (SimObject *obj)

Static Public Member Functions

static void SetColor (Color c)
static void Initialize ()
static void Close ()
static QuantumViewGetInstance ()
- Static Public Member Functions inherited from View
static const char * TYPENAME ()
- Static Public Member Functions inherited from SimObserver
static const char * TYPENAME ()

Protected Attributes

int width
int height
double xcenter
double ycenter
Fontfont
Simsim
Shipship
- Protected Attributes inherited from View
Windowwindow
- Protected Attributes inherited from SimObserver
List< SimObjectobserve_list

Static Protected Attributes

static QuantumViewquantum_view = 0

Detailed Description

Definition at line 34 of file QuantumView.h.


Constructor & Destructor Documentation

QuantumView::QuantumView ( Window c)

Definition at line 69 of file QuantumView.cpp.

QuantumView::~QuantumView ( )
virtual

Definition at line 86 of file QuantumView.cpp.


Member Function Documentation

void QuantumView::Close ( )
static

Definition at line 60 of file QuantumView.cpp.

void QuantumView::CloseMenu ( )
virtual

Definition at line 250 of file QuantumView.cpp.

void QuantumView::ExecFrame ( )
virtual

Definition at line 159 of file QuantumView.cpp.

static QuantumView* QuantumView::GetInstance ( )
inlinestatic

Definition at line 59 of file QuantumView.h.

const char * QuantumView::GetObserverName ( ) const
virtual

Reimplemented from SimObserver.

Definition at line 112 of file QuantumView.cpp.

Menu * QuantumView::GetQuantumMenu ( Ship ship)
virtual

Definition at line 258 of file QuantumView.cpp.

void QuantumView::Initialize ( )
static

Definition at line 49 of file QuantumView.cpp.

bool QuantumView::IsMenuShown ( )
virtual

Definition at line 223 of file QuantumView.cpp.

void QuantumView::OnWindowMove ( )
virtual

Reimplemented from View.

Definition at line 92 of file QuantumView.cpp.

void QuantumView::Refresh ( )
virtual

Reimplemented from View.

Definition at line 120 of file QuantumView.cpp.

void QuantumView::SetColor ( Color  c)
static

Definition at line 215 of file QuantumView.cpp.

void QuantumView::ShowMenu ( )
virtual

Definition at line 229 of file QuantumView.cpp.

bool QuantumView::Update ( SimObject obj)
virtual

Reimplemented from SimObserver.

Definition at line 103 of file QuantumView.cpp.


Member Data Documentation

Font* QuantumView::font
protected

Definition at line 65 of file QuantumView.h.

int QuantumView::height
protected

Definition at line 62 of file QuantumView.h.

QuantumView * QuantumView::quantum_view = 0
staticprotected

Definition at line 69 of file QuantumView.h.

Ship* QuantumView::ship
protected

Definition at line 67 of file QuantumView.h.

Sim* QuantumView::sim
protected

Definition at line 66 of file QuantumView.h.

int QuantumView::width
protected

Definition at line 62 of file QuantumView.h.

double QuantumView::xcenter
protected

Definition at line 63 of file QuantumView.h.

double QuantumView::ycenter
protected

Definition at line 63 of file QuantumView.h.


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