public class Speedometer extends iRacingGauge
Gauge.Type
Constructor and Description |
---|
Speedometer(java.lang.String type,
iRacingCar car,
Track track,
IODriver IODriver,
java.lang.String varName,
java.lang.String defaultUOM) |
Modifier and Type | Method and Description |
---|---|
void |
_onDataVersionChange(State state,
int currentLap,
double sessionTime,
double lapCompletedPercent,
double trackLength) |
Data |
getValueCurrent(java.lang.String UOM)
Returns the current value of the gauge.
|
_clearSIMCommandTimestamp, _getSIMCommandTimestamp, _getSIMCommandValue, _resetDetected, _setSIMCommandTimestamp, getLaps, getValueCurrent
_addStateRange, _addStateRange, _addStateRange, _removeStateRange, _setCapacityIncrement, _setCapacityMaximum, _setCapacityMinimum, _setIsChangable, _setIsDirty, _setIsFixed, _setMajorIncrement, _setMaximum, _setMinimum, _setMinorIncrement, _setOnResetChange, decrementValueNext, decrementValueNext, getCapacityIncrement, getCapacityIncrement, getCapacityMaximum, getCapacityMaximum, getCapacityMaximumRaw, getCapacityMinimum, getCapacityMinimum, getCapacityMinimumRaw, getChangeFlag, getCount, getIsChangeable, getIsDirty, getIsFixed, getLapChanged, getLaps, getLaps, getLapsHistorical, getMajorIncrement, getMajorIncrement, getMaxCount, getMaximum, getMaximum, getMinimum, getMinimum, getMinorIncrement, getMinorIncrement, getMultiplier, getName, getOnResetChange, getType, getTypeName, getUOM, getValue, getValue, getValue, getValue, getValue, getValue, getValueCurrent, getValueHistorical, getValueHistorical, getValueNext, getValueNext, incrementValueNext, incrementValueNext, setChangeFlag, setChangeFlag, setValueNext, setValueNext, setValueNext, setValueNext, toString
public Speedometer(java.lang.String type, iRacingCar car, Track track, IODriver IODriver, java.lang.String varName, java.lang.String defaultUOM)
public Data getValueCurrent(java.lang.String UOM)
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/ValueCurrent/(UOM)
getValueCurrent
in class iRacingGauge
UOM
- (Optional) The unit of measure to return, default to the gauges UOM.public void _onDataVersionChange(State state, int currentLap, double sessionTime, double lapCompletedPercent, double trackLength)
_onDataVersionChange
in class iRacingGauge