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

#include <FlightDeck.h>

Inheritance diagram for InboundSlot:
SimObserver

List of all members.

Public Member Functions

 InboundSlot ()
 InboundSlot (Ship *s, FlightDeck *d, int squad, int index)
int operator< (const InboundSlot &that) const
int operator<= (const InboundSlot &that) const
int operator== (const InboundSlot &that) const
virtual bool Update (SimObject *obj)
virtual const char * GetObserverName () const
ShipGetShip ()
FlightDeckGetDeck ()
int Squadron ()
int Index ()
int Cleared ()
int Final ()
int Approach ()
Point Offset ()
double Distance ()
void SetApproach (int a)
void SetOffset (const Point &p)
void SetFinal (int f)
void Clear (bool clear=true)
- 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 const char * TYPENAME ()

Additional Inherited Members

- Protected Attributes inherited from SimObserver
List< SimObjectobserve_list

Detailed Description

Definition at line 38 of file FlightDeck.h.


Constructor & Destructor Documentation

InboundSlot::InboundSlot ( )
inline

Definition at line 43 of file FlightDeck.h.

InboundSlot::InboundSlot ( Ship s,
FlightDeck d,
int  squad,
int  index 
)

Definition at line 70 of file FlightDeck.cpp.


Member Function Documentation

int InboundSlot::Approach ( )
inline

Definition at line 60 of file FlightDeck.h.

void InboundSlot::Clear ( bool  clear = true)

Definition at line 136 of file FlightDeck.cpp.

int InboundSlot::Cleared ( )
inline

Definition at line 58 of file FlightDeck.h.

double InboundSlot::Distance ( )

Definition at line 142 of file FlightDeck.cpp.

int InboundSlot::Final ( )
inline

Definition at line 59 of file FlightDeck.h.

FlightDeck* InboundSlot::GetDeck ( )
inline

Definition at line 55 of file FlightDeck.h.

const char * InboundSlot::GetObserverName ( ) const
virtual

Reimplemented from SimObserver.

Definition at line 180 of file FlightDeck.cpp.

Ship* InboundSlot::GetShip ( )
inline

Definition at line 54 of file FlightDeck.h.

int InboundSlot::Index ( )
inline

Definition at line 57 of file FlightDeck.h.

Point InboundSlot::Offset ( )
inline

Definition at line 61 of file FlightDeck.h.

int InboundSlot::operator< ( const InboundSlot that) const

Definition at line 80 of file FlightDeck.cpp.

int InboundSlot::operator<= ( const InboundSlot that) const

Definition at line 109 of file FlightDeck.cpp.

int InboundSlot::operator== ( const InboundSlot that) const

Definition at line 131 of file FlightDeck.cpp.

void InboundSlot::SetApproach ( int  a)
inline

Definition at line 64 of file FlightDeck.h.

void InboundSlot::SetFinal ( int  f)
inline

Definition at line 66 of file FlightDeck.h.

void InboundSlot::SetOffset ( const Point p)
inline

Definition at line 65 of file FlightDeck.h.

int InboundSlot::Squadron ( )
inline

Definition at line 56 of file FlightDeck.h.

static const char* InboundSlot::TYPENAME ( )
inlinestatic

Reimplemented from SimObserver.

Definition at line 41 of file FlightDeck.h.

bool InboundSlot::Update ( SimObject obj)
virtual

Reimplemented from SimObserver.

Definition at line 154 of file FlightDeck.cpp.


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