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

CBaseControl Class Reference

#include <Subsystems.h>

Inheritance diagram for CBaseControl:

CDependent CSubsystem CStreamObject CObject CAileronControl CAileronTrimControl CBrakeControl CElevatorControl CElevatorTrimControl CFlapControl CMixtureControl CRudderControl CRudderTrimControl CThrottleControl List of all members.

Public Member Functions

 CBaseControl (void)
virtual int Read (SStream *stream, Tag tag)
void Incr (void)
void Decr (void)

Protected Attributes

float scal
float step
float bend
float posn

Detailed Description

Definition at line 1149 of file Subsystems.h.


Constructor & Destructor Documentation

CBaseControl::CBaseControl void   ) 
 

Definition at line 2567 of file Subsystems.cpp.

References bend, CSubsystem::indn, posn, scal, step, SUBSYSTEM_BASE_CONTROL, and CSubsystem::TypeIs().


Member Function Documentation

void CBaseControl::Decr void   ) 
 

Definition at line 2639 of file Subsystems.cpp.

References DrawNoticeToUser(), CSubsystem::indn, and step.

Referenced by CAirplane::AileronDecr(), CAirplane::AileronTrimDecr(), CAirplane::ElevatorDecr(), CAirplane::ElevatorTrimDecr(), CAirplane::RudderDecr(), and CAirplane::RudderTrimDecr().

void CBaseControl::Incr void   ) 
 

Definition at line 2628 of file Subsystems.cpp.

References DrawNoticeToUser(), CSubsystem::indn, and step.

Referenced by CAirplane::AileronIncr(), CAirplane::AileronTrimIncr(), CAirplane::ElevatorIncr(), CAirplane::ElevatorTrimIncr(), CAirplane::RudderIncr(), and CAirplane::RudderTrimIncr().

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

Reimplemented from CDependent.

Reimplemented in CMixtureControl, and CFlapControl.

Definition at line 2579 of file Subsystems.cpp.

References bend, globals, SGlobals::logWarning, posn, CDependent::Read(), ReadFloat(), scal, step, TAG_IGNORED, TAG_READ, TagToString(), and CLogFile::Write().

Referenced by CFlapControl::Read(), and CMixtureControl::Read().


Member Data Documentation

float CBaseControl::bend [protected]
 

Definition at line 1165 of file Subsystems.h.

Referenced by CBaseControl(), and Read().

float CBaseControl::posn [protected]
 

Definition at line 1166 of file Subsystems.h.

Referenced by CBaseControl(), and Read().

float CBaseControl::scal [protected]
 

Definition at line 1163 of file Subsystems.h.

Referenced by CBaseControl(), and Read().

float CBaseControl::step [protected]
 

Definition at line 1164 of file Subsystems.h.

Referenced by CBaseControl(), Decr(), Incr(), and Read().


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