org.rococoa.cocoa.osservices
Class HDQueueElement

java.lang.Object
  extended by com.sun.jna.Structure
      extended by com.ochafik.lang.jnaerator.runtime.Structure
          extended by org.rococoa.cocoa.osservices.HDQueueElement
Direct Known Subclasses:
HDQueueElement.ByReference, HDQueueElement.ByValue

public class HDQueueElement
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 HDQueueElement.ByReference
           
static class HDQueueElement.ByValue
           
 
Field Summary
 short hdFlags
           
 OSServicesLibrary.HDSpindownProcPtr hdProc
           
 HDQueueElement.ByReference hdQLink
           
 short hdQType
           
 NativeLong hdUser
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
HDQueueElement()
           
HDQueueElement(HDQueueElement.ByReference hdQLink, short hdQType, short hdFlags, OSServicesLibrary.HDSpindownProcPtr hdProc, NativeLong hdUser)
           
 
Method Summary
 HDQueueElement.ByReference byReference()
           
 HDQueueElement.ByValue byValue()
           
 HDQueueElement 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

hdQLink

public HDQueueElement.ByReference hdQLink

hdQType

public short hdQType

hdFlags

public short hdFlags

hdProc

public OSServicesLibrary.HDSpindownProcPtr hdProc

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
hdQType - queue element type (must be HDPwrQType)
hdFlags - miscellaneous flags
hdProc - pointer to routine to call
hdUser - user-defined (variable storage, etc.)
Method Detail

byReference

public HDQueueElement.ByReference byReference()

byValue

public HDQueueElement.ByValue byValue()

clone

public HDQueueElement clone()
Overrides:
clone in class Object