Re-structure LTTng sub-project as per the Linux Tools guidelines
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / ITmfContext.java
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
13 package org.eclipse.linuxtools.tmf.core.trace;
14
15 /**
16 * <b><u>ITmfContext</u></b>
17 * <p>
18 * This is a place-holder for the context objects.
19 */
20 public interface ITmfContext {
21
22 public long UNKNOWN_RANK = -2L;
23 public long INITIAL_RANK = -1L;
24
25 public void dispose();
26
27 public void setLocation(ITmfLocation<?> location);
28
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();
39 }
This page took 0.033058 seconds and 5 git commands to generate.