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
11 *******************************************************************************/
13 package org
.eclipse
.tracecompass
.tmf
.core
.signal
;
15 import org
.eclipse
.tracecompass
.tmf
.core
.synchronization
.SynchronizationAlgorithm
;
18 * Signal indicating a trace synchronization has been done
20 * @author Geneviève Bastien
22 public class TmfTraceSynchronizedSignal
extends TmfSignal
{
24 private final SynchronizationAlgorithm fAlgoSync
;
30 * Object sending this signal
32 * The synchronization algorithm used
34 public TmfTraceSynchronizedSignal(Object source
, SynchronizationAlgorithm algoSync
) {
40 * Synchronization algorithm getter
42 * @return The algorithm object
44 public SynchronizationAlgorithm
getSyncAlgo() {
49 public String
toString() {
50 return "[" + getClass().getSimpleName() + " (" + fAlgoSync
.toString() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$