1
/*******************************************************************************
2
* Copyright (c) 2012, 2013 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
*******************************************************************************/
13
package org.eclipse.linuxtools.tmf.core.trace;
15
import org.eclipse.linuxtools.tmf.core.timestamp.ITmfTimestamp;
18
* A concrete implementation of TmfLocation based on ITmfTimestamp:s
20
* @author Francois Chouinard
23
public final class TmfTimestampLocation extends TmfLocation {
26
* The normal constructor
28
* @param locationInfo the concrete location
30
public TmfTimestampLocation(final ITmfTimestamp locationInfo) {
35
* The copy constructor
37
* @param other the other location
39
public TmfTimestampLocation(final TmfTimestampLocation other) {
40
super(other.getLocationInfo());
44
public ITmfTimestamp getLocationInfo() {
45
return (ITmfTimestamp) super.getLocationInfo();