Skip to content
Start free evaluation

PdcommGemDataDefinition

Struct

Definition of one data variable for pdcomm_gem_equipment_configure_data_variables().

typedef struct PdcommGemDataDefinition { ... } PdcommGemDataDefinition

Declared in: #include <pdcomm_gem_data.h>

Members

cached

Field

Optional initial cached value, copied; NULL leaves the cache empty.

const PdcommSecsItem *cached

Declared in: #include <pdcomm_gem_data.h>

Must match format and the count range.

format

Field

Required top-level format of every value, one of the PDCOMM_SECS_* format codes (List included).

uint8_t format

Declared in: #include <pdcomm_gem_data.h>

id

Field

Data variable ID (DVID); unique within the store.

uint32_t id

Declared in: #include <pdcomm_gem_data.h>

Samples refer to this ID.

max_count

Field

Largest allowed element count; must be at least min_count.

size_t max_count

Declared in: #include <pdcomm_gem_data.h>

min_count

Field

Smallest allowed element count (List children or primitive elements).

size_t min_count

Declared in: #include <pdcomm_gem_data.h>

name

Field

Name as ASCII bytes, not NUL-terminated.

const char *name

Declared in: #include <pdcomm_gem_data.h>

May be NULL when name_length is 0.

name_length

Field

Number of bytes at name.

size_t name_length

Declared in: #include <pdcomm_gem_data.h>

units

Field

Units as ASCII bytes, not NUL-terminated.

const char *units

Declared in: #include <pdcomm_gem_data.h>

May be NULL when units_length is 0.

units_length

Field

Number of bytes at units.

size_t units_length

Declared in: #include <pdcomm_gem_data.h>