test_class.declarator: logger = LoggerFactory.getLogger(RCLJavaTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger logger = LoggerFactory.getLogger(RCLJavaTest.class);
test_class.type: Logger
test_class.var_name: logger
test_class.declarator: TEST_TOPIC = "_test_topic"
test_class.modifier: public static final
test_class.original_string: public static final String TEST_TOPIC = "_test_topic";
test_class.type: String
test_class.var_name: TEST_TOPIC
test_class.declarator: ERROR_RUNTIME = "Expected Runtime error."
test_class.modifier: public static final
test_class.original_string: public static final String ERROR_RUNTIME = "Expected Runtime error.";
test_class.type: String
test_class.var_name: ERROR_RUNTIME
test_class.file: rcljava/src/test/java/org/ros2/rcljava/RCLJavaTest.java
test_class.identifier: RCLJavaTest
test_class.superclass: extends AbstractRosTest
test_case.body: @Test
      public final void testInit() {
          logger.debug(new Object(){}.getClass().getEnclosingMethod().getName());
  
          boolean test = true;
  
          try {
              Assert.assertEquals(false, RCLJava.isInitialized());
              this.initRCLjava();
              Assert.assertEquals(true, RCLJava.isInitialized());
          } catch (Exception e) {
              test = false;
          } finally {
              this.releaseRCLjava();
          }
  
          Assert.assertTrue("failed to initialize rclJava", test);
      }
test_case.class_method_signature: RCLJavaTest.testInit()
test_case.full_signature: @Test public final void testInit()
test_case.identifier: testInit
test_case.invocations: debug getName getEnclosingMethod getClass assertEquals isInitialized initRCLjava assertEquals isInitialized releaseRCLjava assertTrue
test_case.modifiers: @Test public final
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInit()
focal_class.declarator: logger = LoggerFactory.getLogger(RCLJava.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(RCLJava.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.declarator: DISPLAY_SEPARATOR =
              "==============================================================="
focal_class.modifier: private static final
focal_class.original_string: private static final String DISPLAY_SEPARATOR =
              "===============================================================";
focal_class.type: String
focal_class.var_name: DISPLAY_SEPARATOR
focal_class.declarator: rmwImplementation
focal_class.modifier: private static
focal_class.original_string: private static String rmwImplementation;
focal_class.type: String
focal_class.var_name: rmwImplementation
focal_class.declarator: initialized = false
focal_class.modifier: private static volatile
focal_class.original_string: private static volatile boolean initialized = false;
focal_class.type: boolean
focal_class.var_name: initialized
focal_class.declarator: arguments
focal_class.modifier: private static
focal_class.original_string: private static String[] arguments;
focal_class.type: String[]
focal_class.var_name: arguments
focal_class.declarator: RMW_TO_TYPESUPPORT = new ConcurrentSkipListMap<String, String>() {
          /** Serial Id */
          private static final long serialVersionUID = 1L;
  
          {
              put("rmw_fastrtps_cpp",         "rosidl_typesupport_introspection_c");
  
              // DISABLE multi-rmw.
  //            put("rmw_opensplice_cpp",       "rosidl_typesupport_opensplice_c");
  //            put("rmw_connext_cpp",          "rosidl_typesupport_connext_c");
  //            put("rmw_connext_dynamic_cpp",  "rosidl_typesupport_introspection_c");
          }
      }
focal_class.modifier: private static final
focal_class.original_string: private static final ConcurrentMap<String, String> RMW_TO_TYPESUPPORT = new ConcurrentSkipListMap<String, String>() {
          /** Serial Id */
          private static final long serialVersionUID = 1L;
  
          {
              put("rmw_fastrtps_cpp",         "rosidl_typesupport_introspection_c");
  
              // DISABLE multi-rmw.
  //            put("rmw_opensplice_cpp",       "rosidl_typesupport_opensplice_c");
  //            put("rmw_connext_cpp",          "rosidl_typesupport_connext_c");
  //            put("rmw_connext_dynamic_cpp",  "rosidl_typesupport_introspection_c");
          }
      };
focal_class.type: ConcurrentMap<String, String>
focal_class.var_name: RMW_TO_TYPESUPPORT
focal_class.file: rcljava/src/main/java/org/ros2/rcljava/RCLJava.java
focal_class.identifier: RCLJava
focal_class.class_method_signature: RCLJava.nativeRCLJavaInit(String... args)
focal_class.full_signature: private static native void nativeRCLJavaInit(String... args)
focal_class.identifier: nativeRCLJavaInit
focal_class.modifiers: private static native
focal_class.parameters: (String... args)
focal_class.return: void
focal_class.signature: void nativeRCLJavaInit(String... args)
focal_class.class_method_signature: RCLJava.nativeShutdown()
focal_class.full_signature: private static native void nativeShutdown()
focal_class.identifier: nativeShutdown
focal_class.modifiers: private static native
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void nativeShutdown()
focal_class.class_method_signature: RCLJava.nativeOk()
focal_class.full_signature: private static native boolean nativeOk()
focal_class.identifier: nativeOk
focal_class.modifiers: private static native
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean nativeOk()
focal_class.class_method_signature: RCLJava.nativeGetRMWIdentifier()
focal_class.full_signature: private static native String nativeGetRMWIdentifier()
focal_class.identifier: nativeGetRMWIdentifier
focal_class.modifiers: private static native
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String nativeGetRMWIdentifier()
focal_class.class_method_signature: RCLJava.nativeConvertQoSProfileToHandle(
              int history, int depth, int reliability, int durability, boolean avoidRos)
focal_class.full_signature: private static native long nativeConvertQoSProfileToHandle(
              int history, int depth, int reliability, int durability, boolean avoidRos)
focal_class.identifier: nativeConvertQoSProfileToHandle
focal_class.modifiers: private static native
focal_class.parameters: (
              int history, int depth, int reliability, int durability, boolean avoidRos)
focal_class.return: long
focal_class.signature: long nativeConvertQoSProfileToHandle(
              int history, int depth, int reliability, int durability, boolean avoidRos)
focal_class.class_method_signature: RCLJava.nativeDisposeQoSProfile(
              long qosProfileHandle)
focal_class.full_signature: private static native void nativeDisposeQoSProfile(
              long qosProfileHandle)
focal_class.identifier: nativeDisposeQoSProfile
focal_class.modifiers: private static native
focal_class.parameters: (
              long qosProfileHandle)
focal_class.return: void
focal_class.signature: void nativeDisposeQoSProfile(
              long qosProfileHandle)
focal_class.class_method_signature: RCLJava.RCLJava()
focal_class.full_signature: private  RCLJava()
focal_class.identifier: RCLJava
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  RCLJava()
focal_class.class_method_signature: RCLJava.getRmwImplementationSuffix(final String rmwImplementation)
focal_class.full_signature: private static String getRmwImplementationSuffix(final String rmwImplementation)
focal_class.identifier: getRmwImplementationSuffix
focal_class.modifiers: private static
focal_class.parameters: (final String rmwImplementation)
focal_class.return: String
focal_class.signature: String getRmwImplementationSuffix(final String rmwImplementation)
focal_class.class_method_signature: RCLJava.displayContext()
focal_class.full_signature: private static void displayContext()
focal_class.identifier: displayContext
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void displayContext()
focal_class.class_method_signature: RCLJava.displayReport()
focal_class.full_signature: private static void displayReport()
focal_class.identifier: displayReport
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void displayReport()
focal_class.class_method_signature: RCLJava.rclJavaInit(final String... args)
focal_class.full_signature: public static void rclJavaInit(final String... args)
focal_class.identifier: rclJavaInit
focal_class.modifiers: public static
focal_class.parameters: (final String... args)
focal_class.return: void
focal_class.signature: void rclJavaInit(final String... args)
focal_class.class_method_signature: RCLJava.isInitialized()
focal_class.full_signature: public static boolean isInitialized()
focal_class.identifier: isInitialized
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isInitialized()
focal_class.class_method_signature: RCLJava.createNode(final String defaultName)
focal_class.full_signature: public static Node createNode(final String defaultName)
focal_class.identifier: createNode
focal_class.modifiers: public static
focal_class.parameters: (final String defaultName)
focal_class.return: Node
focal_class.signature: Node createNode(final String defaultName)
focal_class.class_method_signature: RCLJava.createNode(final String namespace, final String defaultName)
focal_class.full_signature: public static Node createNode(final String namespace, final String defaultName)
focal_class.identifier: createNode
focal_class.modifiers: public static
focal_class.parameters: (final String namespace, final String defaultName)
focal_class.return: Node
focal_class.signature: Node createNode(final String namespace, final String defaultName)
focal_class.class_method_signature: RCLJava.spinOnce(final Node node)
focal_class.full_signature: public static void spinOnce(final Node node)
focal_class.identifier: spinOnce
focal_class.modifiers: public static
focal_class.parameters: (final Node node)
focal_class.return: void
focal_class.signature: void spinOnce(final Node node)
focal_class.class_method_signature: RCLJava.spin(final Node node)
focal_class.full_signature: public static void spin(final Node node)
focal_class.identifier: spin
focal_class.modifiers: public static
focal_class.parameters: (final Node node)
focal_class.return: void
focal_class.signature: void spin(final Node node)
focal_class.class_method_signature: RCLJava.ok()
focal_class.full_signature: public static boolean ok()
focal_class.identifier: ok
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean ok()
focal_class.class_method_signature: RCLJava.shutdown()
focal_class.full_signature: public static void shutdown()
focal_class.identifier: shutdown
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void shutdown()
focal_class.class_method_signature: RCLJava.shutdown(final boolean force)
focal_class.full_signature: private static void shutdown(final boolean force)
focal_class.identifier: shutdown
focal_class.modifiers: private static
focal_class.parameters: (final boolean force)
focal_class.return: void
focal_class.signature: void shutdown(final boolean force)
focal_class.class_method_signature: RCLJava.getRMWIdentifier()
focal_class.full_signature: public static String getRMWIdentifier()
focal_class.identifier: getRMWIdentifier
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getRMWIdentifier()
focal_class.class_method_signature: RCLJava.getTypesupportIdentifier()
focal_class.full_signature: public static String getTypesupportIdentifier()
focal_class.identifier: getTypesupportIdentifier
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getTypesupportIdentifier()
focal_class.class_method_signature: RCLJava.setRMWImplementation(final String rmwImplementation)
focal_class.full_signature: @SuppressWarnings("PMD.AvoidUsingNativeCode") public static void setRMWImplementation(final String rmwImplementation)
focal_class.identifier: setRMWImplementation
focal_class.modifiers: @SuppressWarnings("PMD.AvoidUsingNativeCode") public static
focal_class.parameters: (final String rmwImplementation)
focal_class.return: void
focal_class.signature: void setRMWImplementation(final String rmwImplementation)
focal_class.class_method_signature: RCLJava.loadLibrary(final String name)
focal_class.full_signature: @SuppressWarnings("PMD.AvoidUsingNativeCode") public static void loadLibrary(final String name)
focal_class.identifier: loadLibrary
focal_class.modifiers: @SuppressWarnings("PMD.AvoidUsingNativeCode") public static
focal_class.parameters: (final String name)
focal_class.return: void
focal_class.signature: void loadLibrary(final String name)
focal_class.class_method_signature: RCLJava.autoLoadRmw()
focal_class.full_signature: private static void autoLoadRmw()
focal_class.identifier: autoLoadRmw
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void autoLoadRmw()
focal_class.class_method_signature: RCLJava.shutdownHook()
focal_class.full_signature: protected static void shutdownHook()
focal_class.identifier: shutdownHook
focal_class.modifiers: protected static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void shutdownHook()
focal_class.class_method_signature: RCLJava.lockAndCheckInitialized()
focal_class.full_signature: private static void lockAndCheckInitialized()
focal_class.identifier: lockAndCheckInitialized
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void lockAndCheckInitialized()
focal_class.class_method_signature: RCLJava.convertQoSProfileToHandle(final QoSProfile qosProfile)
focal_class.full_signature: public static long convertQoSProfileToHandle(final QoSProfile qosProfile)
focal_class.identifier: convertQoSProfileToHandle
focal_class.modifiers: public static
focal_class.parameters: (final QoSProfile qosProfile)
focal_class.return: long
focal_class.signature: long convertQoSProfileToHandle(final QoSProfile qosProfile)
focal_class.class_method_signature: RCLJava.disposeQoSProfile(final long qosProfileHandle)
focal_class.full_signature: public static void disposeQoSProfile(final long qosProfileHandle)
focal_class.identifier: disposeQoSProfile
focal_class.modifiers: public static
focal_class.parameters: (final long qosProfileHandle)
focal_class.return: void
focal_class.signature: void disposeQoSProfile(final long qosProfileHandle)
focal_method.body: public static boolean isInitialized() {
          return RCLJava.initialized;
      }
focal_method.class_method_signature: RCLJava.isInitialized()
focal_method.full_signature: public static boolean isInitialized()
focal_method.identifier: isInitialized
focal_method.modifiers: public static
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean isInitialized()