Previous: STInput Metadata Accessors, Up: STInput: The Sensor Abstraction [Contents]
Reads the current value.
The input.
Returns: Current reading.
Publishes a new reading. Off-step values snap to step (warning logged). After rounding, values outside min/max become ST_ERROR_INVALID_VALUE.
The input.
Desired reading.
Filled on hard failure.
Returns: TRUE if accepted (possibly after snapping).
Reads the lower bound.
The input.
Returns: Current minimum.
Sets the lower bound; may re-grid related fields for consistency.
The input.
New minimum.
Filled on failure.
Returns: TRUE on success.
Reads the upper bound.
The input.
Returns: Current maximum.
Sets the upper bound; may re-grid related fields for consistency.
The input.
New maximum.
Filled on failure.
Returns: TRUE on success.
Reads the resolution step.
The input.
Returns: Current step.
Changes resolution and re-grids min, max, and the current value.
The input.
New step size.
Filled on failure.
Returns: TRUE on success.
Reads the policy bitfield.
The input.
Returns: Current flags.
Replaces the entire flag bitfield and notifies when it changes.
The input.
New bitfield.
Filled on failure.
Returns: TRUE on success.
Previous: STInput Metadata Accessors, Up: STInput: The Sensor Abstraction [Contents]