Commit | Line | Data |
---|---|---|
4ab33d2b AO |
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: | |
165c977c | 10 | * Francois Chouinard - Initial API and implementation |
4ab33d2b AO |
11 | *******************************************************************************/ |
12 | ||
165c977c | 13 | package org.eclipse.linuxtools.tmf.trace; |
4ab33d2b | 14 | |
146a887c | 15 | import org.eclipse.linuxtools.tmf.event.TmfTimeRange; |
50adc88e FC |
16 | import org.eclipse.linuxtools.tmf.signal.TmfSignal; |
17 | ||
4ab33d2b | 18 | /** |
146a887c | 19 | * <b><u>TmfTraceUpdatedSignal</u></b> |
4ab33d2b AO |
20 | * <p> |
21 | * TODO: Implement me. Please. | |
22 | */ | |
82b08e62 | 23 | public class TmfTraceUpdatedSignal extends TmfSignal { |
50adc88e | 24 | |
146a887c FC |
25 | private final ITmfTrace fTrace; |
26 | private final TmfTimeRange fTimeRange; | |
50adc88e | 27 | |
146a887c | 28 | public TmfTraceUpdatedSignal(Object source, ITmfTrace trace, TmfTimeRange range) { |
50adc88e | 29 | super(source); |
146a887c FC |
30 | fTrace = trace; |
31 | fTimeRange = range; | |
50adc88e | 32 | } |
4ab33d2b | 33 | |
146a887c FC |
34 | public ITmfTrace getTrace() { |
35 | return fTrace; | |
36 | } | |
37 | ||
38 | public TmfTimeRange getRange() { | |
39 | return fTimeRange; | |
50adc88e | 40 | } |
8d2e2848 FC |
41 | |
42 | /* (non-Javadoc) | |
43 | * @see java.lang.Object#toString() | |
44 | */ | |
45 | @Override | |
46 | public String toString() { | |
47 | return "[TmfTraceUpdatedSignal (" + fTrace.toString() + ", " + fTimeRange.toString() + ")]"; | |
48 | } | |
49 | ||
4ab33d2b | 50 | } |