Remove all existing @since annotations
[deliverable/tracecompass.git] / org.eclipse.tracecompass.tmf.core / src / org / eclipse / tracecompass / tmf / core / trace / location / ITmfLocation.java
CommitLineData
8c8bf09f 1/*******************************************************************************
ed902a2b 2 * Copyright (c) 2009, 2014 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
2bdf0193 14package org.eclipse.tracecompass.tmf.core.trace.location;
8c8bf09f 15
032ecd45
MAL
16import java.nio.ByteBuffer;
17
8c8bf09f 18/**
2848c377
FC
19 * The generic trace location in TMF.
20 * <p>
fcccd900
FC
21 * An ITmfLocation is the equivalent of a random-access file position, holding
22 * enough information to allow the positioning of the trace 'pointer' to read an
23 * arbitrary event.
24 * <p>
d62bb185 25 * This location is trace-specific, must be comparable and immutable.
0283f7ff 26 *
f7703ed6 27 * @author Francois Chouinard
8c8bf09f 28 */
1e1bef82 29public interface ITmfLocation {
452ad365 30
fcccd900
FC
31 // ------------------------------------------------------------------------
32 // Getters
33 // ------------------------------------------------------------------------
34
35 /**
5976d44a
FC
36 * Returns the concrete trace location information
37 *
38 * @return the location information
fcccd900 39 */
57a2a5ca 40 Comparable<?> getLocationInfo();
452ad365 41
032ecd45
MAL
42 /**
43 * Write the location to the ByteBuffer so that it can be saved to disk.
44 * @param bufferOut the buffer to write to
032ecd45
MAL
45 */
46 void serialize(ByteBuffer bufferOut);
8c8bf09f 47}
This page took 0.07323 seconds and 5 git commands to generate.