#include <NexWaveform.h>
|
uint8_t | getObjPid (void) |
|
uint8_t | getObjCid (void) |
|
const char * | getObjName (void) |
|
NexWaveform::NexWaveform |
( |
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. |
bool NexWaveform::addValue |
( |
uint8_t |
ch, |
|
|
uint8_t |
number |
|
) |
| |
Add value to show.
- Parameters
-
ch | - channel of waveform(0-3). |
number | - the value of waveform. |
- Return values
-
true | - success. |
false | - failed. |
uint32_t NexWaveform::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 NexWaveform::Get_channel_0_color_pco0 |
( |
uint32_t * |
number | ) |
|
Get pco0 attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexWaveform::Get_grid_color_gdc |
( |
uint32_t * |
number | ) |
|
Get gdc attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexWaveform::Get_grid_height_gdh |
( |
uint32_t * |
number | ) |
|
Get gdh attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
uint32_t NexWaveform::Get_grid_width_gdw |
( |
uint32_t * |
number | ) |
|
Get gdw attribute of component
- Parameters
-
number | - buffer storing data retur |
- Returns
- the length of the data
bool NexWaveform::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 NexWaveform::Set_channel_0_color_pco0 |
( |
uint32_t |
number | ) |
|
Set pco0 attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexWaveform::Set_grid_color_gdc |
( |
uint32_t |
number | ) |
|
Set gdc attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexWaveform::Set_grid_height_gdh |
( |
uint32_t |
number | ) |
|
Set gdh attribute of component
- Parameters
-
number | - To set up the data |
- Returns
- true if success, false for failure
bool NexWaveform::Set_grid_width_gdw |
( |
uint32_t |
number | ) |
|
Set gdw 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: