Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

CFuelCell Class Reference

#include <Subsystems.h>

Inheritance diagram for CFuelCell:

CFuelSubsystem CDependent CSubsystem CStreamObject CObject List of all members.

Public Member Functions

 CFuelCell (void)
virtual int Read (SStream *stream, Tag tag)
virtual void ReadFinished (void)
virtual EMessageResult ReceiveMessage (SMessage *msg)

Protected Attributes

float cap
float qty
SVector bPos
float basP
float gals

Detailed Description

Definition at line 1713 of file Subsystems.h.


Constructor & Destructor Documentation

CFuelCell::CFuelCell void   ) 
 

Definition at line 4598 of file Subsystems.cpp.

References basP, bPos, cap, gals, qty, SUBSYSTEM_FUEL_CELL, CSubsystem::TypeIs(), SVector::x, SVector::y, and SVector::z.


Member Function Documentation

int CFuelCell::Read SStream stream,
Tag  tag
[virtual]
 

Reimplemented from CFuelSubsystem.

Definition at line 4609 of file Subsystems.cpp.

References basP, bPos, cap, globals, SGlobals::logWarning, qty, CFuelSubsystem::Read(), ReadFloat(), ReadVector(), TAG_IGNORED, TAG_READ, TagToString(), and CLogFile::Write().

void CFuelCell::ReadFinished void   )  [virtual]
 

Reimplemented from CDependent.

Definition at line 4656 of file Subsystems.cpp.

References gals, qty, and CDependent::ReadFinished().

EMessageResult CFuelCell::ReceiveMessage SMessage msg  )  [virtual]
 

Reimplemented from CDependent.

Definition at line 4664 of file Subsystems.cpp.

References gals, MSG_GETDATA, MSG_IGNORED, MSG_PROCESSED, MSG_SETDATA, CSubsystem::MsgForMe(), CDependent::ReceiveMessage(), and TYPE_REAL.


Member Data Documentation

float CFuelCell::basP [protected]
 

Definition at line 1730 of file Subsystems.h.

Referenced by CFuelCell(), and Read().

SVector CFuelCell::bPos [protected]
 

Definition at line 1729 of file Subsystems.h.

Referenced by CFuelCell(), and Read().

float CFuelCell::cap [protected]
 

Definition at line 1727 of file Subsystems.h.

Referenced by CFuelCell(), and Read().

float CFuelCell::gals [protected]
 

Definition at line 1732 of file Subsystems.h.

Referenced by CFuelCell(), ReadFinished(), and ReceiveMessage().

float CFuelCell::qty [protected]
 

Definition at line 1728 of file Subsystems.h.

Referenced by CFuelCell(), Read(), and ReadFinished().


The documentation for this class was generated from the following files:
SourceForge.net Logo Documentation generated by doxygen