public class Tire extends iRacingGauge
Gauge.Type
Constructor and Description |
---|
Tire(java.lang.String type,
iRacingCar car,
Track track,
IODriver IODriver,
java.lang.String varName,
java.lang.String defaultUOM,
java.lang.String tire) |
Modifier and Type | Method and Description |
---|---|
Data |
getCount()
Returns the number of times this gauge was used.
|
Data |
getLapsHistorical()
Returns the number of laps since the last change.
|
Data |
getMaxCount()
Returns the number of times this gauge can be changed.
|
Data |
getValueCurrent(java.lang.String UOM)
Returns the current value of the gauge.
|
Data |
getValueHistorical(java.lang.String UOM)
Returns the historical value of the gauge taken at the time it was changed.
|
Data |
getValueNext(java.lang.String UOM)
Returns the value of the next value that the object will be at the next pit stop.
|
_clearSIMCommandTimestamp, _getSIMCommandTimestamp, _getSIMCommandValue, _onDataVersionChange, _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, getIsChangeable, getIsDirty, getIsFixed, getLapChanged, getLaps, getLaps, getMajorIncrement, getMajorIncrement, getMaximum, getMaximum, getMinimum, getMinimum, getMinorIncrement, getMinorIncrement, getMultiplier, getName, getOnResetChange, getType, getTypeName, getUOM, getValueCurrent, getValueHistorical, getValueNext, incrementValueNext, incrementValueNext, setChangeFlag, setChangeFlag, setValueNext, setValueNext, setValueNext, setValueNext, toString
public Tire(java.lang.String type, iRacingCar car, Track track, IODriver IODriver, java.lang.String varName, java.lang.String defaultUOM, java.lang.String tire)
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 Data getValueNext(java.lang.String UOM)
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/ValueNext/(UOM)
getValueNext
in class Gauge
UOM
- The unit of value to return.public Data getValueHistorical(java.lang.String UOM)
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/ValueHistorical/(UOM)
getValueHistorical
in class Gauge
UOM
- (Optional) The unit of measure to return it in, defaults to the gauges UOM.public Data getLapsHistorical()
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/LapsHistorical
getLapsHistorical
in class Gauge
public Data getCount()
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/Count
1.2
public Data getMaxCount()
Gauge
PATH = /Car/(CARIDENTIFIER)/Gauge/(GAUGETYPE)/MaxCount
1.13
getMaxCount
in class Gauge