org.rococoa.cocoa.carboncore
Class FSEventStreamContext

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

public class FSEventStreamContext
extends com.ochafik.lang.jnaerator.runtime.Structure

FSEventStreamContext

Discussion:
Structure containing client-supplied data (and callbacks to
manage it) that should be associated with a newly-created stream.
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 FSEventStreamContext.ByReference
           
static class FSEventStreamContext.ByValue
           
 
Field Summary
 CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription
          The callback used to create a descriptive string representation of
the info pointer (or the data pointed to by the info pointer) for
debugging purposes.
 Pointer info
          An arbitrary client-defined value (for instance, a pointer) to be
associated with the stream and passed to the callback when it is
invoked.
 CoreFoundationLibrary.CFAllocatorReleaseCallBack release
          The callback used release a retain on the info pointer.
 CoreFoundationLibrary.CFAllocatorRetainCallBack retain
           
 NativeLong version
           
 
Fields inherited from class com.sun.jna.Structure
ALIGN_DEFAULT, ALIGN_GNUC, ALIGN_MSVC, ALIGN_NONE, CALCULATE_SIZE
 
Constructor Summary
FSEventStreamContext()
           
FSEventStreamContext(NativeLong version, Pointer info, CoreFoundationLibrary.CFAllocatorRetainCallBack retain, CoreFoundationLibrary.CFAllocatorReleaseCallBack release, CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription)
           
 
Method Summary
 FSEventStreamContext.ByReference byReference()
           
 FSEventStreamContext.ByValue byValue()
           
 FSEventStreamContext 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 NativeLong version

info

public Pointer info
An arbitrary client-defined value (for instance, a pointer) to be
associated with the stream and passed to the callback when it is
invoked. If a non-NULL value is supplied for the retain callback
the framework will use it to retain this value. If a non-NULL
value is supplied for the release callback then when the stream is
deallocated it will be used to release this value. This can be
NULL.


retain

public CoreFoundationLibrary.CFAllocatorRetainCallBack retain

release

public CoreFoundationLibrary.CFAllocatorReleaseCallBack release
The callback used release a retain on the info pointer. This can
be NULL.


copyDescription

public CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription
The callback used to create a descriptive string representation of
the info pointer (or the data pointed to by the info pointer) for
debugging purposes. This can be NULL.

Constructor Detail

FSEventStreamContext

public FSEventStreamContext()

FSEventStreamContext

public FSEventStreamContext(NativeLong version,
                            Pointer info,
                            CoreFoundationLibrary.CFAllocatorRetainCallBack retain,
                            CoreFoundationLibrary.CFAllocatorReleaseCallBack release,
                            CoreFoundationLibrary.CFAllocatorCopyDescriptionCallBack copyDescription)
Parameters:
version - Currently the only valid value is zero.
info - An arbitrary client-defined value (for instance, a pointer) to be
associated with the stream and passed to the callback when it is
invoked. If a non-NULL value is supplied for the retain callback
the framework will use it to retain this value. If a non-NULL
value is supplied for the release callback then when the stream is
deallocated it will be used to release this value. This can be
NULL.
retain - The callback used retain the info pointer. This can be NULL.
release - The callback used release a retain on the info pointer. This can
be NULL.
copyDescription - The callback used to create a descriptive string representation of
the info pointer (or the data pointed to by the info pointer) for
debugging purposes. This can be NULL.
Method Detail

byReference

public FSEventStreamContext.ByReference byReference()

byValue

public FSEventStreamContext.ByValue byValue()

clone

public FSEventStreamContext clone()
Overrides:
clone in class Object