Package org.lwjgl.openvr
Class VREventProcess
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.openvr.VREventProcess
-
- All Implemented Interfaces:
org.lwjgl.system.Pointer
public class VREventProcess extends org.lwjgl.system.StructUsed for events about processes.Member documentation
bConnectionLost– if the associated event was triggered by a connection loss
Layout
struct VREvent_Process_t { uint32_t pid; uint32_t oldPid; bool bForced; bool bConnectionLost; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVREventProcess.BufferAn array ofVREventProcessstructs.
-
Constructor Summary
Constructors Constructor Description VREventProcess(java.nio.ByteBuffer container)Creates aVREventProcessinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbConnectionLost()Returns the value of thebConnectionLostfield.booleanbForced()Returns the value of thebForcedfield.static VREventProcesscreate(long address)Returns a newVREventProcessinstance for the specified memory address.static VREventProcess.Buffercreate(long address, int capacity)Create aVREventProcess.Bufferinstance at the specified memory.static VREventProcesscreateSafe(long address)static VREventProcess.BuffercreateSafe(long address, int capacity)static booleannbConnectionLost(long struct)Unsafe version ofbConnectionLost().static booleannbForced(long struct)Unsafe version ofbForced().static intnoldPid(long struct)Unsafe version ofoldPid().static intnpid(long struct)Unsafe version ofpid().intoldPid()Returns the value of theoldPidfield.intpid()Returns the value of thepidfield.intsizeof()
-
-
-
Constructor Detail
-
VREventProcess
public VREventProcess(java.nio.ByteBuffer container)
Creates aVREventProcessinstance at the current position of the specifiedByteBuffercontainer. 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()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
pid
public int pid()
Returns the value of thepidfield.
-
oldPid
public int oldPid()
Returns the value of theoldPidfield.
-
bForced
public boolean bForced()
Returns the value of thebForcedfield.
-
bConnectionLost
public boolean bConnectionLost()
Returns the value of thebConnectionLostfield.
-
create
public static VREventProcess create(long address)
Returns a newVREventProcessinstance for the specified memory address.
-
createSafe
@Nullable public static VREventProcess createSafe(long address)
-
create
public static VREventProcess.Buffer create(long address, int capacity)
Create aVREventProcess.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VREventProcess.Buffer createSafe(long address, int capacity)
-
npid
public static int npid(long struct)
Unsafe version ofpid().
-
noldPid
public static int noldPid(long struct)
Unsafe version ofoldPid().
-
nbForced
public static boolean nbForced(long struct)
Unsafe version ofbForced().
-
nbConnectionLost
public static boolean nbConnectionLost(long struct)
Unsafe version ofbConnectionLost().
-
-