}
/**
- * Method getStateSystem.
- *
- * @return IStateSystemQuerier
* @since 2.0
*/
+ @Override
public ITmfStateSystem getStateSystem() {
return this.ss;
}
import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp;
import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange;
import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException;
+import org.eclipse.linuxtools.tmf.core.statesystem.ITmfStateSystem;
/**
* The event stream structure in TMF. In its basic form, a trace has:
*/
public int getCacheSize();
+ /**
+ * @return The state system that is associated with this trace
+ * @since 2.0
+ */
+ public ITmfStateSystem getStateSystem();
+
// ------------------------------------------------------------------------
// Trace characteristics getters
// ------------------------------------------------------------------------
import org.eclipse.linuxtools.tmf.core.exceptions.TmfTraceException;
import org.eclipse.linuxtools.tmf.core.request.ITmfDataRequest;
import org.eclipse.linuxtools.tmf.core.request.ITmfEventRequest;
+import org.eclipse.linuxtools.tmf.core.statesystem.ITmfStateSystem;
/**
* Abstract implementation of ITmfTrace.
return fParser;
}
+ /**
+ * @since 2.0
+ */
+ @Override
+ public ITmfStateSystem getStateSystem() {
+ /*
+ * By default, no state system is used. Sub-classes can specify their
+ * own behaviour.
+ */
+ return null;
+ }
+
// ------------------------------------------------------------------------
// ITmfTrace - Trace characteristics getters
// ------------------------------------------------------------------------