fixo::PortBoundActivity
Base class for Remote-side activities that bind to stanza input ports.
| Declared in | src/libs/libfixo/fixo/widget/PortBoundActivity.hpp |
| Inherits | octomy::activity::PageActivity |
| Inherited By | fixo::PilotUniversalActivity and GroundDriveActivity |
| Group | fixo |
Detailed description
Provides the wiring that every port-bound activity needs: - holds an ActivityManifest set by the subclass (typically in its ctor) - mounts an OptionalPortBank for absorbed port kinds - re-evaluates `manifestMatches` whenever the active stanza changes on any channel, toggling the activity's bound-enabled state - keeps track of which (channelId, stanzaId) the activity is bound to
The host listens to Runtime::channelActiveChanged for active-stanza notifications. Subclasses provide the primary widget surface (joystick, dual-stick, etc.) above the auto-mounted bank, and call setManifest() once in their constructor.
Section writes go through the OptionalPortBank for absorbed ports; the subclass writes its own explicit binds (joystick axes, parking brake key, etc.) directly to the section.