#include <Farcaster.h>
List of all members.
Public Types |
enum | CONSTANTS { NUM_APPROACH_PTS = 4
} |
enum | CATEGORY {
MISC_SYSTEM = 0,
DRIVE = 1,
WEAPON,
SHIELD,
SENSOR,
COMPUTER,
POWER_SOURCE,
FLIGHT_DECK,
FARCASTER
} |
enum | STATUS {
DESTROYED,
CRITICAL,
DEGRADED,
NOMINAL,
MAINT
} |
enum | POWER_FLAGS { POWER_WATTS = 1,
POWER_CRITICAL = 2
} |
Public Member Functions |
| Farcaster (double capacity, double sink_rate) |
| Farcaster (const Farcaster &rhs) |
virtual | ~Farcaster () |
virtual void | ExecFrame (double seconds) |
void | SetShip (Ship *s) |
void | SetDest (Ship *d) |
Point | ApproachPoint (int i) const |
Point | StartPoint () const |
Point | EndPoint () const |
virtual void | SetApproachPoint (int i, Point loc) |
virtual void | SetStartPoint (Point loc) |
virtual void | SetEndPoint (Point loc) |
virtual void | SetCycleTime (double time) |
virtual void | Orient (const Physical *rep) |
virtual bool | Update (SimObject *obj) |
virtual const char * | GetObserverName () const |
const Ship * | GetShip () const |
const Ship * | GetDest () const |
int | ActiveState () const |
double | WarpFactor () const |
| System (CATEGORY t, int s, const char *n, int maxv, double energy=0, double capacity=100, double sink_rate=1) |
| System (const System &s) |
virtual | ~System () |
int | operator== (const System &s) const |
CATEGORY | Type () const |
int | Subtype () const |
const char * | Name () const |
const char * | Abbreviation () const |
void | SetName (const char *n) |
void | SetAbbreviation (const char *a) |
void | SetDesign (SystemDesign *d) |
virtual int | Value () const |
int | MaxValue () const |
STATUS | Status () const |
double | Availability () const |
double | Safety () const |
double | Stability () const |
virtual void | CalcStatus () |
virtual void | Repair () |
double | NetAvail () const |
void | SetNetAvail (double d) |
List< Component > & | GetComponents () |
virtual void | ApplyDamage (double damage) |
virtual void | ExecMaintFrame (double seconds) |
virtual void | DoEMCON (int emcon) |
virtual void | Mount (Point loc, float radius, float hull_factor=0.5f) |
virtual void | Mount (const System &system) |
Point | MountLocation () const |
double | Radius () const |
double | HullProtection () const |
bool | IsPowerCritical () const |
bool | UsesWatts () const |
virtual double | GetRequest (double seconds) const |
virtual void | Distribute (double delivered_energy, double seconds) |
int | GetSourceIndex () const |
void | SetSourceIndex (int i) |
virtual int | Charge () const |
bool | IsPowerOn () const |
virtual void | PowerOn () |
virtual void | PowerOff () |
virtual double | GetPowerLevel () const |
virtual void | SetPowerLevel (double level) |
virtual void | SetOverride (bool over) |
virtual void | DrainPower (double to_level) |
void | SetCapacity (double c) |
double | GetCapacity () const |
double | GetEnergy () const |
double | GetSinkRate () const |
void | SetEMCONPower (int emcon, int power_level) |
int | GetEMCONPower (int emcon) |
int | GetExplosionType () const |
void | SetExplosionType (int t) |
int | GetID () const |
void | SetID (int n) |
virtual | ~SimObserver () |
int | operator== (const SimObserver &o) const |
virtual void | Observe (SimObject *obj) |
virtual void | Ignore (SimObject *obj) |
Protected Member Functions |
virtual void | Jump () |
virtual void | Arrive (Ship *s) |
Additional Inherited Members |
static const char * | TYPENAME () |
static const char * | TYPENAME () |
Detailed Description
Definition at line 31 of file Farcaster.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
Farcaster::Farcaster |
( |
double |
capacity, |
|
|
double |
sink_rate |
|
) |
| |
Farcaster::Farcaster |
( |
const Farcaster & |
rhs | ) |
|
Farcaster::~Farcaster |
( |
| ) |
|
|
virtual |
Member Function Documentation
int Farcaster::ActiveState |
( |
| ) |
const |
|
inline |
Point Farcaster::ApproachPoint |
( |
int |
i | ) |
const |
|
inline |
void Farcaster::Arrive |
( |
Ship * |
s | ) |
|
|
protectedvirtual |
Point Farcaster::EndPoint |
( |
| ) |
const |
|
inline |
void Farcaster::ExecFrame |
( |
double |
seconds | ) |
|
|
virtual |
const Ship* Farcaster::GetDest |
( |
| ) |
const |
|
inline |
const char * Farcaster::GetObserverName |
( |
| ) |
const |
|
virtual |
const Ship* Farcaster::GetShip |
( |
| ) |
const |
|
inline |
void Farcaster::Orient |
( |
const Physical * |
rep | ) |
|
|
virtual |
void Farcaster::SetApproachPoint |
( |
int |
i, |
|
|
Point |
loc |
|
) |
| |
|
virtual |
void Farcaster::SetCycleTime |
( |
double |
time | ) |
|
|
virtual |
void Farcaster::SetDest |
( |
Ship * |
d | ) |
|
|
inline |
void Farcaster::SetEndPoint |
( |
Point |
loc | ) |
|
|
virtual |
void Farcaster::SetShip |
( |
Ship * |
s | ) |
|
|
inline |
void Farcaster::SetStartPoint |
( |
Point |
loc | ) |
|
|
virtual |
Point Farcaster::StartPoint |
( |
| ) |
const |
|
inline |
double Farcaster::WarpFactor |
( |
| ) |
const |
|
inline |
Member Data Documentation
int Farcaster::active_state |
|
protected |
double Farcaster::cycle_time |
|
protected |
Point Farcaster::end_point |
|
protected |
Ship* Farcaster::jumpship |
|
protected |
Point Farcaster::start_point |
|
protected |
Point Farcaster::start_rel |
|
protected |
double Farcaster::warp_fov |
|
protected |
The documentation for this class was generated from the following files: