Expand description
maia-wasm is part of Maia SDR. It is a web application that serves as the UI of Maia SDR. It renders the waterfall using WebGL2 and gives a UI composed of HTML elements that interacts with the maia-httpd RESTful API.
Modules§
- Transformation of Rust arrays to JS.
- Colormaps.
- Pointer device handling.
- Render engine.
- User interface.
- Version information about maia-wasm.
- WebGL2 waterfall.
- User interaction with the waterfall.
- WebSocket client for waterfall data.
Macros§
- UI preferences macro: implements dummy
update_methods forPreferences. - UI macro: implements a
_onchangemethods that perform a PATCH request. - UI macro: implements a dummy
name_onchange_patch_modifymethod. - UI macro: implements a method to send a PATCH request.
- UI macro: implements a dummy
post_patch_name_update_elementsmethod. - UI macro: implements a dummy
post_update_name_elementsmethod. - UI macro: implements a method to send a PUT request.
- UI macro: implements a REST API section with default functionality.
- UI macro: implements a REST API section using custom functionality.
- UI macro: implements methods for an interface with tabs.
- UI macro: implements methods to update UI elements.
- UI macro: implement an
onchangemethod that calls anapplyfunction. - UI macro: implement an
onchangemethod that calls anapplymethod without updating the preferences. - UI macro: set event callback for UI elements.
- UI macro: define UI elements.
Functions§
- Starts the maia-wasm web application.
- Creates a
Waterfalland associated objects. - Sets up a render loop for the waterfall.
- Initialize the wasm module.