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

CADFRadio Class Reference

#include <Subsystems.h>

Inheritance diagram for CADFRadio:

CNavRadio CRadio CDependent CSubsystem CStreamObject CObject List of all members.

Public Member Functions

 CADFRadio (void)
virtual int Read (SStream *stream, Tag tag)
virtual EMessageResult ReceiveMessage (SMessage *msg)
virtual void TimeSlice (float dT)
void ChangeADFFrequency (float &freq, int digit, int change)

Protected Attributes

bool adf
bool frq
bool bfo
bool flt
bool et
bool etst
bool fltStored
bool etStored
float ftime
float etime
bool frct
bool tone
float volu

Detailed Description

Definition at line 1494 of file Subsystems.h.


Constructor & Destructor Documentation

CADFRadio::CADFRadio void   ) 
 

Definition at line 3200 of file Subsystems.cpp.

References adf, bfo, et, etime, etst, flt, frq, ftime, CRadio::hfrq, CRadio::lfrq, NAVAID_TYPE_NDB, CNavRadio::navaidFilter, CNavRadio::navd, CRadio::sinc, CNavRadio::stby, SUBSYSTEM_ADF_RADIO, CRadio::test, tone, CRadio::tune, CSubsystem::TypeIs(), and volu.


Member Function Documentation

void CADFRadio::ChangeADFFrequency float &  freq,
int  digit,
int  change
 

Definition at line 3289 of file Subsystems.cpp.

Referenced by ReceiveMessage().

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

Reimplemented from CNavRadio.

Definition at line 3226 of file Subsystems.cpp.

References adf, bfo, et, etime, etst, flt, ftime, globals, SGlobals::logWarning, CNavRadio::Read(), ReadInt(), TAG_IGNORED, TAG_READ, TagToString(), tone, and CLogFile::Write().

EMessageResult CADFRadio::ReceiveMessage SMessage msg  )  [virtual]
 

Reimplemented from CNavRadio.

Definition at line 3317 of file Subsystems.cpp.

References adf, bfo, ChangeADFFrequency(), et, etime, etStored, flt, fltStored, frq, ftime, MSG_GETDATA, MSG_IGNORED, MSG_PROCESSED, MSG_SETDATA, CSubsystem::MsgForMe(), CNavRadio::ReceiveMessage(), CNavRadio::stby, CRadio::tune, TYPE_INT, TYPE_REAL, and volu.

void CADFRadio::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 CNavRadio.

Definition at line 3543 of file Subsystems.cpp.

References CDependent::active, etime, ftime, and CNavRadio::TimeSlice().


Member Data Documentation

bool CADFRadio::adf [protected]
 

Definition at line 1510 of file Subsystems.h.

Referenced by CADFRadio(), Read(), and ReceiveMessage().

bool CADFRadio::bfo [protected]
 

Definition at line 1512 of file Subsystems.h.

Referenced by CADFRadio(), Read(), and ReceiveMessage().

bool CADFRadio::et [protected]
 

Definition at line 1514 of file Subsystems.h.

Referenced by CADFRadio(), Read(), and ReceiveMessage().

float CADFRadio::etime [protected]
 

Definition at line 1521 of file Subsystems.h.

Referenced by CADFRadio(), Read(), ReceiveMessage(), and TimeSlice().

bool CADFRadio::etst [protected]
 

Definition at line 1517 of file Subsystems.h.

Referenced by CADFRadio(), and Read().

bool CADFRadio::etStored [protected]
 

Definition at line 1519 of file Subsystems.h.

Referenced by ReceiveMessage().

bool CADFRadio::flt [protected]
 

Definition at line 1513 of file Subsystems.h.

Referenced by CADFRadio(), Read(), and ReceiveMessage().

bool CADFRadio::fltStored [protected]
 

Definition at line 1518 of file Subsystems.h.

Referenced by ReceiveMessage().

bool CADFRadio::frct [protected]
 

Definition at line 1524 of file Subsystems.h.

bool CADFRadio::frq [protected]
 

Definition at line 1511 of file Subsystems.h.

Referenced by CADFRadio(), and ReceiveMessage().

float CADFRadio::ftime [protected]
 

Definition at line 1520 of file Subsystems.h.

Referenced by CADFRadio(), Read(), ReceiveMessage(), and TimeSlice().

bool CADFRadio::tone [protected]
 

Definition at line 1525 of file Subsystems.h.

Referenced by CADFRadio(), and Read().

float CADFRadio::volu [protected]
 

Definition at line 1526 of file Subsystems.h.

Referenced by CADFRadio(), and ReceiveMessage().


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