Commit | Line | Data |
---|---|---|
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 | ||
13 | package org.eclipse.linuxtools.tmf.signal; | |
14 | ||
15 | import org.eclipse.linuxtools.tmf.event.TmfTimeRange; | |
16 | import org.eclipse.linuxtools.tmf.event.TmfTimestamp; | |
17 | ||
18 | /** | |
19 | * <b><u>TmfRangeSynchSignal</u></b> | |
20 | * <p> | |
21 | * TODO: Implement me. Please. | |
22 | */ | |
23 | public class TmfRangeSynchSignal extends TmfSignal { | |
24 | ||
25 | private final TmfTimeRange fCurrentRange; | |
26 | private final TmfTimestamp fCurrentTime; | |
27 | ||
28 | public TmfRangeSynchSignal(Object source, TmfTimeRange range, TmfTimestamp ts) { | |
29 | super(source); | |
30 | fCurrentRange = range; | |
31 | fCurrentTime = ts; | |
32 | } | |
33 | ||
34 | public TmfTimeRange getCurrentRange() { | |
35 | return fCurrentRange; | |
36 | } | |
37 | ||
38 | public TmfTimestamp getCurrentTime() { | |
39 | return fCurrentTime; | |
40 | } | |
41 | ||
42 | } |