Class VREventReserved

  • All Implemented Interfaces:
    Pointer

    public class VREventReserved
    extends Struct
    Not actually used for any events.

    Layout

    
     struct VREvent_Reserved_t {
         uint64_t reserved0;
         uint64_t reserved1;
         uint64_t reserved2;
         uint64_t reserved3;
     }
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • RESERVED0, RESERVED1, RESERVED2, RESERVED3

        The struct member offsets.
    • Constructor Detail

      • VREventReserved

        public VREventReserved​(java.nio.ByteBuffer container)
        Creates a VREventReserved 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
      • reserved0

        public long reserved0()
        Returns the value of the reserved0 field.
      • reserved1

        public long reserved1()
        Returns the value of the reserved1 field.
      • reserved2

        public long reserved2()
        Returns the value of the reserved2 field.
      • reserved3

        public long reserved3()
        Returns the value of the reserved3 field.
      • createSafe

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

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

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

        public static long nreserved0​(long struct)
        Unsafe version of reserved0().
      • nreserved1

        public static long nreserved1​(long struct)
        Unsafe version of reserved1().
      • nreserved2

        public static long nreserved2​(long struct)
        Unsafe version of reserved2().
      • nreserved3

        public static long nreserved3​(long struct)
        Unsafe version of reserved3().