org.rococoa.cocoa.osservices
Class PMgrQueueElement

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

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

native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/OSServices.framework/Headers/Power.h:670
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 PMgrQueueElement.ByReference
           
static class PMgrQueueElement.ByValue
           
 
Field Summary
 short pmFlags
           
 NativeLong pmNotifyBits
           
 OSServicesLibrary.PMgrStateChangeProcPtr pmProc
          pointer to routine to call
C type : PMgrStateChangeUPP
 PMgrQueueElement.ByReference pmQLink
          pointer to next queue element
C type : PMgrQueueElement*
 short pmQType
           
 NativeLong pmUser
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
PMgrQueueElement()
           
PMgrQueueElement(PMgrQueueElement.ByReference pmQLink, short pmQType, short pmFlags, NativeLong pmNotifyBits, OSServicesLibrary.PMgrStateChangeProcPtr pmProc, NativeLong pmUser)
           
 
Method Summary
static PMgrQueueElement[] 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

pmQLink

public PMgrQueueElement.ByReference pmQLink
pointer to next queue element
C type : PMgrQueueElement*


pmQType

public short pmQType

pmFlags

public short pmFlags

pmNotifyBits

public NativeLong pmNotifyBits

pmProc

public OSServicesLibrary.PMgrStateChangeProcPtr pmProc
pointer to routine to call
C type : PMgrStateChangeUPP


pmUser

public NativeLong pmUser
Constructor Detail

PMgrQueueElement

public PMgrQueueElement()

PMgrQueueElement

public PMgrQueueElement(PMgrQueueElement.ByReference pmQLink,
                        short pmQType,
                        short pmFlags,
                        NativeLong pmNotifyBits,
                        OSServicesLibrary.PMgrStateChangeProcPtr pmProc,
                        NativeLong pmUser)
Parameters:
pmQLink - pointer to next queue element
C type : PMgrQueueElement*
pmQType - queue element type (must be PMgrStateQType)
pmFlags - miscellaneous flags
pmNotifyBits - bitmap of which changes to be notified for
pmProc - pointer to routine to call
C type : PMgrStateChangeUPP
pmUser - user-defined (variable storage, etc.)
Method Detail

newArray

public static PMgrQueueElement[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.