CCIMXDesktop
 
Loading...
Searching...
No Matches
BacklightControllerImpl Class Referenceabstract

The BacklightControllerImpl class Abstract base class for platform-specific backlight control implementations. More...

#include <BacklightControllerImpl.h>

Inheritance diagram for BacklightControllerImpl:
PesudoLightController

Public Member Functions

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.
 

Static Public Member Functions

static BacklightControllerImplcreator ()
 Creates a platform-specific implementation of BacklightControllerImpl.
 

Protected Member Functions

 BacklightControllerImpl ()=default
 Protected constructor to enforce abstract usage.
 

Detailed Description

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.

Member Function Documentation

◆ creator()

BacklightControllerImpl * BacklightControllerImpl::creator ( )
static

Creates a platform-specific implementation of BacklightControllerImpl.

Returns
Pointer to a new instance of a subclass.

◆ lightLevel()

virtual int BacklightControllerImpl::lightLevel ( )
pure virtual

Gets the current light level.

Returns
The current backlight value.

Implemented in PesudoLightController.

◆ 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
lightLevelThe desired backlight value.

Implemented in PesudoLightController.


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