6f39e5c30efc57ce9ecb4c2a901db08408e5bd97
1 /*******************************************************************************
2 * Copyright (c) 2012, 2015 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 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.core
.event
;
15 import org
.eclipse
.core
.runtime
.IAdaptable
;
16 import org
.eclipse
.jdt
.annotation
.NonNull
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.timestamp
.ITmfTimestamp
;
18 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
21 * The generic event structure in TMF. In its canonical form, an event has:
24 * <li>a rank (order within the trace)
27 * <li>a content (payload)
31 * @author Francois Chouinard
38 public interface ITmfEvent
extends IAdaptable
{
40 // ------------------------------------------------------------------------
42 // ------------------------------------------------------------------------
45 * @return the trace that 'owns' the event
47 @NonNull ITmfTrace
getTrace();
50 * @return the event rank within the parent trace
55 * @return the event timestamp
58 @NonNull ITmfTimestamp
getTimestamp();
61 * @return the event type
63 ITmfEventType
getType();
66 * @return the event content
68 ITmfEventField
getContent();
This page took 0.047232 seconds and 5 git commands to generate.