![]() |
Scanframe Modular Application 0.1.0
|
Template for a method having 2 arguments. More...
#include <ThreadRelay.h>
Public Member Functions | |
Relay2 (ThreadRelay &tr, ClassType *cls, MethodType mtd, Ret &ret, Arg1 &arg1, Arg2 &arg2) | |
![]() | |
RelayBase (ThreadRelay &tr) | |
Constructor. | |
virtual | ~RelayBase ()=default |
Default virtual destructor. | |
operator bool () | |
Blocks the thread when the thread id is different then the thread which created the ThreadRelay instance. | |
Additional Inherited Members | |
![]() | |
std::atomic< bool > | _sentry {false} |
Prevents the execution of the method more the once. | |
ThreadRelay & | _tr |
Prevents the execution of the method more the once. | |
Semaphore | _semaphore |
Holds the semaphore to stop the thread until the method is executed. | |
friend | ThreadRelay |
Template for a method having 2 arguments.
|
inline |