1 /*******************************************************************************
2 * Copyright (c) 2009, 2011 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
.event
.ITmfTimestamp
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.event
.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
40 public TmfRangeSynchSignal(Object source
, TmfTimeRange range
, ITmfTimestamp ts
) {
42 fCurrentRange
= range
;
47 * @return This signal's time range
49 public TmfTimeRange
getCurrentRange() {
54 * @return This signal's current selected timestamp
56 public ITmfTimestamp
getCurrentTime() {