org.rococoa.cocoa.carboncore
Class FSEventStreamContext
java.lang.Object
com.sun.jna.Structure
com.ochafik.lang.jnaerator.runtime.Structure
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.
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 |
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.
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.
byReference
public FSEventStreamContext.ByReference byReference()
byValue
public FSEventStreamContext.ByValue byValue()
clone
public FSEventStreamContext clone()
- Overrides:
clone
in class Object