Commit | Line | Data |
---|---|---|
8c8bf09f | 1 | /******************************************************************************* |
c392540b | 2 | * Copyright (c) 2009, 2011 Ericsson |
8c8bf09f ASL |
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 | 13 | package org.eclipse.linuxtools.tmf.core.signal; |
8c8bf09f | 14 | |
4df4581d | 15 | import org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp; |
6c13869b | 16 | import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange; |
8c8bf09f ASL |
17 | |
18 | /** | |
19 | * <b><u>TmfRangeSynchSignal</u></b> | |
20 | * <p> | |
8c8bf09f ASL |
21 | */ |
22 | public class TmfRangeSynchSignal extends TmfSignal { | |
23 | ||
c392540b | 24 | private final TmfTimeRange fCurrentRange; |
4df4581d | 25 | private final ITmfTimestamp fCurrentTime; |
8c8bf09f | 26 | |
4df4581d | 27 | public TmfRangeSynchSignal(Object source, TmfTimeRange range, ITmfTimestamp ts) { |
c392540b FC |
28 | super(source); |
29 | fCurrentRange = range; | |
30 | fCurrentTime = ts; | |
31 | } | |
8c8bf09f | 32 | |
c392540b FC |
33 | public TmfTimeRange getCurrentRange() { |
34 | return fCurrentRange; | |
35 | } | |
8c8bf09f | 36 | |
4df4581d | 37 | public ITmfTimestamp getCurrentTime() { |
c392540b FC |
38 | return fCurrentTime; |
39 | } | |
8c8bf09f ASL |
40 | |
41 | } |