RDK Documentation (Open Sourced RDK Components)
|
Configuration of individual text display sub-panel to display system time or text is managed here. The scroll speed, time format (12Hour or 24 Hour format) and a string to display can be configured.
Functions | |
static FrontPanelTextDisplay & | device::FrontPanelTextDisplay::getInstance (int id) |
This API gets the FrontPanelIndicator instance corresponding to the specified id, only if the id passed is valid. More... | |
device::FrontPanelTextDisplay::FrontPanelTextDisplay (int id, int maxBrightness, int maxCycleRate, int levels, int maxHorizontalIterations, int maxVerticalIterations, const std::string &supportedCharacters, int colorMode) | |
void | device::FrontPanelTextDisplay::setText (const std::string &text) |
This API sets the text LED display, by switching the text display to text mode. More... | |
void | device::FrontPanelTextDisplay::enableDisplay (const int enable) |
This function is used to enable or disable the display of clock on front panel. More... | |
void | device::FrontPanelTextDisplay::setTextBrightness (const int &brightness) |
This API sets the brightness value for the front panel LED. More... | |
int | device::FrontPanelTextDisplay::getTextBrightness () |
This API gets the text LED brightness value. More... | |
void | device::FrontPanelTextDisplay::getTextBrightnessLevels (int &levels, int &min, int &max) |
This function is used to get maximum brightness, minimum brightness and brightness level of the front panel LED display. More... | |
int | device::FrontPanelTextDisplay::getTextColorMode () |
This function is used to get the color mode of the front panel text display. More... | |
void | device::FrontPanelTextDisplay::setScroll (const Scroll &scroll) |
This API sets the scroll parameters for text LED display like hold duration, vertical iterations and horizontal iterations. More... | |
int | device::FrontPanelTextDisplay::getCurrentTimeFormat () |
This API Get the time format of the LED display. More... | |
void | device::FrontPanelTextDisplay::setTimeFormat (const int iTimeFormat) |
This API sets the time format of the LED display to either 12hr or 24hr format. More... | |
void | device::FrontPanelTextDisplay::setTime (const int uiHours, const int uiMinutes) |
This API sets the time of the LED display by switching the text display to time mode. More... | |
void | device::FrontPanelTextDisplay::setMode (int mode) |
This API sets the display mode of the LED display to any, text only or clock only. More... | |
|
static |
This API gets the FrontPanelIndicator instance corresponding to the specified id, only if the id passed is valid.
[in] | id | Indicates the id of the FrontPanelTextDisplay whose instance has to be returned. |
Definition at line 103 of file frontPanelTextDisplay.cpp.
void device::FrontPanelTextDisplay::setText | ( | const std::string & | text | ) |
This API sets the text LED display, by switching the text display to text mode.
[in] | text | Indicates the text to be displayed. |
Definition at line 187 of file frontPanelTextDisplay.cpp.
void device::FrontPanelTextDisplay::enableDisplay | ( | const int | enable | ) |
This function is used to enable or disable the display of clock on front panel.
[in] | enable | Indicates enable or disable value. |
Definition at line 204 of file frontPanelTextDisplay.cpp.
void device::FrontPanelTextDisplay::setTextBrightness | ( | const int & | brightness | ) |
This API sets the brightness value for the front panel LED.
[in] | brightness | Indicates the brightness value to be set for text LED. |
Definition at line 221 of file frontPanelTextDisplay.cpp.
int device::FrontPanelTextDisplay::getTextBrightness | ( | ) |
This API gets the text LED brightness value.
Definition at line 240 of file frontPanelTextDisplay.cpp.
void device::FrontPanelTextDisplay::getTextBrightnessLevels | ( | int & | levels, |
int & | min, | ||
int & | max | ||
) |
This function is used to get maximum brightness, minimum brightness and brightness level of the front panel LED display.
Brightness level - Indicates the step value at which the brightness could be changed.
[out] | max | Indicates maximum brightness for the front panel text display. |
[out] | min | Indicates minimum brightness for the front panel text display. |
[out] | levels | Indicates brightness level of the front panel text display. |
Definition at line 270 of file frontPanelTextDisplay.cpp.
int device::FrontPanelTextDisplay::getTextColorMode | ( | ) |
This function is used to get the color mode of the front panel text display.
Definition at line 284 of file frontPanelTextDisplay.cpp.
void device::FrontPanelTextDisplay::setScroll | ( | const Scroll & | scroll | ) |
This API sets the scroll parameters for text LED display like hold duration, vertical iterations and horizontal iterations.
[in] | scroll | Contains scroll parameters to be set. |
Definition at line 299 of file frontPanelTextDisplay.cpp.
device::FrontPanelTextDisplay::getCurrentTimeFormat | ( | ) |
This API Get the time format of the LED display.
This API gets the currently set time format for front panel display.
[in] | none |
0 | Indicates 12hr format |
1 | Indicates 24hr format |
Definition at line 320 of file frontPanelTextDisplay.cpp.
void device::FrontPanelTextDisplay::setTimeFormat | ( | const int | iTimeFormat | ) |
This API sets the time format of the LED display to either 12hr or 24hr format.
[in] | iTimeFormat | Indicates time format.
|
Definition at line 332 of file frontPanelTextDisplay.cpp.
void device::FrontPanelTextDisplay::setTime | ( | const int | uiHours, |
const int | uiMinutes | ||
) |
This API sets the time of the LED display by switching the text display to time mode.
[in] | uiHours | Indicates hour parameter in time. |
[in] | uiMinutes | Indicates minutes parameter in time. |
Definition at line 377 of file frontPanelTextDisplay.cpp.
device::FrontPanelTextDisplay::setMode | ( | int | mode | ) |
This API sets the display mode of the LED display to any, text only or clock only.
[in] | mode | Indicates display mode.
|
Definition at line 402 of file frontPanelTextDisplay.cpp.