The BacklightControllerImpl class Abstract base class for platform-specific backlight control implementations.
More...
#include <BacklightControllerImpl.h>
|
virtual int | MAX_LIGHT_VAL ()=0 |
| Gets the maximum supported light level.
|
|
virtual int | MIN_LIGHT_VAL ()=0 |
| Gets the minimum supported light level.
|
|
virtual void | setLightLevel (int lightLevel)=0 |
| Sets the current light level.
|
|
virtual int | lightLevel ()=0 |
| Gets the current light level.
|
|
virtual | ~BacklightControllerImpl ()=default |
| Virtual destructor.
|
|
|
| BacklightControllerImpl ()=default |
| Protected constructor to enforce abstract usage.
|
|
The BacklightControllerImpl class Abstract base class for platform-specific backlight control implementations.
This class defines the interface for querying and setting backlight levels. Derived classes should provide platform-specific implementations.
◆ creator()
Creates a platform-specific implementation of BacklightControllerImpl.
- Returns
- Pointer to a new instance of a subclass.
◆ lightLevel()
virtual int BacklightControllerImpl::lightLevel |
( |
| ) |
|
|
pure virtual |
◆ MAX_LIGHT_VAL()
virtual int BacklightControllerImpl::MAX_LIGHT_VAL |
( |
| ) |
|
|
pure virtual |
Gets the maximum supported light level.
- Returns
- The maximum backlight value.
Implemented in PesudoLightController.
◆ MIN_LIGHT_VAL()
virtual int BacklightControllerImpl::MIN_LIGHT_VAL |
( |
| ) |
|
|
pure virtual |
Gets the minimum supported light level.
- Returns
- The minimum backlight value.
Implemented in PesudoLightController.
◆ setLightLevel()
virtual void BacklightControllerImpl::setLightLevel |
( |
int |
lightLevel | ) |
|
|
pure virtual |
Sets the current light level.
- Parameters
-
lightLevel | The desired backlight value. |
Implemented in PesudoLightController.
The documentation for this class was generated from the following files: