34ecf1f5f254a0f7af4fae66855c2f6d1172cff8
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng.jni / src / org / eclipse / linuxtools / lttng / jni_v2_6 / JniMarker_v2_6.java
1 package org.eclipse.linuxtools.lttng.jni_v2_6;
2 /*******************************************************************************
3 * Copyright (c) 2009 Ericsson
4 *
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
9 *
10 * Contributors:
11 * William Bourque (wbourque@gmail.com) - Initial API and implementation
12 *******************************************************************************/
13
14 import org.eclipse.linuxtools.lttng.jni.JniMarker;
15 import org.eclipse.linuxtools.lttng.jni.JniMarkerField;
16 import org.eclipse.linuxtools.lttng.jni.common.Jni_C_Pointer_And_Library_Id;
17 import org.eclipse.linuxtools.lttng.jni.exception.JniException;
18
19 /**
20 * <b><u>JniMarker_v2_6</u></b>
21 * <p>
22 * JniMarker version to support Lttng traceformat of version 2.6<br>
23 * This class extend abstract class JniMarker with (possibly) version specific implementation.<br>
24 * <p>
25 */
26 public class JniMarker_v2_6 extends JniMarker {
27
28 /*
29 * Forbid access to the default constructor
30 */
31 protected JniMarker_v2_6() {
32 super();
33 }
34
35
36 public JniMarker_v2_6(JniMarker_v2_6 oldMarker) {
37 super(oldMarker);
38 }
39
40 public JniMarker_v2_6(Jni_C_Pointer_And_Library_Id newMarkerPtr) throws JniException {
41 super(newMarkerPtr);
42 }
43
44
45 /**
46 * Allocate (call constructor for) a new JniMarkerField.<p>
47 *
48 * This method is made to bypass limitation related to abstract class, see comment in JniMarker
49 *
50 * @return JniMarkerField a newly allocated JniMarkerField
51 *
52 * @see org.eclipse.linuxtools.lttng.jni.JniMarker
53 */
54 @Override
55 public JniMarkerField allocateNewJniMarkerField(Jni_C_Pointer_And_Library_Id newMarkerFieldPtr) throws JniException {
56 return new JniMarkerField_v2_6(newMarkerFieldPtr);
57 }
58 }
This page took 0.030718 seconds and 4 git commands to generate.