DynExp
Highly flexible laboratory automation for dynamically changing experiments.
|
Allow exclusive access to some of RunnableObject's
private methods to class RunnableInstance
.
More...
Private Member Functions | |
constexpr | RunnableInstanceOnlyType (RunnableObject &Parent) noexcept |
Construcs an instance - one for each RunnableObject instance. More... | |
void | OnThreadHasExited () const noexcept |
This function is called when the RunnableObject instance's thread terminates. The thread receives a RunnableInstance instance as a parameter. When it exits, this RunnableInstance instance is destroyed. So, RunnableInstance's destructor is invoked. It calls RunnableInstance::SetThreadExited(), which in turn calls this function, and signals the thread termination to ThreadExitedSignal. More... | |
bool | IsLinkedObjStateCheckRequested () const noexcept |
Indicates whether the RunnableInstance instance belonging to this RunnableObject instance's thread should recheck the states of all Object instances this RunnableObject uses. More... | |
void | ResetLinkedObjStateCheckRequested () const noexcept |
Sets RunnableObject::LinkedObjStateCheckRequested to false. More... | |
Private Attributes | |
RunnableObject & | Parent |
Owning RunnableObject instance. More... | |
Friends | |
class | RunnableObject |
class | RunnableInstance |
Allow exclusive access to some of RunnableObject's
private methods to class RunnableInstance
.
|
inlineconstexprprivatenoexcept |
Construcs an instance - one for each RunnableObject
instance.
Parent | Owning RunnableObject instance |
|
inlineprivatenoexcept |
Indicates whether the RunnableInstance
instance belonging to this RunnableObject
instance's thread should recheck the states of all Object
instances this RunnableObject
uses.
|
inlineprivatenoexcept |
This function is called when the RunnableObject
instance's thread terminates. The thread receives a RunnableInstance
instance as a parameter. When it exits, this RunnableInstance
instance is destroyed. So, RunnableInstance's
destructor is invoked. It calls RunnableInstance::SetThreadExited(), which in turn calls this function, and signals the thread termination to ThreadExitedSignal.
|
inlineprivatenoexcept |
Sets RunnableObject::LinkedObjStateCheckRequested to false.
|
friend |
|
friend |
|
private |
Owning RunnableObject
instance.