EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Loading...
Searching...
No Matches
EchoMapNative.hpp
Go to the documentation of this file.
1
9
10#ifndef ECHOMAP_ECHOMAPNATIVE_HPP
11#define ECHOMAP_ECHOMAPNATIVE_HPP
12
13#if !defined(__EMSCRIPTEN__) || defined(__DOXYGEN__)
14
15#include "../EchoMap.hpp"
16
17namespace echomap
18{
19
23class EchoMapNative : public EchoMap
24{
25public:
26 void run_event_loop() override;
27
28protected:
29 void visit_notification(Notification& notification) override;
30
31private:
32 void handle_notification(RaiseFileChooserNotification& notification);
33};
34
35} // namespace echomap
36
37#endif // __EMSCRIPTEN__
38
39#endif // ECHOMAP_ECHOMAPNATIVE_HPP
EchoMap class specification.
EchoMap application implementation for native (non-WebAssembly) platforms.
void run_event_loop() override
Runs the platform-dependent event loop to manage and propagate interaction with the EchoMap applicati...
void visit_notification(Notification &notification) override
Uses std::visit on the given notification to invoke the corresponding handler.
EchoMap()
Initialise a EchoMap application instance.
Definition EchoMap.cpp:41
std::variant< AddChannelMappingNotification, ModifySensorColourNotification, ModifySensorPositionNotification, ProjectSelectionCompleteNotification, ClearErrorNotification, RaiseFileChooserNotification, RegisterVFSMappingNotification, CompleteProjectLoadNotification, CancelProjectLoadNotification > Notification
A Notification is a trivial message sent exclusively to the EchoMap controller.
The main EchoMap outermost namespace for all non-exported symbols.
A notification indicating that the NativeFileChooser should be raised to prompt for a new Project.