BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions
BeeeOn::WaitCondition::Broadcaster Class Reference

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.
 

Detailed Description

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.


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