Desktop/FinalOpenEaagles/FinalOpenEaagles/dafif/dafifc.h File Reference

This graph shows which files directly or indirectly include this file:


Namespaces

namespace  Eaagles
namespace  Eaagles::Dafif

Defines

#define MHZ2KHZ(mhz)   (mhz*1000.0f)
#define MHZ2HHZ(mhz)   ((int)(mhz*10000.0f+0.5f))
#define KHZ2MHZ(khz)   (khz/1000.0f)
#define KHZ2HHZ(khz)   ((int)(khz*10.0f+0.5f))
#define HHZ2MHZ(hhz)   ((float)hhz/10000.0f)
#define HHZ2KHZ(hhz)   ((float)hhz/10.0f)
#define CMP_FREQ(mhz1, mhz2)   (MHZ2HHZ(mhz1)==MHZ2HHZ(mhz2))

Variables

const int Eaagles::Dafif::FORMAT_CODE_POS = 1
const int Eaagles::Dafif::FORMAT_CODE_LEN = 2
const int Eaagles::Dafif::TRANSACTION_CODE_POS = 3
const int Eaagles::Dafif::TRANSACTION_CODE_LEN = 1
const int Eaagles::Dafif::ICAO_CODE_POS = 4
const int Eaagles::Dafif::ICAO_CODE_LEN = 4
const int Eaagles::Dafif::RECORD_NUMBER_POS = 133
const int Eaagles::Dafif::RECORD_NUMBER_LEN = 6
const int Eaagles::Dafif::CYCLE_DATE_POS = 139
const int Eaagles::Dafif::CYCLE_DATE_LEN = 4
const int Eaagles::Dafif::AIRPORT_RECORD_LEN = 142
const int Eaagles::Dafif::AP_KEY_POS = 8
const int Eaagles::Dafif::AP_KEY_LEN = 7
const int Eaagles::Dafif::AP_IDENT_POS = 55
const int Eaagles::Dafif::AP_IDENT_LEN = 4
const int Eaagles::Dafif::AP_NAME_POS = 15
const int Eaagles::Dafif::AP_NAME_LEN = 38
const int Eaagles::Dafif::AP_TYPE_POS = 108
const int Eaagles::Dafif::AP_TYPE_LEN = 1
const int Eaagles::Dafif::AP_CCODE_POS = 8
const int Eaagles::Dafif::AP_CCODE_LEN = 2
const int Eaagles::Dafif::AP_STATE_POS = 53
const int Eaagles::Dafif::AP_STATE_LEN = 2
const int Eaagles::Dafif::AP_WAC_POS = 121
const int Eaagles::Dafif::AP_WAC_LEN = 4
const int Eaagles::Dafif::AP_LATITUDE = 59
const int Eaagles::Dafif::AP_LONGITUDE = 68
const int Eaagles::Dafif::AP_ELEVATION = 103
const int Eaagles::Dafif::AP_MAGVAR = 109
const int Eaagles::Dafif::RUNWAY_RECORD_LEN = 284
const int Eaagles::Dafif::RW_LE_IDENT_POS = 18
const int Eaagles::Dafif::RW_LE_LATITUDE_POS = (142+21)
const int Eaagles::Dafif::RW_LE_LONGITUDE_POS = (142+30)
const int Eaagles::Dafif::RW_LE_ELEVATION_POS = (142+59)
const int Eaagles::Dafif::RW_LE_SLOPE_POS = (142+65)
const int Eaagles::Dafif::RW_LE_MAGHDG_POS = 25
const int Eaagles::Dafif::RW_HE_IDENT_POS = 15
const int Eaagles::Dafif::RW_HE_LATITUDE_POS = 49
const int Eaagles::Dafif::RW_HE_LONGITUDE_POS = 58
const int Eaagles::Dafif::RW_HE_ELEVATION_POS = 87
const int Eaagles::Dafif::RW_HE_SLOPE_POS = 93
const int Eaagles::Dafif::RW_HE_MAGHDG_POS = 21
const int Eaagles::Dafif::RW_XE_IDENT_LEN = 3
const int Eaagles::Dafif::RW_XE_SLOPE_LEN = 3
const int Eaagles::Dafif::RW_XE_MAGHDG_LEN = 4
const int Eaagles::Dafif::RW_KEY_POS = 8
const int Eaagles::Dafif::RW_KEY_LEN = 13
const int Eaagles::Dafif::RW_APKEY_POS = 8
const int Eaagles::Dafif::RW_IDENT_POS = 15
const int Eaagles::Dafif::RW_IDENT_LEN = 6
const int Eaagles::Dafif::RW_NAME_POS = 0
const int Eaagles::Dafif::RW_NAME_LEN = 0
const int Eaagles::Dafif::RW_TYPE_POS = 0
const int Eaagles::Dafif::RW_TYPE_LEN = 0
const int Eaagles::Dafif::RW_CCODE_POS = 0
const int Eaagles::Dafif::RW_CCODE_LEN = 0
const int Eaagles::Dafif::RW_STATE_POS = 0
const int Eaagles::Dafif::RW_STATE_LEN = 0
const int Eaagles::Dafif::RW_WAC_POS = 0
const int Eaagles::Dafif::RW_WAC_LEN = 0
const int Eaagles::Dafif::RW_LATITUDE = RW_HE_LATITUDE_POS
const int Eaagles::Dafif::RW_LONGITUDE = RW_HE_LONGITUDE_POS
const int Eaagles::Dafif::RW_ELEVATION = RW_HE_ELEVATION_POS
const int Eaagles::Dafif::RW_MAGVAR = 0
const int Eaagles::Dafif::RW_WIDTH_POS = 34
const int Eaagles::Dafif::RW_WIDTH_LEN = 5
const int Eaagles::Dafif::RW_LENGTH_POS = 29
const int Eaagles::Dafif::RW_LENGTH_LEN = 5
const int Eaagles::Dafif::ILS_RECORD_LEN = 284
const int Eaagles::Dafif::ILS_KEY_POS = 8
const int Eaagles::Dafif::ILS_KEY_LEN = 11
const int Eaagles::Dafif::ILS_IDENT_POS = (142+38)
const int Eaagles::Dafif::ILS_IDENT_LEN = 5
const int Eaagles::Dafif::ILS_NAME_POS = 21
const int Eaagles::Dafif::ILS_NAME_LEN = 38
const int Eaagles::Dafif::ILS_TYPE_POS = 18
const int Eaagles::Dafif::ILS_TYPE_LEN = 1
const int Eaagles::Dafif::ILS_CLTYPE_POS = 19
const int Eaagles::Dafif::ILS_CLTYPE_LEN = 1
const int Eaagles::Dafif::ILS_CCODE_POS = 0
const int Eaagles::Dafif::ILS_CCODE_LEN = 0
const int Eaagles::Dafif::ILS_STATE_POS = 0
const int Eaagles::Dafif::ILS_STATE_LEN = 0
const int Eaagles::Dafif::ILS_WAC_POS = 0
const int Eaagles::Dafif::ILS_WAC_LEN = 0
const int Eaagles::Dafif::ILS_LATITUDE = 90
const int Eaagles::Dafif::ILS_LONGITUDE = 99
const int Eaagles::Dafif::ILS_ELEVATION = 85
const int Eaagles::Dafif::ILS_MAGVAR = (142+48)
const int Eaagles::Dafif::ILS_CHANNEL_POS = 67
const int Eaagles::Dafif::ILS_CHANNEL_LEN = 3
const int Eaagles::Dafif::ILS_FREQUENCY_POS = 59
const int Eaagles::Dafif::ILS_FREQUENCY_LEN = 8
const int Eaagles::Dafif::ILS_GSA_POS = 71
const int Eaagles::Dafif::ILS_GSA_LEN = 3
const int Eaagles::Dafif::ILS_LOC_POS = 74
const int Eaagles::Dafif::ILS_LOC_LEN = 6
const int Eaagles::Dafif::ILS_APKEY_POS = ILS_KEY_POS
const int Eaagles::Dafif::ILS_RW_ID_POS = ILS_KEY_POS
const int Eaagles::Dafif::ILS_RW_ID_LEN = 10
const int Eaagles::Dafif::NAVAID_RECORD_LEN = 284
const int Eaagles::Dafif::NA_KEY_POS = 8
const int Eaagles::Dafif::NA_KEY_LEN = 9
const int Eaagles::Dafif::NA_IDENT_POS = 8
const int Eaagles::Dafif::NA_IDENT_LEN = 4
const int Eaagles::Dafif::NA_NAME_POS = 19
const int Eaagles::Dafif::NA_NAME_LEN = 38
const int Eaagles::Dafif::NA_TYPE_POS = 12
const int Eaagles::Dafif::NA_TYPE_LEN = 1
const int Eaagles::Dafif::NA_CCODE_POS = 13
const int Eaagles::Dafif::NA_CCODE_LEN = 2
const int Eaagles::Dafif::NA_STATE_POS = 17
const int Eaagles::Dafif::NA_STATE_LEN = 2
const int Eaagles::Dafif::NA_WAC_POS = 57
const int Eaagles::Dafif::NA_WAC_LEN = 4
const int Eaagles::Dafif::NA_LATITUDE = 95
const int Eaagles::Dafif::NA_LONGITUDE = 104
const int Eaagles::Dafif::NA_ELEVATION = (142+51)
const int Eaagles::Dafif::NA_MAGVAR = (142+39)
const int Eaagles::Dafif::NA_SLAVE_VAR_POS = (142+30)
const int Eaagles::Dafif::NA_KEY_CODE_POS = 15
const int Eaagles::Dafif::NA_KEY_CODE_LEN = 2
const int Eaagles::Dafif::NA_CHANNEL_POS = 70
const int Eaagles::Dafif::NA_CHANNEL_LEN = 3
const int Eaagles::Dafif::NA_CHANNEL_TYPE_POS = 73
const int Eaagles::Dafif::NA_FREQUENCY_POS = 61
const int Eaagles::Dafif::NA_FREQUENCY_LEN = 8
const int Eaagles::Dafif::NA_POWER_POS = 88
const int Eaagles::Dafif::NA_POWER_LEN = 4
const int Eaagles::Dafif::NA_RANGE_POS = 92
const int Eaagles::Dafif::NA_RANGE_LEN = 3
const int Eaagles::Dafif::NA_RADIO_CLASS_POS = 74
const int Eaagles::Dafif::NA_RADIO_CLASS_LEN = 5
const int Eaagles::Dafif::WAYPOINT_RECORD_LEN = 142
const int Eaagles::Dafif::WP_KEY_POS = 8
const int Eaagles::Dafif::WP_KEY_LEN = 10
const int Eaagles::Dafif::WP_IDENT_POS = 8
const int Eaagles::Dafif::WP_IDENT_LEN = 8
const int Eaagles::Dafif::WP_NAME_POS = 24
const int Eaagles::Dafif::WP_NAME_LEN = 25
const int Eaagles::Dafif::WP_TYPE_POS = 21
const int Eaagles::Dafif::WP_TYPE_LEN = 3
const int Eaagles::Dafif::WP_CCODE_POS = 16
const int Eaagles::Dafif::WP_CCODE_LEN = 2
const int Eaagles::Dafif::WP_STATE_POS = 18
const int Eaagles::Dafif::WP_STATE_LEN = 2
const int Eaagles::Dafif::WP_WAC_POS = 58
const int Eaagles::Dafif::WP_WAC_LEN = 4
const int Eaagles::Dafif::WP_LATITUDE = 62
const int Eaagles::Dafif::WP_LONGITUDE = 71
const int Eaagles::Dafif::WP_ELEVATION = 0
const int Eaagles::Dafif::WP_MAGVAR = 106

Define Documentation

#define CMP_FREQ ( mhz1,
mhz2   )     (MHZ2HHZ(mhz1)==MHZ2HHZ(mhz2))

Compare frequencies at HHz level.

#define HHZ2KHZ ( hhz   )     ((float)hhz/10.0f)

#define HHZ2MHZ ( hhz   )     ((float)hhz/10000.0f)

Convert HHz to MHz and KHz.

#define KHZ2HHZ ( khz   )     ((int)(khz*10.0f+0.5f))

#define KHZ2MHZ ( khz   )     (khz/1000.0f)

Convert KHz to MHz and HHz.

#define MHZ2HHZ ( mhz   )     ((int)(mhz*10000.0f+0.5f))

#define MHZ2KHZ ( mhz   )     (mhz*1000.0f)

Convert MHz to KHz and HHz/.


Generated on Tue Dec 19 16:23:29 2006 for Eaagles by  doxygen 1.5.0