#include <design_import.hpp>
|
| virtual | ~NativeImportBindingContext () |
| | Descriptor string_view fields passed to bind_* callbacks are borrowed and valid only for the duration of the callback.
|
| bool | claim_import_binding (View &view, std::string_view route_id) |
| | Claim a materialized view/route pair before installing callbacks.
|
| void | reset_import_binding_claims () |
| virtual void | bind_knob (Knob &knob, const NativeImportBindingDescriptor &descriptor) |
| virtual void | bind_fader (Fader &fader, const NativeImportBindingDescriptor &descriptor) |
| virtual void | bind_meter (Meter &meter, const NativeImportMeterBindingDescriptor &descriptor) |
| virtual void | bind_toggle_button (ToggleButton &button, const NativeImportBindingDescriptor &descriptor) |
| virtual void | bind_choice_button (ToggleButton &button, const NativeImportChoiceBindingDescriptor &descriptor) |
| virtual void | bind_xy_pad (XYPad &pad, const NativeImportXYPadBindingDescriptor &descriptor) |
| virtual void | bind_waveform_display (WaveformView &waveform, const NativeImportWaveformBindingDescriptor &descriptor) |
| virtual void | bind_text_editor (TextEditor &editor, const NativeImportTextBindingDescriptor &descriptor) |
| virtual void | bind_host_action (TextButton &button, const NativeImportHostActionDescriptor &descriptor) |
| virtual void | bind_segmented (SegmentedControl &segmented, const NativeImportSegmentedBindingDescriptor &descriptor) |
| | A segmented selector.
|
| virtual void | bind_stepper (Stepper &stepper, const NativeImportStepperBindingDescriptor &descriptor) |
| | A stepper.
|
| virtual void | bind_checkbox (Checkbox &checkbox, const NativeImportBindingDescriptor &descriptor) |
| virtual void | bind_level_display (View &view, LevelDisplay &display, const NativeImportMeterBindingDescriptor &descriptor) |
| virtual void | bind_series_display (View &view, SeriesDisplay &display, const NativeImportWaveformBindingDescriptor &descriptor) |
◆ ~NativeImportBindingContext()
| virtual pulp::view::NativeImportBindingContext::~NativeImportBindingContext |
( |
| ) |
|
|
virtual |
Descriptor string_view fields passed to bind_* callbacks are borrowed and valid only for the duration of the callback.
Binding contexts must copy any descriptor fields they retain.
◆ bind_checkbox()
◆ bind_choice_button()
◆ bind_fader()
◆ bind_host_action()
◆ bind_knob()
◆ bind_level_display()
◆ bind_meter()
◆ bind_segmented()
A segmented selector.
segment_count travels with the binding because the value a segment writes is a function of how many there are, and the host cannot see the control's segments from the descriptor alone. Use selector_segment_value() / selector_segment_index() (design_ir.hpp) for both directions rather than restating the arithmetic — a host that maps one way while the panel maps the other lights the wrong segment for the value it just wrote.
◆ bind_series_display()
◆ bind_stepper()
◆ bind_text_editor()
◆ bind_toggle_button()
◆ bind_waveform_display()
◆ bind_xy_pad()
◆ claim_import_binding()
| bool pulp::view::NativeImportBindingContext::claim_import_binding |
( |
View & | view, |
|
|
std::string_view | route_id ) |
Claim a materialized view/route pair before installing callbacks.
Returns false if this context already claimed the same view/route, allowing repeated binder calls on the same tree/context to fail closed. Rebuilt view trees can be bound with the same context because claims are keyed by a per-View lifetime id in addition to the View address. Call reset_import_binding_claims() before deliberately rebinding the same materialized tree.
◆ reset_import_binding_claims()
| void pulp::view::NativeImportBindingContext::reset_import_binding_claims |
( |
| ) |
|
The documentation for this class was generated from the following file: