libdisplaydevice master
C++ library to modify display devices.
display_device::DisplayPowerGuardInterface Class Reference

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.
 

Detailed Description

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.


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