#include <NexVariable.h>
|
static void | iterate (NexTouch **list, uint8_t pid, uint8_t cid, int32_t event) |
|
uint8_t | getObjPid (void) |
|
uint8_t | getObjCid (void) |
|
const char * | getObjName (void) |
|
NexButton component.
Commonly, you want to do something after push and pop it. It is recommanded that only call NexTouch::attachPop to satisfy your purpose.
- Warning
- Please do not call NexTouch::attachPush on this component, even though you can.
NexVariable::NexVariable |
( |
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 NexVariable::getText |
( |
char * |
buffer, |
|
|
uint32_t |
len |
|
) |
| |
Get text attribute of component.
- Parameters
-
buffer | - buffer storing text returned. |
len | - length of buffer. |
- Returns
- The real length of text returned.
uint32_t NexVariable::getValue |
( |
uint32_t * |
number | ) |
|
Get val attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
bool NexVariable::setText |
( |
const char * |
buffer | ) |
|
Set text attribute of component.
- Parameters
-
buffer | - text buffer terminated with '\0'. |
- Returns
- true if success, false for failure.
bool NexVariable::setValue |
( |
uint32_t |
number | ) |
|
Set val attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
The documentation for this class was generated from the following files: