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)
30 * @author Francois Chouinard
37 public interface ITmfEvent
extends IAdaptable
{
39 // ------------------------------------------------------------------------
41 // ------------------------------------------------------------------------
44 * @return the trace that 'owns' the event
46 @NonNull ITmfTrace
getTrace();
49 * @return the event rank within the parent trace
54 * @return the event timestamp
56 @NonNull ITmfTimestamp
getTimestamp();
59 * @return the event type
61 ITmfEventType
getType();
64 * @return the event content
66 ITmfEventField
getContent();
69 * Gets the name of the event
71 * @return the name of the event, same as getType().getName()
This page took 0.032363 seconds and 6 git commands to generate.