Locking variant of CoalescedUpdater — blocks the trigger thread until the update is processed on the event thread. More...
#include <volume_detector.hpp>
Public Member Functions | |
| virtual | ~LockingCoalescedUpdater ()=default |
| void | trigger_and_wait () |
| Trigger and wait for the update to be processed. | |
| virtual void | on_update ()=0 |
| Override to handle the update. | |
Locking variant of CoalescedUpdater — blocks the trigger thread until the update is processed on the event thread.
Use with caution.
|
virtualdefault |
|
pure virtual |
Override to handle the update.
| void pulp::events::LockingCoalescedUpdater::trigger_and_wait | ( | ) |
Trigger and wait for the update to be processed.