176d43144891942208d0b6e912a1a7f770e1f91a
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
.TmfTimeRange
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.trace
.ITmfTrace
;
19 * Signal indicating a trace has been updated.
21 * The trace has been indexed up to the specified range.
24 * @author Francois Chouinard
26 public class TmfTraceUpdatedSignal
extends TmfSignal
{
28 private final ITmfTrace fTrace
;
29 private final TmfTimeRange fTimeRange
;
35 * Object sending this signal
37 * The trace that was updated
39 * The new time range of the trace
42 public TmfTraceUpdatedSignal(Object source
, ITmfTrace trace
, TmfTimeRange range
) {
49 * @return The trace referred to by this signal
51 public ITmfTrace
getTrace() {
56 * @return The time range indicated by this signal
59 public TmfTimeRange
getRange() {
64 @SuppressWarnings("nls")
65 public String
toString() {
66 return "[TmfTraceUpdatedSignal (" + fTrace
.toString() + ", "
67 + fTimeRange
.toString() + ")]";
This page took 0.030898 seconds and 5 git commands to generate.