1 /*******************************************************************************
2 * Copyright (c) 2009, 2014 Ericsson
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
10 * Francois Chouinard - Initial API and implementation
11 * Francois Chouinard - Updated as per TMF Trace Model 1.0
12 *******************************************************************************/
14 package org
.eclipse
.tracecompass
.tmf
.core
.trace
.location
;
16 import java
.nio
.ByteBuffer
;
19 * The generic trace location in TMF.
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
25 * This location is trace-specific, must be comparable and immutable.
27 * @author Francois Chouinard
29 public interface ITmfLocation
{
31 // ------------------------------------------------------------------------
33 // ------------------------------------------------------------------------
36 * Returns the concrete trace location information
38 * @return the location information
40 Comparable
<?
> getLocationInfo();
43 * Write the location to the ByteBuffer so that it can be saved to disk.
44 * @param bufferOut the buffer to write to
46 void serialize(ByteBuffer bufferOut
);
This page took 0.047915 seconds and 5 git commands to generate.