EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Loading...
Searching...
No Matches
RegisterVFSMappingNotification.cpp
Go to the documentation of this file.
1
9
10#if defined(__EMSCRIPTEN__) || defined(__DOXYGEN__)
11
13
16
17namespace echomap
18{
19
30
32 const PartialProject* const context
33) const
34{
35 if (context == nullptr)
36 throw IgnoredWarning("Dropping RegisterVFSMappingNotification due to empty project.");
37
38 if (context->get_id() != project_id)
39 throw IgnoredWarning(
41 "Dropping RegisterVFSMappingNotification due to invalid project: requested {}, but have {}.",
43 context->get_id()
44 )
45 );
46}
47
48} // namespace echomap
49
50#endif // __EMSCRIPTEN__
IgnoredWarning specification.
PartialProject specification.
RegisterVFSMappingNotification specification.
Exception class to indicate a non-fatal warning indicating an exceptional case of dropping some notif...
A Project with semantics for expressing an incomplete set of owned Signal objects.
T format(T... args)
The main EchoMap outermost namespace for all non-exported symbols.
STL namespace.
RegisterVFSMappingNotification(id_type project_id, std::filesystem::path external, std::filesystem::path internal)
Creates a new RegisterVFSMappingNotification to express a mapping between the external and internal p...
void verify_project(const PartialProject *context) const
Verify that the given Project matches the intended target.
std::filesystem::path external
The path on the external file system.
id_type project_id
The ID of the Project to which the mapping relates.
std::filesystem::path internal
The path on the internal file system.