Isle
Loading...
Searching...
No Matches
MxDiskStreamProviderThread Class Reference

[AI] Thread to handle disk-based streaming for MxDiskStreamProvider, running as a worker for disk streaming actions. More...

#include <mxdiskstreamprovider.h>

Inheritance diagram for MxDiskStreamProviderThread:
Collaboration diagram for MxDiskStreamProviderThread:

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...
 
- Public Member Functions inherited from MxThread
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

MxDiskStreamProviderm_target
 [AI] Target provider instance for this worker thread. More...
 
- Protected Attributes inherited from MxThread
MxCorem_target
 [AI] Pointer to the target object (optional, typically the object being processed by the thread). Offset 0x18 More...
 

Additional Inherited Members

- Protected Member Functions inherited from MxThread
 MxThread ()
 [AI] Protected constructor for MxThread. More...
 

Detailed Description

[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.

Constructor & Destructor Documentation

◆ MxDiskStreamProviderThread()

MxDiskStreamProviderThread::MxDiskStreamProviderThread ( )
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.

Member Function Documentation

◆ Run()

MxResult MxDiskStreamProviderThread::Run ( )
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.

Returns
[AI]

Reimplemented from MxThread.

Definition at line 21 of file mxdiskstreamprovider.cpp.

◆ StartWithTarget()

MxResult MxDiskStreamProviderThread::StartWithTarget ( MxDiskStreamProvider p_target)

[AI] Starts the thread with a specific MxDiskStreamProvider as its target.

Parameters
p_targetThe disk streaming provider instance owning this thread. [AI]
Returns
[AI]

Definition at line 32 of file mxdiskstreamprovider.cpp.

Member Data Documentation

◆ m_target

MxDiskStreamProvider* MxDiskStreamProviderThread::m_target
protected

[AI] Target provider instance for this worker thread.

[AI_SUGGESTED_NAME: m_target]

Definition at line 48 of file mxdiskstreamprovider.h.


The documentation for this class was generated from the following files: