Class 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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected ITrace2D m_trace
      Target trace where all collected data is added.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 all ITracePoint 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.