EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
Loading...
Searching...
No Matches
CancelProjectLoadNotification.cpp
Go to the documentation of this file.
1
9
11
14
15namespace echomap
16{
17
24
26 const PartialProject* const context
27) const
28{
29 if (context == nullptr)
30 throw IgnoredWarning("Dropping CancelProjectLoadNotification due to empty project.");
31
32 if (context->get_id() != project_id)
33 throw IgnoredWarning(
35 "Dropping CancelProjectLoadNotification due to invalid project: requested {}, but have {}.",
37 context->get_id()
38 )
39 );
40}
41
42} // namespace echomap
CancelProjectLoadNotification 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.
id_type project_id
The ID of the partially loaded Project to cancel.
void verify_project(const PartialProject *context) const
Verify that the given Project matches the intended target.
CancelProjectLoadNotification(id_type project_id)
Create a new CancelProjectLoadNotification to indicate that the identified Project should be cancelle...