![]() |
libdisplaydevice master
C++ library to modify display devices.
|
Scoped guard that keeps a display awake while it is alive. More...
#include <src/common/include/display_device/display_power_interface.h>
Public Member Functions | |
| virtual | ~DisplayPowerGuardInterface ()=default |
| Default virtual destructor. | |
Scoped guard that keeps a display awake while it is alive.
The guard owns the platform power assertion. Destroying the guard releases that assertion. Some platforms attach the assertion to the current thread, so callers should destroy the guard on the same thread that created it when possible.