Commit | Line | Data |
---|---|---|
8c8bf09f ASL |
1 | /******************************************************************************* |
2 | * Copyright (c) 2009, 2010 Ericsson | |
0283f7ff | 3 | * |
8c8bf09f ASL |
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 | |
0283f7ff | 8 | * |
8c8bf09f ASL |
9 | * Contributors: |
10 | * Francois Chouinard - Initial API and implementation | |
11 | *******************************************************************************/ | |
12 | ||
6c13869b | 13 | package org.eclipse.linuxtools.tmf.core.request; |
8c8bf09f | 14 | |
72f1e62a | 15 | import org.eclipse.linuxtools.tmf.core.event.ITmfEvent; |
6c13869b | 16 | import org.eclipse.linuxtools.tmf.core.event.TmfTimeRange; |
8c8bf09f ASL |
17 | |
18 | /** | |
8fd82db5 | 19 | * The TMF event request |
0283f7ff FC |
20 | * |
21 | * @param <T> The request event type | |
22 | * | |
8fd82db5 FC |
23 | * @version 1.0 |
24 | * @author Francois Chouinard | |
8c8bf09f | 25 | */ |
72f1e62a | 26 | public interface ITmfEventRequest<T extends ITmfEvent> extends ITmfDataRequest<T> { |
8c8bf09f ASL |
27 | |
28 | /** | |
29 | * @return the requested time range | |
30 | */ | |
31 | public TmfTimeRange getRange(); | |
32 | ||
a79913eb FC |
33 | /** |
34 | * this method is called by the event provider to set the index corresponding to the time range start time | |
35 | * @param index the start time index | |
36 | */ | |
37 | public void setStartIndex(int index); | |
38 | ||
8c8bf09f | 39 | } |