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
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.timestamp
.TmfTimeRange
;
19 * A new active time range has been selected
22 * @author Francois Chouinard
24 public class TmfRangeSynchSignal
extends TmfSignal
{
26 private final TmfTimeRange fCurrentRange
;
27 private final ITmfTimestamp fCurrentTime
;
33 * Object sending this signal
35 * The time range to which we synchronized
37 * The current selected timestamp, independent from the time
41 public TmfRangeSynchSignal(Object source
, TmfTimeRange range
, ITmfTimestamp ts
) {
43 fCurrentRange
= range
;
48 * @return This signal's time range
51 public TmfTimeRange
getCurrentRange() {
56 * @return This signal's current selected timestamp
59 public ITmfTimestamp
getCurrentTime() {