org.rococoa.cocoa.carboncore
Class MPEventInfo

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

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

native declaration : /System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers/MultiprocessingInfo.h:341
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 MPEventInfo.ByReference
           
static class MPEventInfo.ByValue
           
 
Field Summary
 int eventName
          Event name
C type : OSType
 int events
           
 NativeLong nWaiting
           
 CarbonCoreLibrary.OpaqueMPProcessID processID
          Owning process ID
C type : MPProcessID
 int version
          Version of the data structure requested
C type : PBVersion
 CarbonCoreLibrary.OpaqueMPTaskID waitingTaskID
          First waiting task.
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE
 
Constructor Summary
MPEventInfo()
           
MPEventInfo(int version, CarbonCoreLibrary.OpaqueMPProcessID processID, int eventName, NativeLong nWaiting, CarbonCoreLibrary.OpaqueMPTaskID waitingTaskID, int events)
           
 
Method Summary
static MPEventInfo[] 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

version

public int version
Version of the data structure requested
C type : PBVersion


processID

public CarbonCoreLibrary.OpaqueMPProcessID processID
Owning process ID
C type : MPProcessID


eventName

public int eventName
Event name
C type : OSType


nWaiting

public NativeLong nWaiting

waitingTaskID

public CarbonCoreLibrary.OpaqueMPTaskID waitingTaskID
First waiting task.
C type : MPTaskID


events

public int events
Constructor Detail

MPEventInfo

public MPEventInfo()

MPEventInfo

public MPEventInfo(int version,
                   CarbonCoreLibrary.OpaqueMPProcessID processID,
                   int eventName,
                   NativeLong nWaiting,
                   CarbonCoreLibrary.OpaqueMPTaskID waitingTaskID,
                   int events)
Parameters:
version - Version of the data structure requested
C type : PBVersion
processID - Owning process ID
C type : MPProcessID
eventName - Event name
C type : OSType
nWaiting - C type : ItemCount
waitingTaskID - First waiting task.
C type : MPTaskID
events - C type : MPEventFlags
Method Detail

newArray

public static MPEventInfo[] newArray(int arrayLength)


Copyright © 2009. All Rights Reserved.