1 /*******************************************************************************
2 * Copyright (c) 2013, 2014 École Polytechnique de Montréal
4 * All rights reserved. This program and the accompanying materials are made
5 * 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 * Geneviève Bastien - Initial implementation and API
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.core
.event
.matching
;
15 import org
.eclipse
.tracecompass
.tmf
.core
.event
.ITmfEvent
;
16 import org
.eclipse
.tracecompass
.tmf
.core
.event
.matching
.TmfEventMatching
.Direction
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
20 * This interface describe a concrete method to match events. Typically it
21 * manages for a given matching type what events/fields are used to match events
23 * @author Geneviève Bastien
25 public interface ITmfMatchEventDefinition
{
28 * Returns a key for an event that uniquely identifies this event and will
29 * match the key from another event.
32 * The event for which to compute the key
33 * @return the unique key for this event
35 IEventMatchingKey
getEventKey(ITmfEvent event
);
38 * Verifies whether a trace has all required events to match using this
43 * @return Whether the trace has all required information
45 boolean canMatchTrace(ITmfTrace trace
);
48 * Returns the direction of this event, whether 'send', 'receive' or null if
53 * @return The direction of this event, null if uninteresting event
55 Direction
getDirection(ITmfEvent event
);
This page took 0.03383 seconds and 5 git commands to generate.