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

CBKKX155Radio Class Reference

#include <Subsystems.h>

Inheritance diagram for CBKKX155Radio:

CRadio CDependent CSubsystem CStreamObject CObject List of all members.

Public Member Functions

 CBKKX155Radio (void)
virtual ~CBKKX155Radio (void)
virtual EMessageResult ReceiveMessage (SMessage *msg)
virtual void TimeSlice (float dT)
void RescanNavaids (void)

Protected Attributes

float comA
float comS
float navA
float navS
float temp
float comfractstep
float obs
float navd
EBKKX155ComMode comMode
EBKKX155NavMode navMode
SNavaidnavaidList
float navaidTimer
SNavaidnavaidTuned

Detailed Description

Definition at line 1547 of file Subsystems.h.


Constructor & Destructor Documentation

CBKKX155Radio::CBKKX155Radio void   ) 
 

Definition at line 3566 of file Subsystems.cpp.

References COM_MODE_NORMAL, comA, comfractstep, comMode, comS, NAV_MODE_STANDBY, navA, navaidList, navaidTimer, navaidTuned, navd, navMode, navS, obs, SUBSYSTEM_KX155_RADIO, and CSubsystem::TypeIs().

CBKKX155Radio::~CBKKX155Radio void   )  [virtual]
 

Definition at line 3592 of file Subsystems.cpp.

References FreeNavaid(), and navaidList.


Member Function Documentation

EMessageResult CBKKX155Radio::ReceiveMessage SMessage msg  )  [virtual]
 

Reimplemented from CRadio.

Definition at line 3659 of file Subsystems.cpp.

References COM_MODE_NORMAL, COM_MODE_PROGRAM, COM_MODE_SELECT, comA, comfractstep, comMode, comS, gtfo, MSG_GETDATA, MSG_IGNORED, MSG_PROCESSED, MSG_SETDATA, CSubsystem::MsgForMe(), navA, navaidTuned, navd, navS, obs, CRadio::ReceiveMessage(), StepComFreq(), StepNavFreq(), TYPE_INT, TYPE_REAL, TYPE_VOID, and Wrap360().

void CBKKX155Radio::RescanNavaids void   ) 
 

Todo:
Look for closest match?? This assumes there is only one

Definition at line 3877 of file Subsystems.cpp.

References FreeNavaid(), SNavaid::freq, GetLocalNavaids(), navA, NAVAID_TYPE_VOR, navaidList, navaidTuned, SNavaid::next, and SNavaid::type.

Referenced by TimeSlice().

void CBKKX155Radio::TimeSlice float  dT  )  [virtual]
 

Todo:
Initialize all messaging in Prepare() method to avoid having to check here
Todo:
Get voltages from dependent subsystems

Reimplemented from CDependent.

Definition at line 3899 of file Subsystems.cpp.

References CDependent::active, CWorldObject::GetPosition(), globals, GreatCirclePolar(), SVector::h, navaidTimer, navaidTuned, navd, SNavaid::pos, RescanNavaids(), SGlobals::sit, CDependent::TimeSlice(), CSituation::user, and Wrap360().


Member Data Documentation

float CBKKX155Radio::comA [protected]
 

Definition at line 1563 of file Subsystems.h.

Referenced by CBKKX155Radio(), and ReceiveMessage().

float CBKKX155Radio::comfractstep [protected]
 

Definition at line 1568 of file Subsystems.h.

Referenced by CBKKX155Radio(), and ReceiveMessage().

EBKKX155ComMode CBKKX155Radio::comMode [protected]
 

Definition at line 1577 of file Subsystems.h.

Referenced by CBKKX155Radio(), and ReceiveMessage().

float CBKKX155Radio::comS [protected]
 

Definition at line 1563 of file Subsystems.h.

Referenced by CBKKX155Radio(), and ReceiveMessage().

float CBKKX155Radio::navA [protected]
 

Definition at line 1564 of file Subsystems.h.

Referenced by CBKKX155Radio(), ReceiveMessage(), and RescanNavaids().

SNavaid* CBKKX155Radio::navaidList [protected]
 

Definition at line 1580 of file Subsystems.h.

Referenced by CBKKX155Radio(), RescanNavaids(), and ~CBKKX155Radio().

float CBKKX155Radio::navaidTimer [protected]
 

Definition at line 1581 of file Subsystems.h.

Referenced by CBKKX155Radio(), and TimeSlice().

SNavaid* CBKKX155Radio::navaidTuned [protected]
 

Definition at line 1582 of file Subsystems.h.

Referenced by CBKKX155Radio(), ReceiveMessage(), RescanNavaids(), and TimeSlice().

float CBKKX155Radio::navd [protected]
 

Definition at line 1574 of file Subsystems.h.

Referenced by CBKKX155Radio(), ReceiveMessage(), and TimeSlice().

EBKKX155NavMode CBKKX155Radio::navMode [protected]
 

Definition at line 1578 of file Subsystems.h.

Referenced by CBKKX155Radio().

float CBKKX155Radio::navS [protected]
 

Definition at line 1564 of file Subsystems.h.

Referenced by CBKKX155Radio(), and ReceiveMessage().

float CBKKX155Radio::obs [protected]
 

Definition at line 1571 of file Subsystems.h.

Referenced by CBKKX155Radio(), and ReceiveMessage().

float CBKKX155Radio::temp [protected]
 

Definition at line 1565 of file Subsystems.h.


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