#include <NexProgressBar.h>
|
uint8_t | getObjPid (void) |
|
uint8_t | getObjCid (void) |
|
const char * | getObjName (void) |
|
NexProgressBar::NexProgressBar |
( |
uint8_t |
pid, |
|
|
uint8_t |
cid, |
|
|
const char * |
name |
|
) |
| |
Constructor.
- Parameters
-
pid | - page id. |
cid | - component id. |
name | - pointer to an unique name in range of all components. |
uint32_t NexProgressBar::Get_background_color_bco |
( |
uint32_t * |
number | ) |
|
Get bco attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexProgressBar::Get_font_color_pco |
( |
uint32_t * |
number | ) |
|
Get pco attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
bool NexProgressBar::getValue |
( |
uint32_t * |
number | ) |
|
Get the value of progress bar.
- Parameters
-
number | - an output parameter to save the value of porgress bar. |
- Return values
-
true | - success. |
false | - failed. |
void NexObject::printObjInfo |
( |
void |
| ) |
|
|
inherited |
Print current object'address, page id, component id and name.
- Warning
- this method does nothing, unless debug message enabled.
bool NexProgressBar::Set_background_color_bco |
( |
uint32_t |
number | ) |
|
Set bco attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexProgressBar::Set_font_color_pco |
( |
uint32_t |
number | ) |
|
Set pco attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexProgressBar::setValue |
( |
uint32_t |
number | ) |
|
Set the value of progress bar.
- Parameters
-
number | - the value of progress bar. |
- Return values
-
true | - success. |
false | - failed. |