1 /*******************************************************************************
2 * Copyright (c) 2013 É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
.linuxtools
.tmf
.core
.signal
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.synchronization
.SynchronizationAlgorithm
;
18 * Signal indicating a trace synchronization has been done
20 * @author Geneviève Bastien
23 public class TmfTraceSynchronizedSignal
extends TmfSignal
{
25 private final SynchronizationAlgorithm fAlgoSync
;
31 * Object sending this signal
33 * The synchronization algorithm used
35 public TmfTraceSynchronizedSignal(Object source
, SynchronizationAlgorithm algoSync
) {
41 * Synchronization algorithm getter
43 * @return The algorithm object
45 public SynchronizationAlgorithm
getSyncAlgo() {
50 public String
toString() {
51 return "[" + getClass().getSimpleName() + " (" + fAlgoSync
.toString() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$