public abstract class AStaticDataCollector extends Object
Base class for data collectors that fill traces for static charts in one run.
Extend from this class and override the method collectData()
.
Modifier and Type | Field and Description |
---|---|
protected ITrace2D |
m_trace
Target trace where all collected data is added.
|
Constructor and Description |
---|
AStaticDataCollector(ITrace2D trace)
Constructor with target trace.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
collectData()
Collects all
ITracePoint instances from it's underlying
source and adds it to the internal trace. |
ITrace2D |
getTrace()
Returns the trace data is added to.
|
protected ITrace2D m_trace
public AStaticDataCollector(ITrace2D trace)
trace
- the trace collected points will be added to.public abstract void collectData() throws IOException
ITracePoint
instances from it's underlying
source and adds it to the internal trace.
IOException
- if parsing or IO operations fails.public ITrace2D getTrace()
Copyright © 2019. All rights reserved.