Class DataLogJNI

java.lang.Object
org.wpilib.datalog.DataLogJNI

public class DataLogJNI extends Object
DataLog JNI Functions.
See Also:
  • "wpi/datalog/DataLog.hpp"
  • Method Details

    • forceLoad

      public static void forceLoad() throws IOException
      Force load the library.
      Throws:
      IOException - if the library failed to load
    • createFileLogger

      public static long createFileLogger(String file, long log, String key)
      Create a native FileLogger. When the specified file is modified, appended data will be appended to the specified data log.
      Parameters:
      file - path to the file
      log - data log implementation handle
      key - log key to append data to
      Returns:
      The FileLogger handle.
    • freeFileLogger

      public static void freeFileLogger(long fileTail)
      Free a native FileLogger. This causes the FileLogger to stop appending data to the log.
      Parameters:
      fileTail - The FileLogger handle.