Allow exclusive access to some of ModuleBase's private methods to the module thread ModuleThreadMain().
More...
Allow exclusive access to some of ModuleBase's private methods to the module thread ModuleThreadMain().
Definition at line 397 of file Module.h.
◆ ModuleThreadOnlyType()
| constexpr DynExp::ModuleBase::ModuleThreadOnlyType::ModuleThreadOnlyType |
( |
ModuleBase & |
Parent | ) |
|
|
inlineconstexprprivatenoexcept |
Construcs an instance - one for each ModuleBase instance.
- Parameters
-
Definition at line 406 of file Module.h.
◆ HandleEvent()
| void DynExp::ModuleBase::ModuleThreadOnlyType::HandleEvent |
( |
ModuleInstance & |
Instance | ) |
|
|
inlineprivate |
◆ ModuleMainLoop()
◆ OnError()
| void DynExp::ModuleBase::ModuleThreadOnlyType::OnError |
( |
ModuleInstance & |
Instance | ) |
|
|
inlineprivate |
◆ OnPause()
| void DynExp::ModuleBase::ModuleThreadOnlyType::OnPause |
( |
ModuleInstance & |
Instance | ) |
|
|
inlineprivate |
◆ OnResume()
| void DynExp::ModuleBase::ModuleThreadOnlyType::OnResume |
( |
ModuleInstance & |
Instance | ) |
|
|
inlineprivate |
◆ SetReasonWhyPaused()
| void DynExp::ModuleBase::ModuleThreadOnlyType::SetReasonWhyPaused |
( |
std::string |
Description | ) |
|
|
inlineprivate |
◆ ModuleBase
◆ ModuleThreadMain
Modules run in their own thread. This is the module thread's main function.
- Parameters
-
| Instance | Handle to the module thread's data related to the module running this thread. The module thread is expected to let the lifetime of Instance expire upon termination. |
| Module | Pointer to the module running this thread |
- Returns
- Util::DynExpErrorCodes::NoError if the thread terminated without an error, the respective error code otherwise.
Definition at line 10 of file Module.cpp.
◆ Parent
| ModuleBase& DynExp::ModuleBase::ModuleThreadOnlyType::Parent |
|
private |
The documentation for this class was generated from the following file: