EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Loading...
Searching...
No Matches
Actions

GUI-based actions managed by a specialisation of ActionControllerBase. More...

Collaboration diagram for Actions:

Topics

 Project File Action
 Queries the user for the location of a Project file to load.
 Register VFS Mapping
 Queries the user for the location of an externally sourced file.

Classes

class  echomap::ActionControllerBase< Derived >
 Provides a platform-independent static mechanism for performing "system actions", such as raising a file-selector dialog, and invoking callbacks upon completion. More...
class  echomap::JSActionController
 Specialisation of ActionControllerBase to service actions on a WebAssembly target (using the Emscripten runtime). More...
class  echomap::NativeActionController
 Specialisation of ActionControllerBase to service actions on a native platform. More...

Typedefs

using echomap::ActionController = JSActionController
 Provides an ActionControllerBase implementation alias for Emscripten targets.

Functions

static void echomap::ActionControllerBase< Derived >::bind (CallbackT &&bound_callback)
 Bind the callback slot.
static void echomap::ActionControllerBase< Derived >::unbind ()
 Disconnect the callback.

Detailed Description

GUI-based actions managed by a specialisation of ActionControllerBase.

Typedef Documentation

◆ ActionController

Provides an ActionControllerBase implementation alias for Emscripten targets.

Definition at line 27 of file ActionController.hpp.

Function Documentation

◆ bind()

template<typename Derived>
void echomap::ActionControllerBase< Derived >::bind ( CallbackT && bound_callback)
inlinestatic

Bind the callback slot.

Definition at line 71 of file ActionControllerBase.hpp.

74 {
75 callback = std::move(bound_callback);
76 }
Provides a platform-independent static mechanism for performing "system actions", such as raising a f...

◆ unbind()

template<typename Derived>
void echomap::ActionControllerBase< Derived >::unbind ( )
inlinestatic

Disconnect the callback.

Definition at line 83 of file ActionControllerBase.hpp.

84 {
85 callback.disconnect();
86 }