Skip to content
Start free evaluation

pdcomm::GemConstantDefinition

Struct

One equipment constant definition for GemEquipment::configureConstants().

struct GemConstantDefinition

Declared in: #include <pdcomm_gem.hpp>

All items and strings are borrowed only during the configure call.

Members

current

Field

Current value (ECV); its format and count are kept as declared.

const SecsItem *current

Declared in: #include <pdcomm_gem.hpp>

defaultValue

Field

Default value (ECDEF), or nullptr when absent.

const SecsItem *defaultValue

Declared in: #include <pdcomm_gem.hpp>

id

Field

ECID: case-sensitive ASCII (empty allowed) or a scalar integer item.

const SecsItem *id

Declared in: #include <pdcomm_gem.hpp>

maxCount

Field

Maximum element count accepted for new values.

size_t maxCount

Declared in: #include <pdcomm_gem.hpp>

maximum

Field

Maximum (ECMAX), or nullptr when absent.

const SecsItem *maximum

Declared in: #include <pdcomm_gem.hpp>

minCount

Field

Minimum element count accepted for new values.

size_t minCount

Declared in: #include <pdcomm_gem.hpp>

minimum

Field

Minimum (ECMIN), or nullptr when absent. Lists cannot have bounds.

const SecsItem *minimum

Declared in: #include <pdcomm_gem.hpp>

name

Field

ECNAME, ASCII.

std::string name

Declared in: #include <pdcomm_gem.hpp>

units

Field

Units, ASCII.

std::string units

Declared in: #include <pdcomm_gem.hpp>