pub struct IntegerNode {Show 18 fields
pub name: String,
pub meta: NodeMeta,
pub len: u32,
pub access: AccessMode,
pub min: Option<i64>,
pub max: Option<i64>,
pub inc: Option<i64>,
pub unit: Option<String>,
pub bitfield: Option<BitField>,
pub sign: Sign,
pub byte_order: ByteOrder,
pub selected: Vec<String>,
pub pvalue: Option<String>,
pub p_max: Option<String>,
pub p_min: Option<String>,
pub p_inc: Option<String>,
pub value: Option<i64>,
pub predicates: PredicateRefs,
/* private fields */
}Expand description
Integer feature metadata extracted from the XML description.
Fields§
§name: StringUnique feature name.
meta: NodeMetaShared metadata (visibility, description, tooltip, etc.).
len: u32Nominal register length in bytes; 0 when a <pLength> node gives
it, which is read at each access.
access: AccessModeDeclared access rights.
min: Option<i64><Min>, when declared. The bound in force — which <pMin> and the
<pValue> target also decide — is what
NodeMap::feature_state reports.
max: Option<i64><Max>, when declared.
inc: Option<i64><Inc>, when declared.
unit: Option<String>Optional engineering unit such as “us”.
bitfield: Option<BitField>Optional bitfield metadata restricting active bits.
sign: SignWhether the register payload is signed. GenICam defaults to unsigned.
byte_order: ByteOrderByte order of the register payload. GenICam defaults to big-endian.
selected: Vec<String><pSelected>: the features this node selects.
pvalue: Option<String>Node providing the value (delegates read/write).
p_max: Option<String>Node providing the dynamic maximum.
p_min: Option<String>Node providing the dynamic minimum.
p_inc: Option<String>Node providing the dynamic increment.
value: Option<i64><Value>: the start value of a “floating” integer, one with no
register behind it (GenICam Standard v2.1.1 §2.8.5).
predicates: PredicateRefsPredicate refs gating implementation / availability / lock state.