tmf: Fix some javadoc warnings in tmf.core
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / signal / TmfTimeSynchSignal.java
CommitLineData
8c8bf09f
ASL
1/*******************************************************************************
2 * Copyright (c) 2009 Ericsson
3 *
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
8 *
9 * Contributors:
10 * Francois Chouinard - Initial API and implementation
11 *******************************************************************************/
12
6c13869b 13package org.eclipse.linuxtools.tmf.core.signal;
8c8bf09f 14
4df4581d 15import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp;
8c8bf09f
ASL
16
17/**
4b7b3670
FC
18 * A new current time is selected (for component synchronization)
19 *
20 * @version 1.0
21 * @author Francois Chouinard
22*/
8c8bf09f
ASL
23public class TmfTimeSynchSignal extends TmfSignal {
24
4df4581d 25 private final ITmfTimestamp fCurrentTime;
8c8bf09f 26
4df4581d 27 public TmfTimeSynchSignal(Object source, ITmfTimestamp ts) {
8c8bf09f
ASL
28 super(source);
29 fCurrentTime = ts;
30 }
31
4df4581d 32 public ITmfTimestamp getCurrentTime() {
8c8bf09f
ASL
33 return fCurrentTime;
34 }
35
8d2e2848
FC
36 /* (non-Javadoc)
37 * @see java.lang.Object#toString()
38 */
39 @Override
3b38ea61 40 @SuppressWarnings("nls")
8d2e2848
FC
41 public String toString() {
42 return "[TmfTimeSynchSignal (" + fCurrentTime.toString() + ")]";
43 }
44
8c8bf09f 45}
This page took 0.035693 seconds and 5 git commands to generate.