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§
- array_
view - Transformation of Rust arrays to JS.
- colormap
- Colormaps.
- pointer
- Pointer device handling.
- render
- Render engine.
- ui
- User interface.
- version
- Version information about maia-wasm.
- waterfall
- WebGL2 waterfall.
- waterfall_
interaction - User interaction with the waterfall.
- websocket
- WebSocket client for waterfall data.
Macros§
- impl_
dummy_ preferences - UI preferences macro: implements dummy
update_
methods forPreferences
. - impl_
onchange - UI macro: implements a
_onchange
methods that perform a PATCH request. - impl_
onchange_ patch_ modify_ noop - UI macro: implements a dummy
name_onchange_patch_modify
method. - impl_
patch - UI macro: implements a method to send a PATCH request.
- impl_
post_ patch_ update_ elements_ noop - UI macro: implements a dummy
post_patch_name_update_elements
method. - impl_
post_ update_ noop - UI macro: implements a dummy
post_update_name_elements
method. - impl_
put - UI macro: implements a method to send a PUT request.
- impl_
section - UI macro: implements a REST API section with default functionality.
- impl_
section_ custom - UI macro: implements a REST API section using custom functionality.
- impl_
tabs - UI macro: implements methods for an interface with tabs.
- impl_
update_ elements - UI macro: implements methods to update UI elements.
- onchange_
apply - UI macro: implement an
onchange
method that calls anapply
function. - onchange_
apply_ noprefs - UI macro: implement an
onchange
method that calls anapply
method without updating the preferences. - set_on
- UI macro: set event callback for UI elements.
- ui_
elements - UI macro: define UI elements.
Functions§
- get_
window_ and_ document - Returns the
Window
andDocument
objects. - maia_
wasm_ start - Starts the maia-wasm web application.
- new_
waterfall - Creates a
Waterfall
and associated objects. - setup_
render_ loop - Sets up a render loop for the waterfall.
- start
- Initialize the wasm module.