RDK Documentation (Open Sourced RDK Components)
pwrMgrProductTraits::ux_controller Class Reference
Inheritance diagram for pwrMgrProductTraits::ux_controller:
Inheritance graph
Collaboration diagram for pwrMgrProductTraits::ux_controller:
Collaboration graph

Public Member Functions

 ux_controller (unsigned int in_id, const std::string &in_name, deviceType_t in_device_type)
 
virtual bool applyPowerStateChangeConfig (IARM_Bus_PWRMgr_PowerState_t new_state, IARM_Bus_PWRMgr_PowerState_t prev_state)
 
virtual bool applyPreRebootConfig (IARM_Bus_PWRMgr_PowerState_t current_state) const
 
virtual bool applyPreMaintenanceRebootConfig (IARM_Bus_PWRMgr_PowerState_t current_state)
 
virtual bool applyPostRebootConfig (IARM_Bus_PWRMgr_PowerState_t new_state, IARM_Bus_PWRMgr_PowerState_t prev_state)
 
virtual IARM_Bus_PWRMgr_PowerState_t getPreferredPostRebootPowerState (IARM_Bus_PWRMgr_PowerState_t prev_state) const
 
virtual void sync_display_ports_with_reboot_reason (reboot_type_t type)
 

Static Public Member Functions

static bool initialize_ux_controller (unsigned int profile_id)
 
static ux_controllerget_instance ()
 

Protected Member Functions

void initialize_safe_defaults ()
 
void sync_power_led_with_power_state (IARM_Bus_PWRMgr_PowerState_t state) const
 
void sync_display_ports_with_power_state (IARM_Bus_PWRMgr_PowerState_t state) const
 
bool _set_bootloader_pattern (mfrBlPattern_t pattern) const
 
void _set_bootloader_pattern_async (mfrBlPattern_t pattern) const
 
bool set_bootloader_pattern (mfrBlPattern_t pattern)
 
bool set_bootloader_pattern_fault_tolerant (mfrBlPattern_t pattern)
 

Protected Attributes

unsigned int id
 
std::string name
 
deviceType_t deviceType
 
bool invalidateAsyncBootloaderPattern
 
bool firstPowerTransitionComplete
 
std::mutex mutex
 
bool enableMultiColourLedSupport
 
bool ledEnabledInStandby
 
int ledColorInStandby
 
bool ledEnabledInOnState
 
int ledColorInOnState
 
powerModeTrait_t preferedPowerModeOnReboot
 
bool enableSilentRebootSupport
 

Static Protected Attributes

static ux_controllersingleton = nullptr
 

yes

Definition at line 72 of file productTraits.h.


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