simtools.data.async
Class MultiStampedDataSource

java.lang.Object
  extended by simtools.data.ValueProvider
      extended by simtools.data.DataSource
          extended by simtools.data.async.TimeStampedDataSource
              extended by 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

Nested Class Summary
 class MultiStampedDataSource.AuxiliaryCollection
           
 class MultiStampedDataSource.IntegerSource
           
 class MultiStampedDataSource.LabelSource
           
 
Nested classes/interfaces inherited from class simtools.data.async.TimeStampedDataSource
TimeStampedDataSource.TimeSource
 
Field Summary
protected  MultiStampedDataSource.LabelSource _label
           
protected  MultiStampedDataSource.IntegerSource _raw
           
protected  MultiStampedDataSource.IntegerSource _status
           
 
Fields inherited from class simtools.data.async.TimeStampedDataSource
_auxiliaries
 
Fields inherited from class simtools.data.DataSource
endNotificationListeners, listeners, sortedOrder
 
Fields inherited from class simtools.data.ValueProvider
ByteProvider, DoubleProvider, FloatProvider, IntegerProvider, kind, LongProvider, ObjectProvider, ShortProvider
 
Constructor Summary
MultiStampedDataSource(java.lang.String label, java.lang.String id, TimeStampedDataSourceCollection c)
           
 
Method Summary
 java.lang.String getDataSourceInformationClass()
          This method provide the UI Data source information class name.
 MultiStampedDataSource.LabelSource getLabel()
           
 MultiStampedDataSource.IntegerSource getRaw()
           
 MultiStampedDataSource.IntegerSource getStatus()
           
 void setLabel(MultiStampedDataSource.LabelSource label)
           
 void setRaw(MultiStampedDataSource.IntegerSource raw)
           
 void setStatus(MultiStampedDataSource.IntegerSource status)
           
 
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 simtools.data.ValueProvider
getByteValue, getFloatValue, getIntegerValue, getKind, getLongValue, getObjectValue, getShortValue, valueClass
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_label

protected MultiStampedDataSource.LabelSource _label

_raw

protected MultiStampedDataSource.IntegerSource _raw

_status

protected MultiStampedDataSource.IntegerSource _status
Constructor Detail

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
Method Detail

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