Weak posting handle for EventLoop tasks that may outlive the loop object.
More...
#include <RADCore.h>
Weak posting handle for EventLoop tasks that may outlive the loop object.
◆ EventLoopHandle()
| RADCore::EventLoopHandle::EventLoopHandle |
( |
| ) |
|
|
default |
Creates an invalid handle.
◆ isValid()
| bool RADCore::EventLoopHandle::isValid |
( |
| ) |
const |
Returns true when the referenced loop still accepts work.
◆ post() [1/2]
Posts normal-priority task; returns false when the loop is gone.
◆ post() [2/2]
Posts task with explicit priority; returns false when the loop is gone.
◆ postDelayed()
| bool RADCore::EventLoopHandle::postDelayed |
( |
int |
delayMs, |
|
|
EventLoop::Task |
task |
|
) |
| const |
Posts task after delayMs milliseconds; returns false when the loop is gone.
◆ EventLoop
The documentation for this class was generated from the following file:
- /media/jvincent/Kingspec512/repos/RADLib/RADCore/headers/RADCore.h