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

CSimulatedVehicle Class Reference

#include <UserVehicles.h>

Inheritance diagram for CSimulatedVehicle:

CStreamObject CObject List of all members.

Public Member Functions

 CSimulatedVehicle (const char *svhFilename)
int Read (SStream *stream, Tag tag)
void ReadFinished (void)
void Write (SStream *stream)

Protected Attributes

Tag type
unsigned int mxdt
char acid [64]
char make [64]
char name [64]
float emas
SVector mine
SVector CofG
float imbl
float iceR
float wingarea
float wingspan
float meanchord
float ceiling
float maxcruisespeed
float approachspeed
float vne
float aoaL
float stallaoa
float posG
float negG
float stallspeed
float blst
float wTrbSpeed
float wTrbTimK
float wTrbCeiling
float wTrbDuration
float nTrbSpeed
float nTrbTimK
float nTrbCeiling
float nTrbDuration
Tag sfxdTag
char sfxdFilename [64]
SMessage mAlt
SMessage mSpd
SMessage mVsi
SMessage mMag
SMessage mRpm

Detailed Description

Definition at line 52 of file UserVehicles.h.


Constructor & Destructor Documentation

CSimulatedVehicle::CSimulatedVehicle const char *  svhFilename  ) 
 

Definition at line 52 of file UserVehicles.cpp.

References CloseStream(), SStream::filename, SStream::mode, OpenStream(), and ReadFrom().


Member Function Documentation

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

Todo:
Create CTable class

Reimplemented from CStreamObject.

Definition at line 65 of file UserVehicles.cpp.

References acid, aoaL, approachspeed, blst, ceiling, CofG, emas, globals, iceR, imbl, SGlobals::logWarning, make, mAlt, maxcruisespeed, meanchord, mine, mMag, mRpm, mSpd, mVsi, mxdt, name, negG, nTrbCeiling, nTrbDuration, nTrbSpeed, nTrbTimK, posG, ReadFloat(), ReadMessage(), ReadString(), ReadTag(), ReadUInt(), ReadVector(), sfxdFilename, sfxdTag, SkipObject(), stallaoa, stallspeed, TAG_IGNORED, TAG_READ, TagToString(), type, vne, wingarea, wingspan, CLogFile::Write(), wTrbCeiling, wTrbDuration, wTrbSpeed, and wTrbTimK.

void CSimulatedVehicle::ReadFinished void   )  [virtual]
 

Reimplemented from CStreamObject.

Definition at line 264 of file UserVehicles.cpp.

void CSimulatedVehicle::Write SStream stream  )  [virtual]
 

Reimplemented from CStreamObject.

Definition at line 268 of file UserVehicles.cpp.


Member Data Documentation

char CSimulatedVehicle::acid[64] [protected]
 

Definition at line 64 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::aoaL [protected]
 

Definition at line 79 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::approachspeed [protected]
 

Definition at line 77 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::blst [protected]
 

Definition at line 84 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::ceiling [protected]
 

Definition at line 75 of file UserVehicles.h.

Referenced by Read().

SVector CSimulatedVehicle::CofG [protected]
 

Definition at line 69 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::emas [protected]
 

Definition at line 67 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::iceR [protected]
 

Definition at line 71 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::imbl [protected]
 

Definition at line 70 of file UserVehicles.h.

Referenced by Read().

char CSimulatedVehicle::make[64] [protected]
 

Definition at line 65 of file UserVehicles.h.

Referenced by Read().

SMessage CSimulatedVehicle::mAlt [protected]
 

Definition at line 99 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::maxcruisespeed [protected]
 

Definition at line 76 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::meanchord [protected]
 

Definition at line 74 of file UserVehicles.h.

Referenced by Read().

SVector CSimulatedVehicle::mine [protected]
 

Definition at line 68 of file UserVehicles.h.

Referenced by Read().

SMessage CSimulatedVehicle::mMag [protected]
 

Definition at line 102 of file UserVehicles.h.

Referenced by Read().

SMessage CSimulatedVehicle::mRpm [protected]
 

Definition at line 103 of file UserVehicles.h.

Referenced by Read().

SMessage CSimulatedVehicle::mSpd [protected]
 

Definition at line 100 of file UserVehicles.h.

Referenced by Read().

SMessage CSimulatedVehicle::mVsi [protected]
 

Definition at line 101 of file UserVehicles.h.

Referenced by Read().

unsigned int CSimulatedVehicle::mxdt [protected]
 

Definition at line 63 of file UserVehicles.h.

Referenced by Read().

char CSimulatedVehicle::name[64] [protected]
 

Definition at line 66 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::negG [protected]
 

Definition at line 82 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::nTrbCeiling [protected]
 

Definition at line 91 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::nTrbDuration [protected]
 

Definition at line 92 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::nTrbSpeed [protected]
 

Definition at line 89 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::nTrbTimK [protected]
 

Definition at line 90 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::posG [protected]
 

Definition at line 81 of file UserVehicles.h.

Referenced by Read().

char CSimulatedVehicle::sfxdFilename[64] [protected]
 

Definition at line 97 of file UserVehicles.h.

Referenced by Read().

Tag CSimulatedVehicle::sfxdTag [protected]
 

Definition at line 96 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::stallaoa [protected]
 

Definition at line 80 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::stallspeed [protected]
 

Definition at line 83 of file UserVehicles.h.

Referenced by Read().

Tag CSimulatedVehicle::type [protected]
 

Definition at line 62 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::vne [protected]
 

Definition at line 78 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::wingarea [protected]
 

Definition at line 72 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::wingspan [protected]
 

Definition at line 73 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::wTrbCeiling [protected]
 

Definition at line 87 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::wTrbDuration [protected]
 

Definition at line 88 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::wTrbSpeed [protected]
 

Definition at line 85 of file UserVehicles.h.

Referenced by Read().

float CSimulatedVehicle::wTrbTimK [protected]
 

Definition at line 86 of file UserVehicles.h.

Referenced by Read().


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