1 /*******************************************************************************
3 * Copyright (c) 2012 Ericsson
5 * All rights reserved. This program and the accompanying materials are
6 * made available under the terms of the Eclipse Public License v1.0 which
7 * accompanies this distribution, and is available at
8 * http://www.eclipse.org/legal/epl-v10.html
11 * Francois Chouinard - Initial API and implementation
12 *******************************************************************************/
14 package org
.eclipse
.linuxtools
.tmf
.core
.trace
;
16 import org
.eclipse
.linuxtools
.tmf
.core
.event
.ITmfTimestamp
;
19 * A concrete implementation of TmfLocation based on ITmfTimestamp:s
21 * @author Francois Chouinard
24 public final class TmfTimestampLocation
extends TmfLocation
{
27 * The normal constructor
29 * @param locationInfo the concrete location
31 public TmfTimestampLocation(final ITmfTimestamp locationInfo
) {
36 * The copy constructor
38 * @param other the other location
40 public TmfTimestampLocation(final TmfTimestampLocation other
) {
41 super(other
.getLocationInfo());
45 * @see org.eclipse.linuxtools.tmf.core.trace.ITmfLocation#getLocationInfo()
48 public ITmfTimestamp
getLocationInfo() {
49 return (ITmfTimestamp
) super.getLocationInfo();