public class EncoderPlotData extends Object implements data.DiscretePlotData, data.MutablePlotData
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR
The dimension number used to get the position error using
getValue(org.freehep.util.Value, int, int) |
static int |
POSITION
The dimension number used to get the position using
getValue(org.freehep.util.Value, int, int) |
static int |
TIME
The dimension number used to get the time using
getValue(org.freehep.util.Value, int, int) |
| Constructor and Description |
|---|
EncoderPlotData() |
| Modifier and Type | Method and Description |
|---|---|
void |
addData(ShutterSide side,
List<EncoderSample> pos,
org.lsst.ccs.utilities.taitime.CCSTimeStamp t0)
Adds a new set of positions and causes the plot pane to be redrawn.
|
void |
addPlotDataListener(data.PlotDataListener listener) |
data.MetaData |
getMetaData() |
int |
getNDimensions() |
int |
getNPoints() |
data.SuggestedRange |
getSuggestedRange() |
String |
getTitle() |
void |
getValue(org.freehep.util.Value value,
int dim,
int index) |
Object |
lock() |
String |
names(int index) |
void |
removePlotDataListener(data.PlotDataListener listener) |
void |
reset()
Clears all data and causes the plot pane to be repainted.
|
Class |
types(int index) |
public static final int TIME
getValue(org.freehep.util.Value, int, int)public static final int POSITION
getValue(org.freehep.util.Value, int, int)public static final int ERROR
getValue(org.freehep.util.Value, int, int)public void reset()
public void addData(ShutterSide side, List<EncoderSample> pos, org.lsst.ccs.utilities.taitime.CCSTimeStamp t0)
which - blade set moved.pos - the list of blade positionst0 - the start time for the motion.public int getNPoints()
getNPoints in interface data.DiscretePlotDatapublic int getNDimensions()
getNDimensions in interface data.DiscretePlotDatagetNDimensions in interface data.PlotDatapublic String names(int index)
names in interface data.DiscretePlotDatapublic Class types(int index)
types in interface data.DiscretePlotDatapublic void getValue(org.freehep.util.Value value,
int dim,
int index)
getValue in interface data.DiscretePlotDatapublic data.MetaData getMetaData()
getMetaData in interface data.PlotDatapublic String getTitle()
getTitle in interface data.PlotDatapublic data.SuggestedRange getSuggestedRange()
getSuggestedRange in interface data.PlotDatapublic void addPlotDataListener(data.PlotDataListener listener)
addPlotDataListener in interface data.MutablePlotDatapublic void removePlotDataListener(data.PlotDataListener listener)
removePlotDataListener in interface data.MutablePlotDatapublic Object lock()
lock in interface data.MutablePlotDataCopyright © 2022 LSST. All rights reserved.