pdcomm::GemCommandParameterDefinition
Struct
One parameter (CPNAME) accepted by a remote command definition.
struct GemCommandParameterDefinitionAll SecsItem pointers are borrowed only during the configure call.
Members
format
Field
Required SECS-II format code (PDCOMM_SECS_*). Numeric bounds need an integer format.
uint8_t formatformatPresent
Field
true when #format restricts the value format.
bool formatPresentmaxCount
Field
Maximum element count of the value.
size_t maxCountmaximum
Field
Highest accepted numeric value; used when #maximumPresent is true.
GemInt128 maximummaximumPresent
Field
true when #maximum applies.
bool maximumPresentminCount
Field
Minimum element count of the value.
size_t minCountminimum
Field
Lowest accepted numeric value; used when #minimumPresent is true.
GemInt128 minimumminimumPresent
Field
true when #minimum applies.
bool minimumPresentname
Field
Parameter name: an ASCII item or an integer scalar item (any I or U format).
const SecsItem *namerequired
Field
true when the host must send this parameter.
bool required