Skip to main content

Module server

Module server 

Source
Expand description

Parameter server implementation

Provides a static storage parameter server for embedded systems. Parameters are stored in a fixed-size array with compile-time capacity.

Structs§

LegacyParameterBuilder
Builder for declaring parameters with a fluent API
OnSetContext
Two machine words of caller context, carried verbatim to an OnSetParameterFn.
OnSetParameterHandle
A registered OnSetParameterFn, returned by ParameterServer::add_on_set_parameters_callback and consumed by ParameterServer::remove_on_set_parameters_callback.
ParameterServer
Parameter server over caller-owned storage
ParameterSlot
One slot of a ParameterTable, opaque.
ParameterStorage
Backing storage a caller places, then lends to a ParameterServer.
ParameterTable
The slot table a ParameterServer borrows.
PendingParameterEvent
One change waiting to be published on /parameter_events.

Enums§

DeclarationError
Why a declaration was refused — phase-417 W4.a.
ParameterEventKind
phase-491 W3 (RFC-0105 D8) — what a pending /parameter_events entry reports. The value is read from the store when the event is published, so an event says what the parameter IS, not what it was when it moved.

Constants§

MAX_ON_SET_CALLBACKS
How many on-set-parameters callbacks ONE store holds, across every node.
PARAMETER_EVENT_LOG_LEN
How many changes the store holds between two flushes of /parameter_events.

Type Aliases§

OnSetParameterFn
An on-set-parameters callback — phase-417 W4.a.