Package info.monitorenter.gui.chart.io
Class AStaticDataCollector
- java.lang.Object
-
- info.monitorenter.gui.chart.io.AStaticDataCollector
-
- Direct Known Subclasses:
PropertyFileStaticDataCollector
public abstract class AStaticDataCollector extends java.lang.Object
Base class for data collectors that fill traces for static charts in one run.
Extend from this class and override the method
collectData()
.- Version:
- $Revision: 1.3 $
- Author:
- Achim Westermann
-
-
Constructor Summary
Constructors Constructor Description AStaticDataCollector(ITrace2D trace)
Constructor with target trace.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
collectData()
Collects allITracePoint
instances from it's underlying source and adds it to the internal trace.ITrace2D
getTrace()
Returns the trace data is added to.
-
-
-
Field Detail
-
m_trace
protected ITrace2D m_trace
Target trace where all collected data is added.
-
-
Constructor Detail
-
AStaticDataCollector
public AStaticDataCollector(ITrace2D trace)
Constructor with target trace.- Parameters:
trace
- the trace collected points will be added to.
-
-
Method Detail
-
collectData
public abstract void collectData() throws java.io.IOException
Collects allITracePoint
instances from it's underlying source and adds it to the internal trace.- Throws:
java.io.IOException
- if parsing or IO operations fails.
-
getTrace
public ITrace2D getTrace()
Returns the trace data is added to.- Returns:
- the trace data is added to.
-
-