Eaagles::Basic::LcMilliWatts Class Reference

#include <Powers.h>

Inheritance diagram for Eaagles::Basic::LcMilliWatts:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Basic::LcMilliWatts:

Collaboration graph
[legend]
List of all members.

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

 LcMilliWatts ()
 LcMilliWatts (const LCreal value)
 LcMilliWatts (const LcPower &org)
virtual LCreal toPower () const
virtual LCreal fromPower (const LCreal a) const
void set (const LCreal v)
void set (const LcPower &n)
LCreal convert (const LcPower &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 LcObjectclone () 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)
LcObjectgetSlotByName (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 LcPower &n)
static LCreal kiloWattsToWatts (const LCreal v)
static LCreal kiloWattsToHorsepower (const LCreal v)
static LCreal kiloWattsToMilliWatts (const LCreal v)
static LCreal wattsToKiloWatts (const LCreal v)
static LCreal wattsToHorsepower (const LCreal v)
static LCreal wattsToMilliWatts (const LCreal v)
static LCreal horsepowerToWatts (const LCreal v)
static LCreal horsepowerToKiloWatts (const LCreal v)
static LCreal horsepowerToMilliWatts (const LCreal v)
static LCreal milliWattsToWatts (const LCreal v)
static LCreal milliWattsToKiloWatts (const LCreal v)
static LCreal milliWattsToHorsepower (const LCreal v)
static const LcSlotTablegetSlotTable ()
static const char * getFormName ()

Static Public Attributes

static const LCreal W2KW = 0.001f
static const LCreal KW2W = (1 / LcPower::W2KW)
static const LCreal W2HP = 1341.0f
static const LCreal HP2W = (1 / LcPower::W2HP)
static const LCreal W2MW = 1000.0f
static const LCreal MW2W = (1 / LcPower::W2MW)

Protected Member Functions

void copyData (const LcObject &org, const bool cc=false)
void deleteData ()
virtual bool setSlotByIndex (const int slotindex, LcObject *const obj)
virtual LcObjectgetSlotByIndex (const int slotindex)
void indent (std::ostream &sout, const int ident) const

Protected Attributes

LCreal val
const LcSlotTableslotTable

Static Protected Attributes

static const LcSlotTable slottable

Member Enumeration Documentation

anonymous enum [inherited]

Enumerator:
CLR_KEY 
BACK_SPACE 
ENTER_KEY 
ESC_KEY 
FORWARD_SPACE 
UP_ARROW_KEY 
DOWN_ARROW_KEY 
LEFT_ARROW_KEY 
RIGHT_ARROW_KEY 
BUTTON_HIT 
INPUT_RIGHT_EDGE 
INPUT_LEFT_EDGE 
ON_SINGLE_CLICK 
ON_DOUBLE_CLICK 
F1_KEY 
F2_KEY 
F3_KEY 
F4_KEY 
F5_KEY 
F6_KEY 
F7_KEY 
F8_KEY 
F9_KEY 
F10_KEY 
F11_KEY 
F12_KEY 
OSB_T1 
OSB_T2 
OSB_T3 
OSB_T4 
OSB_T5 
OSB_R1 
OSB_R2 
OSB_R3 
OSB_R4 
OSB_R5 
OSB_B1 
OSB_B2 
OSB_B3 
OSB_B4 
OSB_B5 
OSB_L1 
OSB_L2 
OSB_L3 
OSB_L4 
OSB_L5 
USER_KEY_EVENT 
MAX_KEY_EVENT 
SHUTDOWN_EVENT 
ON_ENTRY 
ON_EXIT 
SELECT 
UPDATE_INSTRUMENTS 
UPDATE_VALUE 
UPDATE_VALUE1 
UPDATE_VALUE2 
UPDATE_VALUE3 
UPDATE_VALUE4 
UPDATE_VALUE5 
UPDATE_VALUE6 
UPDATE_VALUE7 
UPDATE_VALUE8 
UPDATE_VALUE9 
SET_VISIBILITY 
SET_COLOR 
SET_LINEWIDTH 
SET_POSITION 
SET_WIDTH 
SET_HIGHLIGHT 
SET_UNDERLINE 
SET_REVERSED 
SET_SPECIAL 
SET_JUSTIFICATION 
SET_FLASHRATE 
SET_LINE 
SET_COLUMN 
RESET_EVENT 
FREEZE_EVENT 
FREEZE_EVENT_ALL 
KILL_EVENT 
CRASH_EVENT 
DETONATION_EVENT 
RF_EMISSION 
RF_EMISSION_RETURN 
DESIGNATOR_EVENT 
DATALINK_MESSAGE 
ON_OWNSHIP_CONNECT 
ON_OWNSHIP_DISCONNECT 
SCAN_START 
SCAN_END 
WPN_RELOAD 
RF_REFLECTED_EMISSION 
RF_REFLECTIONS_REQUEST 
RF_REFLECTIONS_CANCEL 
SENSOR_RTS 
TGT_STEP_EVENT 
TGT_DESIGNATE 
WPN_REL_EVENT 
TRIGGER_SW_EVENT 
TMS_FWD_EVENT 
TMS_AFT_EVENT 
TMS_LEFT_EVENT 
TMS_RIGHT_EVENT 
DMS_FWD_EVENT 
DMS_AFT_EVENT 
DMS_LEFT_EVENT 
DMS_RIGHT_EVENT 
CMS_FWD_EVENT 
CMS_AFT_EVENT 
CMS_LEFT_EVENT 
CMS_RIGHT_EVENT 
PINKY_SW_EVENT 
NWS_SW_EVENT 
CURSOR_ZERO_EVENT 
CURSOR_X_EVENT 
CURSOR_Y_EVENT 
USER_EVENTS 


Constructor & Destructor Documentation

Eaagles::Basic::LcMilliWatts::LcMilliWatts (  ) 

Eaagles::Basic::LcMilliWatts::LcMilliWatts ( const LCreal  value  ) 

Eaagles::Basic::LcMilliWatts::LcMilliWatts ( const LcPower org  ) 


Member Function Documentation

LcObject * Eaagles::Basic::LcObject::clone (  )  const [virtual, inherited]

LCreal Eaagles::Basic::LcPower::convert ( const LcPower n  )  [inline, inherited]

static LCreal Eaagles::Basic::LcMilliWatts::convertStatic ( const LcPower n  )  [inline, static]

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]

virtual LCreal Eaagles::Basic::LcMilliWatts::fromPower ( const LCreal  a  )  const [inline, virtual]

Implements Eaagles::Basic::LcPower.

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]

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]

static LCreal Eaagles::Basic::LcPower::horsepowerToKiloWatts ( const LCreal  v  )  [inline, static, inherited]

static LCreal Eaagles::Basic::LcPower::horsepowerToMilliWatts ( const LCreal  v  )  [inline, static, inherited]

static LCreal Eaagles::Basic::LcPower::horsepowerToWatts ( const LCreal  v  )  [inline, 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]

Reimplemented in Eaagles::Basic::LcList, Eaagles::Basic::LcPair, Eaagles::Basic::LcTable, Eaagles::Basic::LcTable1, Eaagles::Basic::LcTable2, Eaagles::Basic::LcTable3, Eaagles::Basic::LcTable4, and Eaagles::Basic::LcTable5.

static LCreal Eaagles::Basic::LcPower::kiloWattsToHorsepower ( const LCreal  v  )  [inline, static, inherited]

static LCreal Eaagles::Basic::LcPower::kiloWattsToMilliWatts ( const LCreal  v  )  [inline, static, inherited]

static LCreal Eaagles::Basic::LcPower::kiloWattsToWatts ( const LCreal  v  )  [inline, static, inherited]

static LCreal Eaagles::Basic::LcPower::milliWattsToHorsepower ( const LCreal  v  )  [inline, static, inherited]

static LCreal Eaagles::Basic::LcPower::milliWattsToKiloWatts ( const LCreal  v  )  [inline, static, inherited]

static LCreal Eaagles::Basic::LcPower::milliWattsToWatts ( const LCreal  v  )  [inline, static, inherited]

void Eaagles::Basic::LcObject::ref (  )  const [inline, inherited]

std::ostream & Eaagles::Basic::LcObject::serialize ( std::ostream &  sout,
const int  i = 0,
const bool  slotsOnly = false 
) const [virtual, inherited]

void Eaagles::Basic::LcPower::set ( const LcPower n  )  [inline, inherited]

void Eaagles::Basic::LcPower::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::LcMilliWatts::toPower (  )  const [inline, virtual]

Implements Eaagles::Basic::LcPower.

void Eaagles::Basic::LcObject::unref (  )  const [inline, inherited]

static LCreal Eaagles::Basic::LcPower::wattsToHorsepower ( const LCreal  v  )  [inline, static, inherited]

static LCreal Eaagles::Basic::LcPower::wattsToKiloWatts ( const LCreal  v  )  [inline, static, inherited]

static LCreal Eaagles::Basic::LcPower::wattsToMilliWatts ( const LCreal  v  )  [inline, static, inherited]


Member Data Documentation

const LCreal Eaagles::Basic::LcPower::HP2W = (1 / LcPower::W2HP) [static, inherited]

const LCreal Eaagles::Basic::LcPower::KW2W = (1 / LcPower::W2KW) [static, inherited]

const LCreal Eaagles::Basic::LcPower::MW2W = (1 / LcPower::W2MW) [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]

const LCreal Eaagles::Basic::LcPower::W2HP = 1341.0f [static, inherited]

const LCreal Eaagles::Basic::LcPower::W2KW = 0.001f [static, inherited]

const LCreal Eaagles::Basic::LcPower::W2MW = 1000.0f [static, inherited]


The documentation for this class was generated from the following files:
Generated on Tue Nov 14 20:16:21 2006 for OpenEaagles Simulation Framework by  doxygen 1.4.7