1 /*******************************************************************************
2 * Copyright (c) 2009, 2013 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 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.core
.signal
;
15 import org
.eclipse
.linuxtools
.tmf
.core
.timestamp
.ITmfTimestamp
;
18 * A new current time is selected (for component synchronization)
21 * @author Francois Chouinard
23 public class TmfTimeSynchSignal
extends TmfSignal
{
25 private final ITmfTimestamp fCurrentTime
;
31 * Object sending this signal
33 * Synchronize to which timestamp
36 public TmfTimeSynchSignal(Object source
, ITmfTimestamp ts
) {
42 * @return The synchronization timestamp of this signal
45 public ITmfTimestamp
getCurrentTime() {
52 * @see java.lang.Object#toString()
55 public String
toString() {
56 return "[TmfTimeSynchSignal (" + fCurrentTime
.toString() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$