|
|
| FThread (const FThread &)=delete |
| | Delete standard constructor.
|
| |
|
template<class Function , class... Args> |
| | FThread (Function &&function, Args &&... args) noexcept |
| | < Constructor of thread object and started it
|
| |
|
| FThread () noexcept |
| | Constructor of thread object.
|
| |
|
virtual | ~FThread () |
| | Destroy thread object.
|
| |
|
template<class Function , class... Args> |
| void | Start (Function &&function, Args &&... args) noexcept |
| | < Start the thread with parameters
|
| |
|
void | Join () const noexcept |
| | Starts and waits for a thread to finish its execution.
|
| |
|
void | Detach () const noexcept |
| | Permits the thread to execute independently from the thread handle.
|
| |
|
void | Abord () const noexcept |
| | Terminate current thread.
|
| |
|
std::thread::id | Id () const noexcept |
| | Returns id of the thread.
|
| |
| void | operator= (FThread &&thread) noexcept |
| |
|
Boolean | operator== (const FThread &thread) const noexcept |
| | Returns TRUE if object and thread equels.
|
| |
|
Boolean | operator!= (const FThread &thread) const noexcept |
| | Returns TRUE if object and thread not equels.
|
| |
|
void | StartedHandle (FSlot< int > &slot) |
| | Handle for started signal.
|
| |
|
void | CompletedHandle (FSlot< int > &slot) |
| | Handle for completed signal.
|
| |
|
const type_info & | GetType () override |
| | Returns the type info over object.
|
| |
|
FString | GetName () const override |
| | < Returns the name of object
|
| |
|
| FObject ()=default |
| | Constructor.
|
| |
|
virtual | ~FObject ()=default |
| | Destructor.
|
| |
The class thread represents a single thread of execution. Threads allow multiple functions to execute concurrently.