![]() |
Documentation
For Arduino users
|
NexProgressBar component. More...
#include <NexProgressBar.h>


Public Member Functions | |
| NexProgressBar (uint8_t pid, uint8_t cid, const char *name) | |
| Constructor. More... | |
| bool | getValue (uint32_t *number) |
| Get the value of progress bar. More... | |
| bool | setValue (uint32_t number) |
| Set the value of progress bar. More... | |
Public Member Functions inherited from NexObject | |
| NexObject (uint8_t pid, uint8_t cid, const char *name) | |
| Constructor. More... | |
| void | printObjInfo (void) |
| Print current object'address, page id, component id and name. More... | |
NexProgressBar component.
Definition at line 30 of file NexProgressBar.h.
| NexProgressBar::NexProgressBar | ( | uint8_t | pid, |
| uint8_t | cid, | ||
| const char * | name | ||
| ) |
Constructor.
| pid | - page id. |
| cid | - component id. |
| name | - pointer to an unique name in range of all components. |
Definition at line 18 of file NexProgressBar.cpp.
| bool NexProgressBar::getValue | ( | uint32_t * | number | ) |
Get the value of progress bar.
| number | - an output parameter to save the value of porgress bar. |
| true | - success. |
| false | - failed. |
Definition at line 23 of file NexProgressBar.cpp.
| bool NexProgressBar::setValue | ( | uint32_t | number | ) |
Set the value of progress bar.
| number | - the value of progress bar. |
| true | - success. |
| false | - failed. |
Definition at line 32 of file NexProgressBar.cpp.