org.rococoa.cocoa.osservices
Class DevicePowerInfo
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
org.rococoa.cocoa.osservices.DevicePowerInfo
- Direct Known Subclasses:
- DevicePowerInfo.ByReference, DevicePowerInfo.ByValue
public class DevicePowerInfo
- extends com.ochafik.lang.jnaerator.runtime.Structure
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.
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure |
setupClone |
Methods inherited from class com.sun.jna.Structure |
allocateMemory, allocateMemory, cacheTypeInfo, clear, ensureAllocated, equals, getAutoRead, getAutoWrite, getFieldOrder, getNativeAlignment, getPointer, getStructAlignment, hashCode, newInstance, read, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setTypeMapper, size, sortFields, toArray, toArray, toString, useMemory, useMemory, write, writeField, writeField |
version
public int version
regID
public NativeLong regID
flags
public int flags
minimumWakeTime
public int minimumWakeTime
sleepPowerNeeded
public int sleepPowerNeeded
DevicePowerInfo
public DevicePowerInfo()
DevicePowerInfo
public DevicePowerInfo(int version,
NativeLong regID,
int flags,
int minimumWakeTime,
int sleepPowerNeeded)
- Parameters:
version
- Version of this structure.
regID
- RegEntryID for device.
flags
- Flags
minimumWakeTime
- Minimum seconds before sleeping again.
sleepPowerNeeded
- Milliwatts needed in the sleep state.
byReference
public DevicePowerInfo.ByReference byReference()
byValue
public DevicePowerInfo.ByValue byValue()
clone
public DevicePowerInfo clone()
- Overrides:
clone
in class Object