BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
Broadcaster can be used to ensure that the broadcast is called even in cast when an unexpected exception is thrown. Broadcaster calls broadcast() from its destructor unless it has been called explicitly. More...
#include <WaitCondition.h>
Public Member Functions | |
Broadcaster (WaitCondition &condition) | |
~Broadcaster () | |
It calls broadcast() internally to make sure that the given wait condition has been broadcasted. | |
void | broadcast () |
Call WaitCondition::broadcast() unless it has already been called. | |
Broadcaster can be used to ensure that the broadcast is called even in cast when an unexpected exception is thrown. Broadcaster calls broadcast() from its destructor unless it has been called explicitly.