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.trace; |
8c8bf09f ASL |
14 | |
15 | /** | |
16 | * <b><u>ITmfContext</u></b> | |
17 | * <p> | |
18 | * This is a place-holder for the context objects. | |
19 | */ | |
cbd4ad82 | 20 | public interface ITmfContext { |
8c8bf09f | 21 | |
948b0607 | 22 | public long UNKNOWN_RANK = -2L; |
abfad0aa | 23 | public long INITIAL_RANK = -1L; |
ff4ed569 | 24 | |
948b0607 | 25 | public void dispose(); |
8c8bf09f | 26 | |
948b0607 | 27 | public void setLocation(ITmfLocation<?> location); |
8c8bf09f | 28 | |
948b0607 FC |
29 | @SuppressWarnings("rawtypes") |
30 | public ITmfLocation<? extends Comparable> getLocation(); | |
31 | ||
32 | public void setRank(long rank); | |
33 | ||
34 | public long getRank(); | |
35 | ||
36 | public void updateRank(int rank); | |
37 | ||
38 | public boolean isValidRank(); | |
8c8bf09f | 39 | } |