1
package org.eclipse.linuxtools.internal.lttng.jni_v2_5;
2
/*******************************************************************************
3
* Copyright (c) 2009 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
* William Bourque (wbourque@gmail.com) - Initial API and implementation
12
*******************************************************************************/
14
import org.eclipse.linuxtools.internal.lttng.jni.common.Jni_C_Pointer_And_Library_Id;
15
import org.eclipse.linuxtools.internal.lttng.jni.exception.JniException;
16
import org.eclipse.linuxtools.lttng.jni.JniMarker;
17
import org.eclipse.linuxtools.lttng.jni.JniMarkerField;
20
* <b><u>JniMarker_v2_5</u></b>
22
* JniMarker version to support Lttng traceformat of version 2.5<br>
23
* This class extend abstract class JniMarker with (possibly) version specific implementation.<br>
26
public class JniMarker_v2_5 extends JniMarker {
29
* Forbid access to the default constructor
31
protected JniMarker_v2_5() {
36
public JniMarker_v2_5(JniMarker_v2_5 oldMarker) {
40
public JniMarker_v2_5(Jni_C_Pointer_And_Library_Id newMarkerPtr) throws JniException {
46
* Allocate (call constructor for) a new JniMarkerField.<p>
48
* This method is made to bypass limitation related to abstract class, see comment in JniMarker
50
* @return JniMarkerField a newly allocated JniMarkerField
52
* @see org.eclipse.linuxtools.lttng.jni.JniMarker
55
public JniMarkerField allocateNewJniMarkerField(Jni_C_Pointer_And_Library_Id newMarkerFieldPtr) throws JniException {
56
return new JniMarkerField_v2_5(newMarkerFieldPtr);