1 /*******************************************************************************
2 * Copyright (c) 2014 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 * Matthew Khouzam - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.btf
.core
.event
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfEventField
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfEventType
;
17 import org
.eclipse
.linuxtools
.tmf
.core
.event
.TmfEvent
;
18 import org
.eclipse
.linuxtools
.tmf
.core
.timestamp
.ITmfTimestamp
;
19 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
22 * A Btf event, basically a wrapper for the TmfEvent with the additional field
25 * @author Matthew Khouzam
27 public class BtfEvent
extends TmfEvent
{
29 private final String fDescription
;
32 * Standard constructor.
45 * a description of the type
47 * the event content (payload)
51 public BtfEvent(final ITmfTrace trace
, long rank
, final ITmfTimestamp timestamp
, final String source
,
52 final ITmfEventType type
, String description
, final ITmfEventField content
, final String reference
) {
53 super(trace
, rank
, timestamp
, source
, type
, content
, reference
);
54 fDescription
= description
;
60 * @return the description
62 public String
getEventDescription() {
This page took 0.046165 seconds and 5 git commands to generate.