Class AILogStream

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class AILogStream extends Struct<AILogStream> implements NativeResource
Represents a log stream. A log stream receives all log messages and streams them somewhere

Layout


 struct aiLogStream {
     aiLogStreamCallback callback();
     char * user(int);
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • CALLBACK

      public static final int CALLBACK
      The struct member offsets.
    • USER

      public static final int USER
      The struct member offsets.
  • Constructor Details

    • AILogStream

      public AILogStream(ByteBuffer container)
      Creates a AILogStream instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details