Class VREventProgressUpdate

All Implemented Interfaces:
Pointer

public class VREventProgressUpdate extends Struct<VREventProgressUpdate>

Layout


 struct VREvent_ProgressUpdate_t {
     uint64_t ulApplicationPropertyContainer;
     uint64_t pathDevice;
     uint64_t pathInputSource;
     uint64_t pathProgressAction;
     uint64_t pathIcon;
     float fProgress;
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • ULAPPLICATIONPROPERTYCONTAINER

      public static final int ULAPPLICATIONPROPERTYCONTAINER
      The struct member offsets.
    • PATHDEVICE

      public static final int PATHDEVICE
      The struct member offsets.
    • PATHINPUTSOURCE

      public static final int PATHINPUTSOURCE
      The struct member offsets.
    • PATHPROGRESSACTION

      public static final int PATHPROGRESSACTION
      The struct member offsets.
    • PATHICON

      public static final int PATHICON
      The struct member offsets.
    • FPROGRESS

      public static final int FPROGRESS
      The struct member offsets.
  • Constructor Details

    • VREventProgressUpdate

      public VREventProgressUpdate(ByteBuffer container)
      Creates a VREventProgressUpdate instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VREventProgressUpdate>
    • ulApplicationPropertyContainer

      public long ulApplicationPropertyContainer()
      Returns:
      the value of the ulApplicationPropertyContainer field.
    • pathDevice

      public long pathDevice()
      Returns:
      the value of the pathDevice field.
    • pathInputSource

      public long pathInputSource()
      Returns:
      the value of the pathInputSource field.
    • pathProgressAction

      public long pathProgressAction()
      Returns:
      the value of the pathProgressAction field.
    • pathIcon

      public long pathIcon()
      Returns:
      the value of the pathIcon field.
    • fProgress

      public float fProgress()
      Returns:
      the value of the fProgress field.
    • create

      public static VREventProgressUpdate create(long address)
      Returns a new VREventProgressUpdate instance for the specified memory address.
    • createSafe

      @Nullable public static VREventProgressUpdate createSafe(long address)
      Like create, but returns null if address is NULL.
    • create

      public static VREventProgressUpdate.Buffer create(long address, int capacity)
      Create a VREventProgressUpdate.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      @Nullable public static VREventProgressUpdate.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • nulApplicationPropertyContainer

      public static long nulApplicationPropertyContainer(long struct)
    • npathDevice

      public static long npathDevice(long struct)
      Unsafe version of pathDevice().
    • npathInputSource

      public static long npathInputSource(long struct)
      Unsafe version of pathInputSource().
    • npathProgressAction

      public static long npathProgressAction(long struct)
      Unsafe version of pathProgressAction().
    • npathIcon

      public static long npathIcon(long struct)
      Unsafe version of pathIcon().
    • nfProgress

      public static float nfProgress(long struct)
      Unsafe version of fProgress().