Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::events::LockingCoalescedUpdater Class Referenceabstract

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.

Detailed Description

Locking variant of CoalescedUpdater — blocks the trigger thread until the update is processed on the event thread.

Use with caution.

Constructor & Destructor Documentation

◆ ~LockingCoalescedUpdater()

virtual pulp::events::LockingCoalescedUpdater::~LockingCoalescedUpdater ( )
virtualdefault

Member Function Documentation

◆ on_update()

virtual void pulp::events::LockingCoalescedUpdater::on_update ( )
pure virtual

Override to handle the update.

◆ trigger_and_wait()

void pulp::events::LockingCoalescedUpdater::trigger_and_wait ( )

Trigger and wait for the update to be processed.


The documentation for this class was generated from the following file: