May 31
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng / src / org / eclipse / linuxtools / lttng / state / experiment / IStateExperimentManager.java
CommitLineData
5d10d135
ASL
1/*******************************************************************************
2 * Copyright (c) 2010 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 * Alvaro Sanchez-Leon (alvsan09@gmail.com) - Initial API and implementation
11 *******************************************************************************/
12
13package org.eclipse.linuxtools.lttng.state.experiment;
14
15import org.eclipse.linuxtools.lttng.event.LttngEvent;
16import org.eclipse.linuxtools.lttng.model.LTTngTreeNode;
5d10d135
ASL
17import org.eclipse.linuxtools.tmf.event.TmfTimeRange;
18import org.eclipse.linuxtools.tmf.experiment.TmfExperiment;
19
20public interface IStateExperimentManager {
21
9aae0442
ASL
22// /**
23// * Read all available traces from the nearest checkpoint from start position
24// * to the end of a specified time range. One request per trace in the
25// * experiment will be triggered
26// *
27// * @param trange
28// * @param obs
29// * @param transactionID
30// * @param display
31// * @return
32// */
33// public abstract ILttngSyntEventRequest readExperimentTimeWindow(
34// TmfTimeRange trange,
35// Object origin, IRequestStatusListener listener,
36// ITransEventProcessor processor);
37//
38// /**
39// * Read available traces from the Experiment start time, One request per
40// * trace in the Experiment
41// *
42// * @param source
43// * @param listener
44// * @param processor
45// */
46// public abstract void readExperiment(Object source,
47// IRequestStatusListener listener, ITransEventProcessor processor);
5d10d135
ASL
48
49 /**
50 * A new Experiment selected, notification received from the framework
51 * Notify the new experiment selection to the state handling managers
52 *
53 * @param source
54 * @param experiment
55 */
56 public abstract void experimentSelected_prep(
57 TmfExperiment<LttngEvent> experiment);
58
59 /**
60 * @param source
61 * @param experiment
62 */
63 public void experimentSelected(Object source,
64 TmfExperiment<LttngEvent> experiment);
65
66 /**
67 * @return
68 */
69 public abstract TmfTimeRange getExperimentTimeRange();
70
71 /**
72 * @return
73 */
74 public abstract LTTngTreeNode getSelectedExperiment();
75
76 /**
77 * Wait for request completion upon experiment selection
78 *
79 * @param wait
80 */
81 public abstract void waitForCompletion(boolean wait);
82
83}
This page took 0.026865 seconds and 5 git commands to generate.