Rename xxx.lttng to xxx.lttng.core
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf / src / org / eclipse / linuxtools / tmf / signal / TmfExperimentRangeUpdatedSignal.java
CommitLineData
a79913eb
FC
1/*******************************************************************************
2 * Copyright (c) 2011 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:
10 * Patrick Tasse - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.tmf.signal;
14
15import org.eclipse.linuxtools.tmf.event.TmfEvent;
16import org.eclipse.linuxtools.tmf.event.TmfTimeRange;
17import org.eclipse.linuxtools.tmf.experiment.TmfExperiment;
18
19/**
20 * <b><u>TmfExperimentRangeUpdatedSignal</u></b>
21 * <p>
22 */
23public class TmfExperimentRangeUpdatedSignal extends TmfSignal {
24
25 private final TmfExperiment<? extends TmfEvent> fExperiment;
26 private final TmfTimeRange fTimeRange;
27
28 public TmfExperimentRangeUpdatedSignal(Object source, TmfExperiment<? extends TmfEvent> experiment, TmfTimeRange range) { // , ITmfTrace trace) {
29 super(source);
30 fExperiment = experiment;
31 fTimeRange = range;
32 }
33
34 public TmfExperiment<? extends TmfEvent> getExperiment() {
35 return fExperiment;
36 }
37
38 public TmfTimeRange getRange() {
39 return fTimeRange;
40 }
41
42 /* (non-Javadoc)
43 * @see java.lang.Object#toString()
44 */
45 @Override
46 @SuppressWarnings("nls")
47 public String toString() {
48 return "[TmfExperimentRangeUpdatedSignal (" + fExperiment.toString() + ", " + fTimeRange.toString() + ")]";
49 }
50
51}
This page took 0.025634 seconds and 5 git commands to generate.