Remove the generic location (replace by Comparable)
[deliverable/tracecompass.git] / org.eclipse.linuxtools.tmf.core / src / org / eclipse / linuxtools / tmf / core / trace / ITmfLocation.java
CommitLineData
8c8bf09f 1/*******************************************************************************
fcccd900 2 * Copyright (c) 2009, 2010, 2012 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
fcccd900 11 * Francois Chouinard - Updated as per TMF Trace Model 1.0
8c8bf09f
ASL
12 *******************************************************************************/
13
6c13869b 14package org.eclipse.linuxtools.tmf.core.trace;
8c8bf09f 15
f7703ed6 16
8c8bf09f 17/**
2848c377
FC
18 * The generic trace location in TMF.
19 * <p>
fcccd900
FC
20 * An ITmfLocation is the equivalent of a random-access file position, holding
21 * enough information to allow the positioning of the trace 'pointer' to read an
22 * arbitrary event.
23 * <p>
2848c377 24 * This location is trace-specific and must be comparable.
0283f7ff 25 *
f7703ed6
FC
26 * @version 1.0
27 * @author Francois Chouinard
8c8bf09f 28 */
1e1bef82 29public interface ITmfLocation {
452ad365 30
fcccd900
FC
31 // ------------------------------------------------------------------------
32 // Getters
33 // ------------------------------------------------------------------------
34
35 /**
36 * @return the location
6bab4511 37 * @since 2.0
fcccd900 38 */
1e1bef82 39 public Comparable<?> getLocationData();
452ad365 40
fcccd900 41 // ------------------------------------------------------------------------
0316808c 42 // Operations
fcccd900 43 // ------------------------------------------------------------------------
452ad365 44
fcccd900
FC
45 /**
46 * @return a clone of the location
47 */
1e1bef82 48 public ITmfLocation clone();
8c8bf09f
ASL
49
50}
This page took 0.037763 seconds and 5 git commands to generate.