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 java
.util
.Collection
;
17 import org
.eclipse
.tracecompass
.tmf
.core
.trace
.ITmfTrace
;
20 * This class represent an action to be done when event matches are found. This
21 * interface needs to be implemented by all classes that want to be warned when
22 * new event matches are found. They need to register to an instance of
23 * TmfEventMatches class in order to be informed of matches.
25 * @author Geneviève Bastien
28 public interface IMatchProcessingUnit
{
31 * Once the traces are known, hook function to initialize some things
33 * @param fTraces the set of traces that will be synchronized
35 void init(Collection
<ITmfTrace
> fTraces
);
38 * Function called when a match is found
43 void addMatch(TmfEventDependency match
);
46 * Function called after all matching has been done, to do any post-match
54 * @return the number of matches
This page took 0.031161 seconds and 5 git commands to generate.