struct aiLogStream {
aiLogStreamCallback callback;
char * user;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | AILogStream.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CALLBACK
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | USER
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | AILogStream(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public AILogStreamCallback | |
| public AILogStream | |
| public static AILogStream | |
| public static AILogStream. | calloc(int
the buffer capacity capacity)Returns a new |
| public static AILogStream | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AILogStream. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AILogStream | |
| public static AILogStream | |
| public static AILogStream. | |
| public static AILogStream. | |
| protected AILogStream | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static AILogStream | |
| public static AILogStream | |
| public static AILogStream. | create(int
the buffer capacity capacity)Returns a new |
| public static AILogStream. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static AILogStream | |
| public static AILogStream. | |
| public static AILogStream | |
| public static AILogStream. | malloc(int
the buffer capacity capacity)Returns a new |
| public static AILogStream | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static AILogStream. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static AILogStream | |
| public static AILogStream | |
| public static AILogStream. | |
| public static AILogStream. | |
| public static AILogStreamCallback | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public AILogStream | set(AILogStreamCallbackI callback, ByteBuffer user)
Initializes this struct with the specified values. |
| public AILogStream | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public ByteBuffer | Returns: user data to be passed to the callbackthe number of elements in the returned buffer capacity)
|
| public AILogStream | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| CALLBACK | back to summary |
|---|---|
| public static final int CALLBACK The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| USER | back to summary |
|---|---|
| public static final int USER The struct member offsets. | |
| AILogStream | back to summary |
|---|---|
| protected AILogStream(long address, ByteBuffer container) | |
| AILogStream | back to summary |
|---|---|
| public AILogStream(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| callback | back to summary |
|---|---|
| public AILogStreamCallback callback() callback to be called
| |
| callback | back to summary |
|---|---|
| public AILogStream callback(AILogStreamCallbackI value) Sets the specified value to the | |
| calloc | back to summary |
|---|---|
| public static AILogStream calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static AILogStream. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AILogStream calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static AILogStream. Returns a new
| |
| callocStack | back to summary |
|---|---|
| public static AILogStream callocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AILogStream callocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AILogStream. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| callocStack | back to summary |
|---|---|
| public static AILogStream. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| create | back to summary |
|---|---|
| protected AILogStream create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static AILogStream create() Returns a new | |
| create | back to summary |
|---|---|
| public static AILogStream create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static AILogStream. Returns a new
| |
| create | back to summary |
|---|---|
| public static AILogStream. Create a
| |
| createSafe | back to summary |
|---|---|
| public static AILogStream createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static AILogStream. Like
| |
| malloc | back to summary |
|---|---|
| public static AILogStream malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static AILogStream. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AILogStream malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static AILogStream. Returns a new
| |
| mallocStack | back to summary |
|---|---|
| public static AILogStream mallocStack()
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AILogStream mallocStack(MemoryStack stack)
Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AILogStream. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| mallocStack | back to summary |
|---|---|
| public static AILogStream. Deprecated
Deprecated for removal in 3.4.0. Use
| |
| ncallback | back to summary |
|---|---|
| public static AILogStreamCallback ncallback(long struct) Unsafe version of | |
| ncallback | back to summary |
|---|---|
| public static void ncallback(long struct, AILogStreamCallbackI value) Unsafe version of | |
| nuser | back to summary |
|---|---|
| public static ByteBuffer nuser(long struct, int capacity) Unsafe version of
| |
| nuser | back to summary |
|---|---|
| public static void nuser(long struct, ByteBuffer value) Unsafe version of | |
| set | back to summary |
|---|---|
| public AILogStream set(AILogStreamCallbackI callback, ByteBuffer user) Initializes this struct with the specified values. | |
| set | back to summary |
|---|---|
| public AILogStream set(AILogStream src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| user | back to summary |
|---|---|
public ByteBuffer user(int capacity)
| |
| user | back to summary |
|---|---|
| public AILogStream user(ByteBuffer value) Sets the address of the specified | |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
AILogStream structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final AILogStream |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AILogStreamCallback | |
| public AILogStream. | |
| protected AILogStream | |
| protected AILogStream. | |
| public ByteBuffer | |
| public AILogStream. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final AILogStream ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values
will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided
by The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| callback | back to summary |
|---|---|
public AILogStreamCallback callback()
| |
| callback | back to summary |
|---|---|
| public AILogStream. Sets the specified value to the | |
| getElementFactory | back to summary |
|---|---|
| protected AILogStream getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected AILogStream. Implements abstract org.
| |
| user | back to summary |
|---|---|
public ByteBuffer user(int capacity)
| |
| user | back to summary |
|---|---|
| public AILogStream. Sets the address of the specified | |