org.rococoa.cocoa.osservices
Class HDQueueElement

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure<HDQueueElement,HDQueueElement.ByValue,HDQueueElement.ByReference>
          extended by org.rococoa.cocoa.osservices.HDQueueElement
All Implemented Interfaces:
StructureType, StructureTypeDependent, Comparable<Structure<HDQueueElement,HDQueueElement.ByValue,HDQueueElement.ByReference>>
Direct Known Subclasses:
HDQueueElement.ByReference, HDQueueElement.ByValue

public class HDQueueElement
extends Structure<HDQueueElement,HDQueueElement.ByValue,HDQueueElement.ByReference>

native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/Power.h:662
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 HDQueueElement.ByReference
           
static class HDQueueElement.ByValue
           
 
Field Summary
 short hdFlags
           
 OSServicesLibrary.HDSpindownProcPtr hdProc
          pointer to routine to call
C type : HDSpindownUPP
 HDQueueElement.ByReference hdQLink
          pointer to next queue element
C type : HDQueueElement*
 short hdQType
           
 NativeLong hdUser
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
HDQueueElement()
           
HDQueueElement(HDQueueElement.ByReference hdQLink, short hdQType, short hdFlags, OSServicesLibrary.HDSpindownProcPtr hdProc, NativeLong hdUser)
           
 
Method Summary
static HDQueueElement[] newArray(int arrayLength)
           
 
Methods inherited from class com.ochafik.lang.jnaerator.runtime.Structure
byReference, byValue, castToArray, castToArray, castToArray, castToReferenceArray, castToReferenceArray, castToValueArray, castToValueArray, clone, compareTo, newArray, read, setDependency, toArray, toArray, toArray, toReferenceArray, toReferenceArray, toValueArray, toValueArray, use, use, use, use, write
 
Methods inherited from class com.sun.jna.Structure
autoRead, autoRead, autoWrite, autoWrite, clear, equals, getAutoRead, getAutoWrite, getPointer, hashCode, newInstance, readField, setAutoRead, setAutoSynch, setAutoWrite, size, toString, writeField, writeField
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ochafik.lang.jnaerator.runtime.StructureType
getPointer, size
 

Field Detail

hdQLink

public HDQueueElement.ByReference hdQLink
pointer to next queue element
C type : HDQueueElement*


hdQType

public short hdQType

hdFlags

public short hdFlags

hdProc

public OSServicesLibrary.HDSpindownProcPtr hdProc
pointer to routine to call
C type : HDSpindownUPP


hdUser

public NativeLong hdUser
Constructor Detail

HDQueueElement

public HDQueueElement()

HDQueueElement

public HDQueueElement(HDQueueElement.ByReference hdQLink,
                      short hdQType,
                      short hdFlags,
                      OSServicesLibrary.HDSpindownProcPtr hdProc,
                      NativeLong hdUser)
Parameters:
hdQLink - pointer to next queue element
C type : HDQueueElement*
hdQType - queue element type (must be HDPwrQType)
hdFlags - miscellaneous flags
hdProc - pointer to routine to call
C type : HDSpindownUPP
hdUser - user-defined (variable storage, etc.)
Method Detail

newArray

public static HDQueueElement[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.