EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Loading...
Searching...
No Matches
CompleteProjectLoadNotification.cpp
Go to the documentation of this file.
1
9
10#if defined(__EMSCRIPTEN__) || defined(__DOXYGEN__)
11
13
16
17namespace echomap
18{
19
26
28 const PartialProject* const context
29) const
30{
31 if (context == nullptr)
32 throw IgnoredWarning("Dropping CompleteProjectLoadNotification due to empty project.");
33
34 if (context->get_id() != project_id)
35 throw IgnoredWarning(
37 "Dropping CompleteProjectLoadNotification due to invalid project: requested {}, but have {}.",
39 context->get_id()
40 )
41 );
42}
43
44} // namespace echomap
45
46#endif // __EMSCRIPTEN__
CompleteProjectLoadNotification specification.
IgnoredWarning specification.
PartialProject 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.
CompleteProjectLoadNotification(id_type project_id)
Create a CompleteProjectLoadNotification to indicate that the referenced Project is ready to be loade...
void verify_project(const PartialProject *context) const
Verify that the given Project matches the intended target.
id_type project_id
The ID of the Project to be loaded.