simtools.data.async
Class MultiStampedDataSource
java.lang.Object
simtools.data.ValueProvider
simtools.data.DataSource
simtools.data.async.TimeStampedDataSource
simtools.data.async.MultiStampedDataSource
public abstract class MultiStampedDataSource
- extends TimeStampedDataSource
A time stamped data source with optionaly label values, raw values and status
values
- Author:
- Claude Cazenave
Methods inherited from class simtools.data.async.TimeStampedDataSource |
computeMinMax, createEmptyDataSource, getAuxiliarySources, getCollection, getDoubleMax, getDoubleMin, getDoubleValue, getEnd, getInfo, getInformation, getLastIndex, getMax, getMin, getName, getStart, getStartIndex, getTime, getValue, isCompound, isValid, setInfo, setMax, setMin, setMinmax, setTime, toString |
Methods inherited from class simtools.data.DataSource |
addEndNotificationListener, addListener, computeLastIndex, computeMax, computeMin, computeSortedOrder, computeStartIndex, equals, getByteMax, getByteMin, getChoiceFormat, getFloatMax, getFloatMin, getIntegerMax, getIntegerMin, getLongMax, getLongMin, getShortMax, getShortMin, getSortedOrder, getSourceDependencies, isAuxiliary, isComparable, notifyEndNotificationListeners, notifyListenersForDataReplaced, notifyListenersForDataReplaced, notifyListenersForIndexRangeChange, notifyListenersForInfoChange, notifyListenersForOrderChange, notifyListenersForValueChange, notifyListenersForValueRangeChange, removeEndNotificationListener, removeListener, setSlice, sortedOrder, updateSortedOrder |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_label
protected MultiStampedDataSource.LabelSource _label
_raw
protected MultiStampedDataSource.IntegerSource _raw
_status
protected MultiStampedDataSource.IntegerSource _status
MultiStampedDataSource
public MultiStampedDataSource(java.lang.String label,
java.lang.String id,
TimeStampedDataSourceCollection c)
throws java.io.IOException,
TimeStampedDataSourceCollection.InvalidFormatException
- Parameters:
name
- c
-
- Throws:
java.io.IOException
TimeStampedDataSourceCollection.InvalidFormatException
setLabel
public void setLabel(MultiStampedDataSource.LabelSource label)
- Parameters:
label
- The label to set.
getLabel
public MultiStampedDataSource.LabelSource getLabel()
- Returns:
- the label.
setStatus
public void setStatus(MultiStampedDataSource.IntegerSource status)
- Parameters:
status
- The status to set.
getStatus
public MultiStampedDataSource.IntegerSource getStatus()
- Returns:
- the status.
setRaw
public void setRaw(MultiStampedDataSource.IntegerSource raw)
- Parameters:
raw
- The raw value to set.
getRaw
public MultiStampedDataSource.IntegerSource getRaw()
- Returns:
- the raw value.
getDataSourceInformationClass
public java.lang.String getDataSourceInformationClass()
- Description copied from class:
DataSource
- This method provide the UI Data source information class name. Should be
overloaded in sub classes to return specified information
- Overrides:
getDataSourceInformationClass
in class TimeStampedDataSource
- Returns:
- the box