Isle
|
[AI] Thread to handle disk-based streaming for MxDiskStreamProvider, running as a worker for disk streaming actions. More...
#include <mxdiskstreamprovider.h>
Public Member Functions | |
MxDiskStreamProviderThread () | |
[AI] Constructs a streaming worker thread for disk streaming provider. More... | |
MxResult | Run () override |
[AI] Entry point for the streaming thread, called to begin the thread's workload. More... | |
MxResult | StartWithTarget (MxDiskStreamProvider *p_target) |
[AI] Starts the thread with a specific MxDiskStreamProvider as its target. More... | |
![]() | |
virtual MxResult | Run () |
[AI] Virtual function executed when the thread runs. More... | |
MxResult | Start (MxS32 p_stackSize, MxS32 p_flag) |
[AI] Starts the thread with a given stack size and creation flags. More... | |
void | Terminate () |
[AI] Signals the thread to terminate. More... | |
void | Sleep (MxS32 p_milliseconds) |
[AI] Sleeps the current thread for the given duration in milliseconds. More... | |
MxBool | IsRunning () |
[AI] Returns whether the thread is currently running. More... | |
virtual | ~MxThread () |
[AI] Virtual destructor for MxThread. More... | |
Protected Attributes | |
MxDiskStreamProvider * | m_target |
[AI] Target provider instance for this worker thread. More... | |
![]() | |
MxCore * | m_target |
[AI] Pointer to the target object (optional, typically the object being processed by the thread). Offset 0x18 More... | |
Additional Inherited Members | |
![]() | |
MxThread () | |
[AI] Protected constructor for MxThread. More... | |
[AI] Thread to handle disk-based streaming for MxDiskStreamProvider, running as a worker for disk streaming actions.
[AI] This class extends MxThread and encapsulates logic to execute and synchronize background streaming requests for MxDiskStreamProvider, ensuring file data is loaded as needed. SIZE: 0x1c [AI]
Definition at line 21 of file mxdiskstreamprovider.h.
|
inline |
[AI] Constructs a streaming worker thread for disk streaming provider.
[AI] Sets the target to nullptr, preparing to run with a streaming provider as the source of work.
Definition at line 27 of file mxdiskstreamprovider.h.
|
overridevirtual |
[AI] Entry point for the streaming thread, called to begin the thread's workload.
[AI] Executes wait and processing logic for its assigned MxDiskStreamProvider.
Reimplemented from MxThread.
Definition at line 21 of file mxdiskstreamprovider.cpp.
MxResult MxDiskStreamProviderThread::StartWithTarget | ( | MxDiskStreamProvider * | p_target | ) |
[AI] Starts the thread with a specific MxDiskStreamProvider as its target.
p_target | The disk streaming provider instance owning this thread. [AI] |
Definition at line 32 of file mxdiskstreamprovider.cpp.
|
protected |
[AI] Target provider instance for this worker thread.
[AI_SUGGESTED_NAME: m_target]
Definition at line 48 of file mxdiskstreamprovider.h.