Allow exclusive access to some of ModuleDataBase's
private methods to the module thread ModuleThreadMain()
.
More...
Allow exclusive access to some of ModuleDataBase's
private methods to the module thread ModuleThreadMain()
.
Definition at line 217 of file Module.h.
◆ ModuleThreadOnlyType()
constexpr DynExp::ModuleDataBase::ModuleThreadOnlyType::ModuleThreadOnlyType |
( |
ModuleDataBase & |
Parent | ) |
|
|
inlineconstexprprivatenoexcept |
◆ GetNewEventNotifier()
auto& DynExp::ModuleDataBase::ModuleThreadOnlyType::GetNewEventNotifier |
( |
| ) |
|
|
inlineprivatenoexcept |
◆ SetException()
void DynExp::ModuleDataBase::ModuleThreadOnlyType::SetException |
( |
std::exception_ptr |
ModuleException | ) |
|
|
inlineprivatenoexcept |
◆ ModuleDataBase
◆ 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
The documentation for this class was generated from the following file: