#include <Times.h>
Inheritance diagram for Eaagles::Basic::LcMinutes:


Public Types | |
| CLR_KEY = 1 | |
| BACK_SPACE = 8 | |
| ENTER_KEY = 13 | |
| ESC_KEY = 27 | |
| FORWARD_SPACE = 28 | |
| UP_ARROW_KEY = 30 | |
| DOWN_ARROW_KEY = 31 | |
| LEFT_ARROW_KEY = BACK_SPACE | |
| RIGHT_ARROW_KEY = FORWARD_SPACE | |
| BUTTON_HIT = 128 | |
| INPUT_RIGHT_EDGE = 129 | |
| INPUT_LEFT_EDGE = 130 | |
| ON_SINGLE_CLICK = 131 | |
| ON_DOUBLE_CLICK = 132 | |
| F1_KEY = 141 | |
| F2_KEY = 142 | |
| F3_KEY = 143 | |
| F4_KEY = 144 | |
| F5_KEY = 145 | |
| F6_KEY = 146 | |
| F7_KEY = 147 | |
| F8_KEY = 148 | |
| F9_KEY = 149 | |
| F10_KEY = 150 | |
| F11_KEY = 151 | |
| F12_KEY = 152 | |
| OSB_T1 = 153 | |
| OSB_T2 = 154 | |
| OSB_T3 = 155 | |
| OSB_T4 = 156 | |
| OSB_T5 = 157 | |
| OSB_R1 = 158 | |
| OSB_R2 = 159 | |
| OSB_R3 = 160 | |
| OSB_R4 = 161 | |
| OSB_R5 = 162 | |
| OSB_B1 = 163 | |
| OSB_B2 = 164 | |
| OSB_B3 = 165 | |
| OSB_B4 = 166 | |
| OSB_B5 = 167 | |
| OSB_L1 = 168 | |
| OSB_L2 = 169 | |
| OSB_L3 = 170 | |
| OSB_L4 = 171 | |
| OSB_L5 = 172 | |
| USER_KEY_EVENT = 512 | |
| MAX_KEY_EVENT = 999 | |
| SHUTDOWN_EVENT = 1001 | |
| ON_ENTRY = 1201 | |
| ON_EXIT = 1202 | |
| SELECT = 1203 | |
| UPDATE_INSTRUMENTS = 1210 | |
| UPDATE_VALUE = 1211 | |
| UPDATE_VALUE1 = UPDATE_VALUE | |
| UPDATE_VALUE2 = 1212 | |
| UPDATE_VALUE3 = 1213 | |
| UPDATE_VALUE4 = 1214 | |
| UPDATE_VALUE5 = 1215 | |
| UPDATE_VALUE6 = 1216 | |
| UPDATE_VALUE7 = 1217 | |
| UPDATE_VALUE8 = 1218 | |
| UPDATE_VALUE9 = 1219 | |
| SET_VISIBILITY = 1221 | |
| SET_COLOR = 1222 | |
| SET_LINEWIDTH = 1223 | |
| SET_POSITION = 1224 | |
| SET_WIDTH = 1225 | |
| SET_HIGHLIGHT = 1226 | |
| SET_UNDERLINE = 1227 | |
| SET_REVERSED = 1228 | |
| SET_SPECIAL = 1229 | |
| SET_JUSTIFICATION = 1230 | |
| SET_FLASHRATE = 1231 | |
| SET_LINE = 1232 | |
| SET_COLUMN = 1233 | |
| RESET_EVENT = 1301 | |
| FREEZE_EVENT = 1302 | |
| FREEZE_EVENT_ALL = 1303 | |
| KILL_EVENT = 1304 | |
| CRASH_EVENT = 1305 | |
| DETONATION_EVENT = 1306 | |
| RF_EMISSION = 1307 | |
| RF_EMISSION_RETURN = 1308 | |
| DESIGNATOR_EVENT = 1309 | |
| DATALINK_MESSAGE = 1310 | |
| ON_OWNSHIP_CONNECT = 1311 | |
| ON_OWNSHIP_DISCONNECT = 1312 | |
| SCAN_START = 1313 | |
| SCAN_END = 1314 | |
| WPN_RELOAD = 1315 | |
| RF_REFLECTED_EMISSION = 1316 | |
| RF_REFLECTIONS_REQUEST = 1317 | |
| RF_REFLECTIONS_CANCEL = 1318 | |
| SENSOR_RTS = 1400 | |
| TGT_STEP_EVENT = 1401 | |
| TGT_DESIGNATE = 1402 | |
| WPN_REL_EVENT = 1405 | |
| TRIGGER_SW_EVENT = 1406 | |
| TMS_FWD_EVENT = 1407 | |
| TMS_AFT_EVENT = 1408 | |
| TMS_LEFT_EVENT = 1409 | |
| TMS_RIGHT_EVENT = 1410 | |
| DMS_FWD_EVENT = 1411 | |
| DMS_AFT_EVENT = 1412 | |
| DMS_LEFT_EVENT = 1413 | |
| DMS_RIGHT_EVENT = 1414 | |
| CMS_FWD_EVENT = 1415 | |
| CMS_AFT_EVENT = 1416 | |
| CMS_LEFT_EVENT = 1417 | |
| CMS_RIGHT_EVENT = 1418 | |
| PINKY_SW_EVENT = 1419 | |
| NWS_SW_EVENT = 1420 | |
| CURSOR_ZERO_EVENT = 1421 | |
| CURSOR_X_EVENT = 1422 | |
| CURSOR_Y_EVENT = 1423 | |
| USER_EVENTS = 2000 | |
| enum | { CLR_KEY = 1, BACK_SPACE = 8, ENTER_KEY = 13, ESC_KEY = 27, FORWARD_SPACE = 28, UP_ARROW_KEY = 30, DOWN_ARROW_KEY = 31, LEFT_ARROW_KEY = BACK_SPACE, RIGHT_ARROW_KEY = FORWARD_SPACE, BUTTON_HIT = 128, INPUT_RIGHT_EDGE = 129, INPUT_LEFT_EDGE = 130, ON_SINGLE_CLICK = 131, ON_DOUBLE_CLICK = 132, F1_KEY = 141, F2_KEY = 142, F3_KEY = 143, F4_KEY = 144, F5_KEY = 145, F6_KEY = 146, F7_KEY = 147, F8_KEY = 148, F9_KEY = 149, F10_KEY = 150, F11_KEY = 151, F12_KEY = 152, OSB_T1 = 153, OSB_T2 = 154, OSB_T3 = 155, OSB_T4 = 156, OSB_T5 = 157, OSB_R1 = 158, OSB_R2 = 159, OSB_R3 = 160, OSB_R4 = 161, OSB_R5 = 162, OSB_B1 = 163, OSB_B2 = 164, OSB_B3 = 165, OSB_B4 = 166, OSB_B5 = 167, OSB_L1 = 168, OSB_L2 = 169, OSB_L3 = 170, OSB_L4 = 171, OSB_L5 = 172, USER_KEY_EVENT = 512, MAX_KEY_EVENT = 999, SHUTDOWN_EVENT = 1001, ON_ENTRY = 1201, ON_EXIT = 1202, SELECT = 1203, UPDATE_INSTRUMENTS = 1210, UPDATE_VALUE = 1211, UPDATE_VALUE1 = UPDATE_VALUE, UPDATE_VALUE2 = 1212, UPDATE_VALUE3 = 1213, UPDATE_VALUE4 = 1214, UPDATE_VALUE5 = 1215, UPDATE_VALUE6 = 1216, UPDATE_VALUE7 = 1217, UPDATE_VALUE8 = 1218, UPDATE_VALUE9 = 1219, SET_VISIBILITY = 1221, SET_COLOR = 1222, SET_LINEWIDTH = 1223, SET_POSITION = 1224, SET_WIDTH = 1225, SET_HIGHLIGHT = 1226, SET_UNDERLINE = 1227, SET_REVERSED = 1228, SET_SPECIAL = 1229, SET_JUSTIFICATION = 1230, SET_FLASHRATE = 1231, SET_LINE = 1232, SET_COLUMN = 1233, RESET_EVENT = 1301, FREEZE_EVENT = 1302, FREEZE_EVENT_ALL = 1303, KILL_EVENT = 1304, CRASH_EVENT = 1305, DETONATION_EVENT = 1306, RF_EMISSION = 1307, RF_EMISSION_RETURN = 1308, DESIGNATOR_EVENT = 1309, DATALINK_MESSAGE = 1310, ON_OWNSHIP_CONNECT = 1311, ON_OWNSHIP_DISCONNECT = 1312, SCAN_START = 1313, SCAN_END = 1314, WPN_RELOAD = 1315, RF_REFLECTED_EMISSION = 1316, RF_REFLECTIONS_REQUEST = 1317, RF_REFLECTIONS_CANCEL = 1318, SENSOR_RTS = 1400, TGT_STEP_EVENT = 1401, TGT_DESIGNATE = 1402, WPN_REL_EVENT = 1405, TRIGGER_SW_EVENT = 1406, TMS_FWD_EVENT = 1407, TMS_AFT_EVENT = 1408, TMS_LEFT_EVENT = 1409, TMS_RIGHT_EVENT = 1410, DMS_FWD_EVENT = 1411, DMS_AFT_EVENT = 1412, DMS_LEFT_EVENT = 1413, DMS_RIGHT_EVENT = 1414, CMS_FWD_EVENT = 1415, CMS_AFT_EVENT = 1416, CMS_LEFT_EVENT = 1417, CMS_RIGHT_EVENT = 1418, PINKY_SW_EVENT = 1419, NWS_SW_EVENT = 1420, CURSOR_ZERO_EVENT = 1421, CURSOR_X_EVENT = 1422, CURSOR_Y_EVENT = 1423, USER_EVENTS = 2000 } |
Public Member Functions | |
| LcMinutes () | |
| LcMinutes (const LCreal value) | |
| LcMinutes (const LcTime &org) | |
| virtual LCreal | toTime () const |
| virtual LCreal | fromTime (const LCreal a) const |
| void | set (const LCreal v) |
| void | set (const LcTime &n) |
| LCreal | convert (const LcTime &n) |
| LCreal | getReal () const |
| double | getDouble () const |
| float | getFloat () const |
| int | getInt () const |
| bool | getBoolean () const |
| virtual bool | setValue (const LcNumber *const svobj) |
| void | setReal (const LCreal nv) |
| virtual bool | isClassType (const std::type_info &type) const |
| virtual LcObject * | clone () const |
| virtual std::ostream & | serialize (std::ostream &sout, const int i=0, const bool slotsOnly=false) const |
| virtual bool | isFormName (const char name[]) const |
| virtual const char * | formName () const |
| virtual bool | isValid () const |
| bool | setSlotByName (const char *const slotname, LcObject *const obj) |
| LcObject * | getSlotByName (const char *const slotname) |
| const char * | slotIndex2Name (const int slotindex) const |
| int | slotName2Index (const char *const slotname) const |
| int | getRefCount () const |
| void | ref () const |
| void | unref () const |
Static Public Member Functions | |
| static LCreal | convertStatic (const LcTime &n) |
| static LCreal | SecondsToMilliSeconds (const LCreal v) |
| static LCreal | MilliSecondsToSeconds (const LCreal v) |
| static LCreal | MinutesToSeconds (const LCreal v) |
| static LCreal | SecondsToMinutes (const LCreal v) |
| static LCreal | HoursToMinutes (const LCreal v) |
| static LCreal | MinutesToHours (const LCreal v) |
| static LCreal | DaysToHours (const LCreal v) |
| static LCreal | HoursToDays (const LCreal v) |
| static LCreal | putHHMMSS (const int hh, const int mm, const int ss) |
| static void | getHHMMSS (const LCreal sec, int *const hh, int *const mm, int *const ss) |
| static void | getHHMMSS (const LCreal sec, int *const hh, int *const mm, LCreal *const ss) |
| static const LcSlotTable & | getSlotTable () |
| static const char * | getFormName () |
Static Public Attributes | |
| static const LCreal | S2MS = 1000.0f |
| static const LCreal | MS2S = (1 / LcTime::S2MS) |
| static const LCreal | S2M = (1 / LcTime::M2S) |
| static const LCreal | M2S = 60.0f |
| static const LCreal | S2H = (1 / LcTime::H2S) |
| static const LCreal | H2S = 3600.0f |
| static const LCreal | S2D = (1 / LcTime::D2S) |
| static const LCreal | D2S = 86400.0f |
Protected Member Functions | |
| void | copyData (const LcObject &org, const bool cc=false) |
| void | deleteData () |
| virtual bool | setSlotByIndex (const int slotindex, LcObject *const obj) |
| virtual LcObject * | getSlotByIndex (const int slotindex) |
| void | indent (std::ostream &sout, const int ident) const |
Protected Attributes | |
| LCreal | val |
| const LcSlotTable * | slotTable |
Static Protected Attributes | |
| static const LcSlotTable | slottable |
anonymous enum [inherited] |
| Eaagles::Basic::LcMinutes::LcMinutes | ( | ) |
| Eaagles::Basic::LcMinutes::LcMinutes | ( | const LCreal | value | ) |
| Eaagles::Basic::LcMinutes::LcMinutes | ( | const LcTime & | org | ) |
| LcObject * Eaagles::Basic::LcObject::clone | ( | ) | const [virtual, inherited] |
| void Eaagles::Basic::LcObject::copyData | ( | const LcObject & | org, | |
| const bool | cc = false | |||
| ) | [protected, inherited] |
| void Eaagles::Basic::LcObject::deleteData | ( | ) | [protected, inherited] |
| const char * Eaagles::Basic::LcObject::formName | ( | ) | const [virtual, inherited] |
Implements Eaagles::Basic::LcTime.
| bool Eaagles::Basic::LcNumber::getBoolean | ( | ) | const [inline, inherited] |
| double Eaagles::Basic::LcNumber::getDouble | ( | ) | const [inline, inherited] |
| float Eaagles::Basic::LcNumber::getFloat | ( | ) | const [inline, inherited] |
| const char * Eaagles::Basic::LcObject::getFormName | ( | ) | [static, inherited] |
| void Eaagles::Basic::LcTime::getHHMMSS | ( | const LCreal | sec, | |
| int *const | hh, | |||
| int *const | mm, | |||
| LCreal *const | ss | |||
| ) | [inline, static, inherited] |
| void Eaagles::Basic::LcTime::getHHMMSS | ( | const LCreal | sec, | |
| int *const | hh, | |||
| int *const | mm, | |||
| int *const | ss | |||
| ) | [inline, static, inherited] |
| int Eaagles::Basic::LcNumber::getInt | ( | ) | const [inline, inherited] |
| LCreal Eaagles::Basic::LcNumber::getReal | ( | ) | const [inline, inherited] |
| int Eaagles::Basic::LcObject::getRefCount | ( | ) | const [inline, inherited] |
| LcObject * Eaagles::Basic::LcObject::getSlotByIndex | ( | const int | slotindex | ) | [protected, virtual, inherited] |
| LcObject * Eaagles::Basic::LcObject::getSlotByName | ( | const char *const | slotname | ) | [inherited] |
| const LcSlotTable & Eaagles::Basic::LcObject::getSlotTable | ( | ) | [static, inherited] |
| void Eaagles::Basic::LcObject::indent | ( | std::ostream & | sout, | |
| const int | ident | |||
| ) | const [protected, inherited] |
| bool Eaagles::Basic::LcObject::isClassType | ( | const std::type_info & | type | ) | const [virtual, inherited] |
| bool Eaagles::Basic::LcObject::isFormName | ( | const char | name[] | ) | const [virtual, inherited] |
| bool Eaagles::Basic::LcObject::isValid | ( | ) | const [virtual, inherited] |
| static LCreal Eaagles::Basic::LcTime::MilliSecondsToSeconds | ( | const LCreal | v | ) | [inline, static, inherited] |
| static LCreal Eaagles::Basic::LcTime::MinutesToSeconds | ( | const LCreal | v | ) | [inline, static, inherited] |
| LCreal Eaagles::Basic::LcTime::putHHMMSS | ( | const int | hh, | |
| const int | mm, | |||
| const int | ss | |||
| ) | [inline, static, inherited] |
| void Eaagles::Basic::LcObject::ref | ( | ) | const [inline, inherited] |
| static LCreal Eaagles::Basic::LcTime::SecondsToMilliSeconds | ( | const LCreal | v | ) | [inline, static, inherited] |
| static LCreal Eaagles::Basic::LcTime::SecondsToMinutes | ( | const LCreal | v | ) | [inline, static, inherited] |
| std::ostream & Eaagles::Basic::LcObject::serialize | ( | std::ostream & | sout, | |
| const int | i = 0, |
|||
| const bool | slotsOnly = false | |||
| ) | const [virtual, inherited] |
| void Eaagles::Basic::LcTime::set | ( | const LcTime & | n | ) | [inline, inherited] |
| void Eaagles::Basic::LcTime::set | ( | const LCreal | v | ) | [inline, inherited] |
| void Eaagles::Basic::LcNumber::setReal | ( | const LCreal | nv | ) | [inline, inherited] |
| bool Eaagles::Basic::LcObject::setSlotByIndex | ( | const int | slotindex, | |
| LcObject *const | obj | |||
| ) | [protected, virtual, inherited] |
| bool Eaagles::Basic::LcObject::setSlotByName | ( | const char *const | slotname, | |
| LcObject *const | obj | |||
| ) | [inherited] |
| bool Eaagles::Basic::LcNumber::setValue | ( | const LcNumber *const | svobj | ) | [virtual, inherited] |
| const char * Eaagles::Basic::LcObject::slotIndex2Name | ( | const int | slotindex | ) | const [inherited] |
| int Eaagles::Basic::LcObject::slotName2Index | ( | const char *const | slotname | ) | const [inherited] |
| virtual LCreal Eaagles::Basic::LcMinutes::toTime | ( | ) | const [inline, virtual] |
Implements Eaagles::Basic::LcTime.
| void Eaagles::Basic::LcObject::unref | ( | ) | const [inline, inherited] |
const LCreal Eaagles::Basic::LcTime::D2S = 86400.0f [static, inherited] |
const LCreal Eaagles::Basic::LcTime::H2S = 3600.0f [static, inherited] |
const LCreal Eaagles::Basic::LcTime::M2S = 60.0f [static, inherited] |
const LCreal Eaagles::Basic::LcTime::MS2S = (1 / LcTime::S2MS) [static, inherited] |
const LCreal Eaagles::Basic::LcTime::S2D = (1 / LcTime::D2S) [static, inherited] |
const LCreal Eaagles::Basic::LcTime::S2H = (1 / LcTime::H2S) [static, inherited] |
const LCreal Eaagles::Basic::LcTime::S2M = (1 / LcTime::M2S) [static, inherited] |
const LCreal Eaagles::Basic::LcTime::S2MS = 1000.0f [static, inherited] |
const LcSlotTable* Eaagles::Basic::LcObject::slotTable [protected, inherited] |
const LcSlotTable Eaagles::Basic::LcObject::slottable [static, protected, inherited] |
LCreal Eaagles::Basic::LcNumber::val [protected, inherited] |
1.4.7