Class OsvrClientKitLibrary

java.lang.Object
com.jme3.system.osvr.osvrclientkit.OsvrClientKitLibrary
All Implemented Interfaces:
com.sun.jna.Library

public class OsvrClientKitLibrary extends Object implements com.sun.jna.Library
JNA Wrapper for library osvrClientKit
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java , Rococoa, or JNA.
  • Field Details

    • JNA_LIBRARY_NAME

      public static final String JNA_LIBRARY_NAME
      See Also:
    • JNA_NATIVE_LIB

      public static final com.sun.jna.NativeLibrary JNA_NATIVE_LIB
  • Constructor Details

    • OsvrClientKitLibrary

      public OsvrClientKitLibrary()
  • Method Details

    • osvrClientInit

      @Deprecated public static OsvrClientKitLibrary.OSVR_ClientContext osvrClientInit(com.sun.jna.Pointer applicationIdentifier, int flags)
      Deprecated.
      use the safer method osvrClientInit(byte[], int) instead
      Initialize the library.
      Parameters:
      applicationIdentifier - A null terminated string identifying your
      application. Reverse DNS format strongly suggested.
      flags - initialization options (reserved) - pass 0 for now.
      Returns:
      Client context - will be needed for subsequent calls
      Original signature : OSVR_ClientContext osvrClientInit(const char[], uint32_t)
    • osvrClientInit

      public static OsvrClientKitLibrary.OSVR_ClientContext osvrClientInit(byte[] applicationIdentifier, int flags)
      Initialize the library.
      Parameters:
      applicationIdentifier - A null terminated string identifying your
      application. Reverse DNS format strongly suggested.
      flags - initialization options (reserved) - pass 0 for now.
      Returns:
      Client context - will be needed for subsequent calls
      Original signature : OSVR_ClientContext osvrClientInit(const char[], uint32_t)
    • osvrClientUpdate

      @Deprecated public static byte osvrClientUpdate(com.sun.jna.Pointer ctx)
      Deprecated.
      Updates the state of the context - call regularly in your mainloop.
      Parameters:
      ctx - Client context
      Original signature : OSVR_ReturnCode osvrClientUpdate(OSVR_ClientContext)
    • osvrClientUpdate

      public static byte osvrClientUpdate(OsvrClientKitLibrary.OSVR_ClientContext ctx)
      Updates the state of the context - call regularly in your mainloop.
      Parameters:
      ctx - Client context
      Original signature : OSVR_ReturnCode osvrClientUpdate(OSVR_ClientContext)
    • osvrClientCheckStatus

      @Deprecated public static byte osvrClientCheckStatus(com.sun.jna.Pointer ctx)
      Checks to see if the client context is fully started up and connected properly to a server.
      If this reports that the client context is not OK, there may not be a server
      running, or you may just have to call osvrClientUpdate() a few times to
      permit startup to finish. The return value of this call will not change from
      failure to success without calling osvrClientUpdate().
      Parameters:
      ctx - Client context
      Returns:
      OSVR_RETURN_FAILURE if not yet fully connected/initialized, or if
      some other error (null context) occurs.
      Original signature : OSVR_ReturnCode osvrClientCheckStatus(OSVR_ClientContext)
    • osvrClientCheckStatus

      public static byte osvrClientCheckStatus(OsvrClientKitLibrary.OSVR_ClientContext ctx)
      Checks to see if the client context is fully started up and connected properly to a server.
      If this reports that the client context is not OK, there may not be a server
      running, or you may just have to call osvrClientUpdate() a few times to
      permit startup to finish. The return value of this call will not change from
      failure to success without calling osvrClientUpdate().
      Parameters:
      ctx - Client context
      Returns:
      OSVR_RETURN_FAILURE if not yet fully connected/initialized, or if
      some other error (null context) occurs.
      Original signature : OSVR_ReturnCode osvrClientCheckStatus(OSVR_ClientContext)
    • osvrClientShutdown

      @Deprecated public static byte osvrClientShutdown(com.sun.jna.Pointer ctx)
      Deprecated.
      Shut down the library.
      Parameters:
      ctx - Client context
      Original signature : OSVR_ReturnCode osvrClientShutdown(OSVR_ClientContext)
    • osvrClientShutdown

      public static byte osvrClientShutdown(OsvrClientKitLibrary.OSVR_ClientContext ctx)
      Shut down the library.
      Parameters:
      ctx - Client context
      Original signature : OSVR_ReturnCode osvrClientShutdown(OSVR_ClientContext)
    • osvrClientLog

      @Deprecated public static void osvrClientLog(com.sun.jna.Pointer ctx, int severity, com.sun.jna.Pointer message)
      Log a message from the client. Original signature : void osvrClientLog(OSVR_ClientContext, OSVR_LogLevel, const char*)
    • osvrClientLog

      public static void osvrClientLog(OsvrClientKitLibrary.OSVR_ClientContext ctx, int severity, String message)
      Log a message from the client. Original signature : void osvrClientLog(OSVR_ClientContext, OSVR_LogLevel, const char*)
    • osvrClientGetInterface

      @Deprecated public static byte osvrClientGetInterface(com.sun.jna.Pointer ctx, com.sun.jna.Pointer path, com.sun.jna.Pointer iface)
      Get the interface associated with the given path.
      Parameters:
      ctx - Client context
      path - A resource path (null-terminated string)
      iface - The interface object. May be freed when no longer needed,
      otherwise it will be freed when the context is closed.
      Original signature : OSVR_ReturnCode osvrClientGetInterface(OSVR_ClientContext, const char[], OSVR_ClientInterface*)
    • osvrClientGetInterface

      public static byte osvrClientGetInterface(OsvrClientKitLibrary.OSVR_ClientContext ctx, byte[] path, com.sun.jna.ptr.PointerByReference iface)
      Get the interface associated with the given path.
      Parameters:
      ctx - Client context
      path - A resource path (null-terminated string)
      iface - The interface object. May be freed when no longer needed,
      otherwise it will be freed when the context is closed.
      Original signature : OSVR_ReturnCode osvrClientGetInterface(OSVR_ClientContext, const char[], OSVR_ClientInterface*)
    • osvrClientGetInterface

      public static byte osvrClientGetInterface(com.sun.jna.Pointer ctx, com.sun.jna.Pointer path, com.sun.jna.ptr.PointerByReference iface)
      Get the interface associated with the given path.
      Parameters:
      ctx - Client context
      path - A resource path (null-terminated string)
      iface - The interface object. May be freed when no longer needed,
      otherwise it will be freed when the context is closed.
      Original signature : OSVR_ReturnCode osvrClientGetInterface(OSVR_ClientContext, const char[], OSVR_ClientInterface*)
    • osvrClientFreeInterface

      @Deprecated public static byte osvrClientFreeInterface(com.sun.jna.Pointer ctx, com.sun.jna.Pointer iface)
      Free an interface object before context closure.
      Parameters:
      ctx - Client context
      iface - The interface object
      Returns:
      OSVR_RETURN_SUCCESS unless a null context or interface was passed
      or the given interface was not found in the context (i.e. had already been
      freed)
      Original signature : OSVR_ReturnCode osvrClientFreeInterface(OSVR_ClientContext, OSVR_ClientInterface)
    • osvrClientFreeInterface

      public static byte osvrClientFreeInterface(OsvrClientKitLibrary.OSVR_ClientContext ctx, OsvrClientKitLibrary.OSVR_ClientInterface iface)
      Free an interface object before context closure.
      Parameters:
      ctx - Client context
      iface - The interface object
      Returns:
      OSVR_RETURN_SUCCESS unless a null context or interface was passed
      or the given interface was not found in the context (i.e. had already been
      freed)
      Original signature : OSVR_ReturnCode osvrClientFreeInterface(OSVR_ClientContext, OSVR_ClientInterface)
    • osvrRegisterPoseCallback

      @Deprecated public static byte osvrRegisterPoseCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterPoseCallback(OSVR_ClientInterface, OSVR_PoseCallback, void*)
    • osvrRegisterPoseCallback

      public static byte osvrRegisterPoseCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterPoseCallback(OSVR_ClientInterface, OSVR_PoseCallback, void*)
    • osvrRegisterPositionCallback

      @Deprecated public static byte osvrRegisterPositionCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterPositionCallback(OSVR_ClientInterface, OSVR_PositionCallback, void*)
    • osvrRegisterPositionCallback

      public static byte osvrRegisterPositionCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterPositionCallback(OSVR_ClientInterface, OSVR_PositionCallback, void*)
    • osvrRegisterOrientationCallback

      @Deprecated public static byte osvrRegisterOrientationCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterOrientationCallback(OSVR_ClientInterface, OSVR_OrientationCallback, void*)
    • osvrRegisterOrientationCallback

      public static byte osvrRegisterOrientationCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterOrientationCallback(OSVR_ClientInterface, OSVR_OrientationCallback, void*)
    • osvrRegisterVelocityCallback

      @Deprecated public static byte osvrRegisterVelocityCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterVelocityCallback(OSVR_ClientInterface, OSVR_VelocityCallback, void*)
    • osvrRegisterVelocityCallback

      public static byte osvrRegisterVelocityCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterVelocityCallback(OSVR_ClientInterface, OSVR_VelocityCallback, void*)
    • osvrRegisterLinearVelocityCallback

      @Deprecated public static byte osvrRegisterLinearVelocityCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterLinearVelocityCallback(OSVR_ClientInterface, OSVR_LinearVelocityCallback, void*)
    • osvrRegisterLinearVelocityCallback

      public static byte osvrRegisterLinearVelocityCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterLinearVelocityCallback(OSVR_ClientInterface, OSVR_LinearVelocityCallback, void*)
    • osvrRegisterAngularVelocityCallback

      @Deprecated public static byte osvrRegisterAngularVelocityCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterAngularVelocityCallback(OSVR_ClientInterface, OSVR_AngularVelocityCallback, void*)
    • osvrRegisterAngularVelocityCallback

      public static byte osvrRegisterAngularVelocityCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterAngularVelocityCallback(OSVR_ClientInterface, OSVR_AngularVelocityCallback, void*)
    • osvrRegisterAccelerationCallback

      @Deprecated public static byte osvrRegisterAccelerationCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterAccelerationCallback(OSVR_ClientInterface, OSVR_AccelerationCallback, void*)
    • osvrRegisterAccelerationCallback

      public static byte osvrRegisterAccelerationCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterAccelerationCallback(OSVR_ClientInterface, OSVR_AccelerationCallback, void*)
    • osvrRegisterLinearAccelerationCallback

      @Deprecated public static byte osvrRegisterLinearAccelerationCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterLinearAccelerationCallback(OSVR_ClientInterface, OSVR_LinearAccelerationCallback, void*)
    • osvrRegisterLinearAccelerationCallback

      public static byte osvrRegisterLinearAccelerationCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterLinearAccelerationCallback(OSVR_ClientInterface, OSVR_LinearAccelerationCallback, void*)
    • osvrRegisterAngularAccelerationCallback

      @Deprecated public static byte osvrRegisterAngularAccelerationCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterAngularAccelerationCallback(OSVR_ClientInterface, OSVR_AngularAccelerationCallback, void*)
    • osvrRegisterAngularAccelerationCallback

      public static byte osvrRegisterAngularAccelerationCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterAngularAccelerationCallback(OSVR_ClientInterface, OSVR_AngularAccelerationCallback, void*)
    • osvrRegisterButtonCallback

      @Deprecated public static byte osvrRegisterButtonCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterButtonCallback(OSVR_ClientInterface, OSVR_ButtonCallback, void*)
    • osvrRegisterButtonCallback

      public static byte osvrRegisterButtonCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Callback cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterButtonCallback(OSVR_ClientInterface, OSVR_ButtonCallback, void*)
    • osvrRegisterAnalogCallback

      @Deprecated public static byte osvrRegisterAnalogCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterAnalogCallback(OSVR_ClientInterface, OSVR_AnalogCallback, void*)
    • osvrRegisterAnalogCallback

      public static byte osvrRegisterAnalogCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Callback cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterAnalogCallback(OSVR_ClientInterface, OSVR_AnalogCallback, void*)
    • osvrRegisterImagingCallback

      @Deprecated public static byte osvrRegisterImagingCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterImagingCallback(OSVR_ClientInterface, OSVR_ImagingCallback, void*)
    • osvrRegisterImagingCallback

      public static byte osvrRegisterImagingCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterImagingCallback(OSVR_ClientInterface, OSVR_ImagingCallback, void*)
    • osvrRegisterLocation2DCallback

      @Deprecated public static byte osvrRegisterLocation2DCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterLocation2DCallback(OSVR_ClientInterface, OSVR_Location2DCallback, void*)
    • osvrRegisterLocation2DCallback

      public static byte osvrRegisterLocation2DCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterLocation2DCallback(OSVR_ClientInterface, OSVR_Location2DCallback, void*)
    • osvrRegisterDirectionCallback

      @Deprecated public static byte osvrRegisterDirectionCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterDirectionCallback(OSVR_ClientInterface, OSVR_DirectionCallback, void*)
    • osvrRegisterDirectionCallback

      public static byte osvrRegisterDirectionCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterDirectionCallback(OSVR_ClientInterface, OSVR_DirectionCallback, void*)
    • osvrRegisterEyeTracker2DCallback

      @Deprecated public static byte osvrRegisterEyeTracker2DCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterEyeTracker2DCallback(OSVR_ClientInterface, OSVR_EyeTracker2DCallback, void*)
    • osvrRegisterEyeTracker2DCallback

      public static byte osvrRegisterEyeTracker2DCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterEyeTracker2DCallback(OSVR_ClientInterface, OSVR_EyeTracker2DCallback, void*)
    • osvrRegisterEyeTracker3DCallback

      @Deprecated public static byte osvrRegisterEyeTracker3DCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterEyeTracker3DCallback(OSVR_ClientInterface, OSVR_EyeTracker3DCallback, void*)
    • osvrRegisterEyeTracker3DCallback

      public static byte osvrRegisterEyeTracker3DCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterEyeTracker3DCallback(OSVR_ClientInterface, OSVR_EyeTracker3DCallback, void*)
    • osvrRegisterEyeTrackerBlinkCallback

      @Deprecated public static byte osvrRegisterEyeTrackerBlinkCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterEyeTrackerBlinkCallback(OSVR_ClientInterface, OSVR_EyeTrackerBlinkCallback, void*)
    • osvrRegisterEyeTrackerBlinkCallback

      public static byte osvrRegisterEyeTrackerBlinkCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterEyeTrackerBlinkCallback(OSVR_ClientInterface, OSVR_EyeTrackerBlinkCallback, void*)
    • osvrRegisterNaviVelocityCallback

      @Deprecated public static byte osvrRegisterNaviVelocityCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterNaviVelocityCallback(OSVR_ClientInterface, OSVR_NaviVelocityCallback, void*)
    • osvrRegisterNaviVelocityCallback

      public static byte osvrRegisterNaviVelocityCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterNaviVelocityCallback(OSVR_ClientInterface, OSVR_NaviVelocityCallback, void*)
    • osvrRegisterNaviPositionCallback

      @Deprecated public static byte osvrRegisterNaviPositionCallback(com.sun.jna.Pointer iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterNaviPositionCallback(OSVR_ClientInterface, OSVR_NaviPositionCallback, void*)
    • osvrRegisterNaviPositionCallback

      public static byte osvrRegisterNaviPositionCallback(OsvrClientKitLibrary.OSVR_ClientInterface iface, com.sun.jna.Pointer cb, com.sun.jna.Pointer userdata)
      Original signature : OSVR_ReturnCode osvrRegisterNaviPositionCallback(OSVR_ClientInterface, OSVR_NaviPositionCallback, void*)