(no commit message)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / signal / TmfTimeSynchSignal.java
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
13 package org.eclipse.linuxtools.tmf.signal;
14
15 import org.eclipse.linuxtools.tmf.event.TmfTimestamp;
16
17 /**
18 * <b><u>TmfTimeSynchSignal</u></b>
19 * <p>
20 * TODO: Implement me. Please.
21 */
22 public class TmfTimeSynchSignal extends TmfSignal {
23
24 private final TmfTimestamp fCurrentTime;
25
26 public TmfTimeSynchSignal(Object source, TmfTimestamp ts) {
27 super(source);
28 fCurrentTime = ts;
29 }
30
31 public TmfTimestamp getCurrentTime() {
32 return fCurrentTime;
33 }
34
35 /* (non-Javadoc)
36 * @see java.lang.Object#toString()
37 */
38 @Override
39 public String toString() {
40 return "[TmfTimeSynchSignal (" + fCurrentTime.toString() + ")]";
41 }
42
43 }
This page took 0.033307 seconds and 5 git commands to generate.