1 /*******************************************************************************
2 * Copyright (c) 2011, 2013 Ericsson
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Francois Chouinard - Initial API and implementation
11 * Patrick Tasse - Updated for TMF 2.0
12 *******************************************************************************/
14 package org
.eclipse
.linuxtools
.internal
.gdbtrace
.core
.event
;
16 import org
.eclipse
.linuxtools
.internal
.gdbtrace
.core
.trace
.GdbTrace
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.event
.ITmfEventType
;
18 import org
.eclipse
.tracecompass
.tmf
.core
.event
.TmfEvent
;
19 import org
.eclipse
.tracecompass
.tmf
.core
.timestamp
.ITmfTimestamp
;
22 * GDB Trace implementation of TmfEvent
23 * @author Francois Chouinard
25 public class GdbTraceEvent
extends TmfEvent
{
27 // ------------------------------------------------------------------------
29 // ------------------------------------------------------------------------
34 public GdbTraceEvent() {
53 public GdbTraceEvent(GdbTrace trace
, ITmfTimestamp timestamp
, String source
,
54 ITmfEventType type
, GdbTraceEventContent content
, String reference
) {
55 super(trace
, timestamp
, source
, type
, content
, reference
);
59 public GdbTraceEventContent
getContent() {
60 /* We only allow GdbTraceEventContent at the constructor */
61 return (GdbTraceEventContent
) super.getContent();