Class VREventNotification

  • All Implemented Interfaces:

    public class VREventNotification
    extends Struct
    Notification related events. Details will still change at this point.


     struct VREvent_Notification_t {
         uint64_t ulUserValue;
         uint32_t notificationId;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.

        The struct member offsets.
    • Constructor Detail

      • VREventNotification

        public VREventNotification​(java.nio.ByteBuffer container)
        Creates a VREventNotification 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 Detail

      • sizeof

        public int sizeof()
        Description copied from class: Struct
        Returns sizeof(struct).
        Specified by:
        sizeof in class Struct
      • ulUserValue

        public long ulUserValue()
        Returns the value of the ulUserValue field.
      • notificationId

        public int notificationId()
        Returns the value of the notificationId field.
      • create

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

        public static VREventNotification createSafe​(long address)
        Like create, but returns null if address is NULL.
      • nulUserValue

        public static long nulUserValue​(long struct)
        Unsafe version of ulUserValue().
      • nnotificationId

        public static int nnotificationId​(long struct)
        Unsafe version of notificationId().