Sets a flag for the guard's scope and restores its previous value on exit.
More...
#include <mqtt_backend.h>
Sets a flag for the guard's scope and restores its previous value on exit.
Definition at line 31 of file mqtt_backend.h.
◆ DispatchGuard() [1/2]
| esphome::mqtt::DispatchGuard::DispatchGuard |
( |
bool & | flag | ) |
|
|
inlineexplicit |
◆ ~DispatchGuard()
| esphome::mqtt::DispatchGuard::~DispatchGuard |
( |
| ) |
|
|
inline |
◆ DispatchGuard() [2/2]
| esphome::mqtt::DispatchGuard::DispatchGuard |
( |
const DispatchGuard & | | ) |
|
|
delete |
◆ operator=()
◆ flag_
| bool& esphome::mqtt::DispatchGuard::flag_ |
|
protected |
◆ previous_
| bool esphome::mqtt::DispatchGuard::previous_ |
|
protected |
The documentation for this class was generated from the following file: