38 return "MxStreamChunk";
[AI] Buffer for managing streamed DS (Data Stream) chunks and actions.
[AI] Represents a chunk of data extracted from a stream (typically from a Mindscape/Mx SI file or str...
MxBool IsA(const char *p_name) const override
[AI] Checks if this object or any parent class matches the provided class name string.
[AI] List container for pointers to MxDSSubscriber objects, with utility methods.
[AI] Represents a streamable chunk of data, typically sourced from a media buffer and designed for no...
MxU32 ReadChunkHeader(MxU8 *p_chunkData)
[AI] Reads this chunk's header fields from the provided chunk data.
MxStreamChunk()
[AI] Constructs a new MxStreamChunk with a null buffer pointer.
const char * ClassName() const override
[AI] Returns the class name identifier for runtime type checking and reflection.
static MxU32 * IntoLength(MxU8 *p_buffer)
[AI] Utility to cast a chunk header buffer into the data length field pointer, facilitating direct pa...
static MxLong * IntoTime(MxU8 *p_buffer)
[AI] Utility to cast a chunk header buffer into the time field pointer, facilitating direct parsing.
MxBool IsA(const char *p_name) const override
[AI] Performs runtime type checking against this or parent class names.
MxDSBuffer * GetBuffer()
[AI] Retrieves the buffer associated with this chunk.
MxResult ReadChunk(MxDSBuffer *p_buffer, MxU8 *p_chunkData)
[AI] Reads the chunk's header and initializes from a chunk data buffer of a streamed data segment.
static MxU32 * IntoObjectId(MxU8 *p_buffer)
[AI] Utility to cast a chunk header buffer into the objectId field pointer, facilitating direct parsi...
MxResult SendChunk(MxDSSubscriberList &p_subscriberList, MxBool p_append, MxS16 p_obj24val)
[AI] Dispatches this stream chunk to a list of subscribers matching certain criteria.
void SetBuffer(MxDSBuffer *p_buffer)
[AI] Sets the buffer reference for this chunk, without incrementing the reference count.
static MxU16 * IntoFlags(MxU8 *p_buffer)
[AI] Utility to cast a chunk header buffer into the flags field pointer, facilitating direct parsing.
~MxStreamChunk() override
[AI] Cleans up the stream chunk, releasing its associated buffer if any.
#define NULL
[AI] Null pointer value (C/C++ semantics).