Class AStaticDataCollector

java.lang.Object
info.monitorenter.gui.chart.io.AStaticDataCollector
Direct Known Subclasses:
PropertyFileStaticDataCollector

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().

Version:
$Revision: 1.3 $
Author:
Achim Westermann
  • Field Details

    • m_trace

      protected ITrace2D m_trace
      Target trace where all collected data is added.
  • Constructor Details

    • AStaticDataCollector

      public AStaticDataCollector(ITrace2D trace)
      Constructor with target trace.

      Parameters:
      trace - the trace collected points will be added to.
  • Method Details

    • collectData

      public abstract void collectData() throws IOException
      Collects all ITracePoint instances from it's underlying source and adds it to the internal trace.

      Throws:
      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.