Commit | Line | Data |
---|---|---|
8c8bf09f ASL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2009, 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 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
6c13869b | 13 | package org.eclipse.linuxtools.tmf.core.request; |
8c8bf09f | 14 | |
6c13869b FC |
15 | import org.eclipse.linuxtools.tmf.core.event.TmfEvent; |
16 | import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange; | |
8c8bf09f ASL |
17 | |
18 | /** | |
19 | * <b><u>ITmfEventRequest</u></b> | |
20 | * <p> | |
21 | * TODO: Implement me. Please. | |
22 | */ | |
23 | public interface ITmfEventRequest<T extends TmfEvent> extends ITmfDataRequest<T> { | |
24 | ||
25 | /** | |
26 | * @return the requested time range | |
27 | */ | |
28 | public TmfTimeRange getRange(); | |
29 | ||
a79913eb FC |
30 | /** |
31 | * this method is called by the event provider to set the index corresponding to the time range start time | |
32 | * @param index the start time index | |
33 | */ | |
34 | public void setStartIndex(int index); | |
35 | ||
8c8bf09f | 36 | } |