1 package com.intel.realsense.librealsense;
4 import java.util.Scanner;
20 if (!xml_path.contentEquals(
"") ) {
22 try (Scanner scanner =
new Scanner(
new File(xml_path),
"UTF-8" )) {
23 String xml_content_raw = scanner.useDelimiter(
"\\A").next();
24 String xml_content = xml_content_raw.replaceAll(
"\r\n",
"\n" );
26 mIsParserAvailable =
true;
31 throw new RuntimeException(
"path to fw logs xml did not succeed: " + e.getMessage());
38 mFwLogPullingStatus =
false;
43 mFwLogPullingStatus =
false;
62 private static native
long nParseFwLog(
long handle,
long fw_log_msg_handle);
uvc_xu_option< int > super
native long nGetFwLog(long handle)
FwLogParsedMsg parseFwLog(FwLogMsg msg)
GLuint64 GLenum void * handle
boolean mIsParserAvailable
::std_msgs::String_< std::allocator< void > > String
long getNumberOfUnreadFWLogs()
boolean initParser(String xml_path)
static native long nParseFwLog(long handle, long fw_log_msg_handle)
static native boolean nInitParser(long handle, String xml_content)
native long nGetFlashLog(long handle)
FwLogMsg getFwLogsFromFlash()
boolean mFwLogPullingStatus
boolean getFwLogPullingStatus()
native long nGetNumberOfFwLogs(long handle)