CCIMXDesktop
 
Loading...
Searching...
No Matches
PesudoLightController Class Reference

The PesudoLightController class A dummy light controller used for testing or non-hardware platforms. More...

#include <BacklightControllerImpl.h>

Inheritance diagram for PesudoLightController:
BacklightControllerImpl

Public Member Functions

 PesudoLightController ()=default
 Default constructor.
 
 ~PesudoLightController () override=default
 Destructor.
 
int MAX_LIGHT_VAL () override
 Gets the dummy maximum brightness value.
 
int MIN_LIGHT_VAL () override
 Gets the dummy minimum brightness value.
 
void setLightLevel (int lightLevel) override
 Sets the dummy current brightness value.
 
int lightLevel () override
 Gets the current dummy brightness value.
 
- Public Member Functions inherited from BacklightControllerImpl
virtual ~BacklightControllerImpl ()=default
 Virtual destructor.
 

Additional Inherited Members

- Static Public Member Functions inherited from BacklightControllerImpl
static BacklightControllerImplcreator ()
 Creates a platform-specific implementation of BacklightControllerImpl.
 
- Protected Member Functions inherited from BacklightControllerImpl
 BacklightControllerImpl ()=default
 Protected constructor to enforce abstract usage.
 

Detailed Description

The PesudoLightController class A dummy light controller used for testing or non-hardware platforms.

Member Function Documentation

◆ lightLevel()

int PesudoLightController::lightLevel ( )
overridevirtual

Gets the current dummy brightness value.

Returns
Current dummy brightness.

Implements BacklightControllerImpl.

◆ MAX_LIGHT_VAL()

int PesudoLightController::MAX_LIGHT_VAL ( )
overridevirtual

Gets the dummy maximum brightness value.

Returns
The value 100.

Implements BacklightControllerImpl.

◆ MIN_LIGHT_VAL()

int PesudoLightController::MIN_LIGHT_VAL ( )
overridevirtual

Gets the dummy minimum brightness value.

Returns
The value 0.

Implements BacklightControllerImpl.

◆ setLightLevel()

void PesudoLightController::setLightLevel ( int  lightLevel)
overridevirtual

Sets the dummy current brightness value.

Parameters
lightLevelNew value to set.

Implements BacklightControllerImpl.


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