org.rococoa.cocoa.osservices
Class DevicePowerInfo

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by 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.


Nested Class Summary
static class DevicePowerInfo.ByReference
           
static class DevicePowerInfo.ByValue
           
 
Field Summary
 int flags
           
 int minimumWakeTime
           
 NativeLong regID
           
 int sleepPowerNeeded
           
 int version
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
DevicePowerInfo()
           
DevicePowerInfo(int version, NativeLong regID, int flags, int minimumWakeTime, int sleepPowerNeeded)
           
 
Method Summary
 DevicePowerInfo.ByReference byReference()
           
 DevicePowerInfo.ByValue byValue()
           
 DevicePowerInfo clone()
           
 
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
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

version

public int version

regID

public NativeLong regID

flags

public int flags

minimumWakeTime

public int minimumWakeTime

sleepPowerNeeded

public int sleepPowerNeeded
Constructor Detail

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.
Method Detail

byReference

public DevicePowerInfo.ByReference byReference()

byValue

public DevicePowerInfo.ByValue byValue()

clone

public DevicePowerInfo clone()
Overrides:
clone in class Object