Base class for a thread.
More...
#include <Thread.hpp>
◆ IThread()
| Faro::IThread::IThread |
( |
| ) |
|
|
inline |
◆ AddTask()
| void Faro::IThreadInterface::AddTask |
( |
ThreadTask |
task | ) |
|
|
inherited |
Schedule the supplied task to be executed ont this thread.
- Parameters
-
| task | Task function to execute |
◆ GetThreadId()
| String Faro::IThread::GetThreadId |
( |
| ) |
|
|
overridevirtual |
◆ IsRunning()
| bool Faro::IThread::IsRunning |
( |
| ) |
|
Check if the thread is currently running.
- Returns
- true The thread is running
-
false The thread is not running
◆ RegisterThread()
| void Faro::IThreadInterface::RegisterThread |
( |
| ) |
|
|
protectedinherited |
◆ RequestStop()
| void Faro::IThread::RequestStop |
( |
| ) |
|
Request the thread to stop.
◆ RunTasks()
| void Faro::IThreadInterface::RunTasks |
( |
| ) |
|
|
protectedinherited |
Executed any pending tasks.
◆ Start()
| void Faro::IThread::Start |
( |
| ) |
|
◆ ThreadDestroy()
| virtual void Faro::IThreadInterface::ThreadDestroy |
( |
| ) |
|
|
protectedpure virtualinherited |
◆ ThreadInit()
| virtual void Faro::IThreadInterface::ThreadInit |
( |
| ) |
|
|
protectedpure virtualinherited |
◆ ThreadUpdate()
| virtual void Faro::IThreadInterface::ThreadUpdate |
( |
| ) |
|
|
protectedpure virtualinherited |
◆ UnregisterThread()
| void Faro::IThreadInterface::UnregisterThread |
( |
| ) |
|
|
protectedinherited |
◆ WaitForStop()
| void Faro::IThread::WaitForStop |
( |
| ) |
|
Request the thread to stop and wait for it.
The documentation for this class was generated from the following files:
- /github/workspace/Source/Engine/Platform/PlatformBase/Source/Thread.hpp
- /github/workspace/Source/Engine/Platform/PlatformBase/Source/Thread.cpp