public class DataChannelHandler extends Object
DataChannel.
Also holds references to plotted data point sets for this channel.| Modifier and Type | Method and Description |
|---|---|
void |
addPlotData(Plot plot)
Adds the specified data point set to the list of plotted data for this channel.
|
Plot |
findPlot(TimeWindow timeWindow)
Returns an existing plot for this channel.
|
org.lsst.ccs.localdb.statusdb.server.DataChannel |
getDataChannel()
Returns the underlying DataChannel.
|
String |
getPath()
Returns the path associated with the underlying
DataChannel. |
List<Plot> |
getPlots()
Returns a list of plotted data point sets for this channel.
|
Plot |
makePlot(TimeWindow timeWindow)
Creates and returns a data point set for the specified time window.
|
boolean |
refresh(Plot plot)
Prepares the specified plot for refreshing.
|
boolean |
refresh(Plot plot,
long time)
Prepares the specified plot for refreshing.
|
void |
removePlotData(Plot plot)
Removes the specified data point set from the list of plotted data for this channel.
|
public String getPath()
DataChannel.public org.lsst.ccs.localdb.statusdb.server.DataChannel getDataChannel()
public List<Plot> getPlots()
public Plot findPlot(TimeWindow timeWindow)
public Plot makePlot(TimeWindow timeWindow)
public boolean refresh(Plot plot, long time)
Plot.commitRefresh() on that instance will make the new data current.plot - Plot to be prepared for refreshing.time - Current time in milliseconds.public boolean refresh(Plot plot)
Plot.commitRefresh() on that instance will make the new data current.plot - Plot to be prepared for refreshing.public void addPlotData(Plot plot)
public void removePlotData(Plot plot)
Copyright © 2015 LSST. All rights reserved.