Package gov.nasa.jpl.resource
Class DurationResource
- All Implemented Interfaces:
ResourceContainer
-
Field Summary
Fields inherited from class gov.nasa.jpl.resource.Resource
interpolation, maximum, minimum, possibleStates, subsystem, units
-
Constructor Summary
ConstructorsConstructorDescriptionDurationResource
(Duration profile, String subsystem) DurationResource
(Duration profile, String subsystem, String interpolation) DurationResource
(Duration profile, String subsystem, String units, String interpolation) DurationResource
(Duration profile, String subsystem, String interpolation, String units, Duration minimum, Duration maximum) -
Method Summary
Methods inherited from class gov.nasa.jpl.resource.Resource
addChangeListener, clearHistory, currentval, firstTimeSet, formUniqueName, getChangesDuringWindow, getDataType, getIndices, getInterpolation, getMaximumLimit, getMinimumLimit, getName, getPossibleStates, getSize, getSubsystem, getType, getUniqueName, getUnits, historyIterator, insertRecord, isFrozen, isIndexInArrayedResource, lastTimeSet, lastValue, max, min, nextTimeResourceSetToValue, nextTimeSet, priorTimeResourceSetToValue, priorTimeSet, registerResource, removeChangeListener, resourceHistoryHasElements, set, setFrozen, setIndices, setInterpolation, setMaximumLimit, setMinimumLimit, setName, setSubsystem, setUnits, valueAt, whenEqualTo, whenGreaterThan, whenGreaterThanOrEqualTo, whenLessThan, whenLessThanOrEqualTo, whenNotEqualTo
-
Constructor Details
-
DurationResource
-
DurationResource
-
DurationResource
-
DurationResource
-
DurationResource
public DurationResource()
-
-
Method Details
-
profile
Description copied from class:Resource
Returns the default value of the resource before it is set() to a new value. Must be abstract since different data types have different intuitive defaults. -
add
-
subtract
-
update
public void update()Description copied from class:Resource
No-op method that adapters can override in custom resources- Specified by:
update
in interfaceResourceContainer
- Overrides:
update
in classResource<Duration>
-