import org.eclipse.linuxtools.ctf.core.event.types.StructDeclaration;
import org.eclipse.linuxtools.ctf.core.event.types.VariantDeclaration;
import org.eclipse.linuxtools.ctf.core.trace.CTFTrace;
-import org.eclipse.linuxtools.ctf.core.trace.Stream;
+import org.eclipse.linuxtools.ctf.core.trace.CTFStream;
import org.eclipse.linuxtools.ctf.parser.CTFParser;
import org.eclipse.linuxtools.internal.ctf.core.Activator;
import org.eclipse.linuxtools.internal.ctf.core.event.EventDeclaration;
}
} else {
/* Add an empty stream that will have a null id */
- fTrace.addStream(new Stream(fTrace));
+ fTrace.addStream(new CTFStream(fTrace));
}
if (DEBUG) {
private void parseStream(CommonTree streamNode) throws ParseException {
- Stream stream = new Stream(fTrace);
+ CTFStream stream = new CTFStream(fTrace);
List<CommonTree> children = streamNode.getChildren();
if (children == null) {
popScope();
}
- private void parseStreamDeclaration(CommonTree streamDecl, Stream stream)
+ private void parseStreamDeclaration(CommonTree streamDecl, CTFStream stream)
throws ParseException {
/* There should be a left and right */
* could be possible to just get the only existing stream, whatever
* is its id.
*/
- Stream stream = fTrace.getStream(null);
+ CTFStream stream = fTrace.getStream(null);
if (stream != null) {
event.setStream(stream);
long streamId = getStreamID(rightNode);
- Stream stream = fTrace.getStream(streamId);
+ CTFStream stream = fTrace.getStream(streamId);
if (stream == null) {
throw new ParseException("Stream " + streamId + " not found"); //$NON-NLS-1$ //$NON-NLS-2$