Nyx Node
Loading...
Searching...
No Matches
Nyx Number
Collaboration diagram for Nyx Number:

Functions

nyx_dict_tnyx_number_def_new (STR_t name, __NULLABLE__ STR_t label, STR_t format, double min, double max, double step, double value)
 Allocates a new INDI / Nyx number.
 
__INLINE__ bool nyx_number_def_set_int (nyx_dict_t *def, int value)
 
__INLINE__ int nyx_number_def_get_int (const nyx_dict_t *def)
 
__INLINE__ bool nyx_number_def_set_long (nyx_dict_t *def, long value)
 
__INLINE__ long nyx_number_def_get_long (const nyx_dict_t *def)
 
__INLINE__ bool nyx_number_def_set_double (nyx_dict_t *def, double value)
 
__INLINE__ double nyx_number_def_get_double (const nyx_dict_t *def)
 
nyx_dict_tnyx_number_def_vector_new (STR_t device, STR_t name, nyx_state_t state, nyx_perm_t perm, nyx_dict_t *defs[], __NULLABLE__ const nyx_opts_t *opts)
 Allocates a new INDI / Nyx number vector.
 

Detailed Description

Function Documentation

◆ nyx_number_def_new()

nyx_dict_t * nyx_number_def_new ( STR_t name,
__NULLABLE__ STR_t label,
STR_t format,
double min,
double max,
double step,
double value )

Allocates a new INDI / Nyx number.

Parameters
name
label
format
min
max
step
value
Returns

◆ nyx_number_def_vector_new()

nyx_dict_t * nyx_number_def_vector_new ( STR_t device,
STR_t name,
nyx_state_t state,
nyx_perm_t perm,
nyx_dict_t * defs[],
__NULLABLE__ const nyx_opts_t * opts )

Allocates a new INDI / Nyx number vector.

Parameters
device
name
state
perm
defs
opts
Returns