4 #include <oneapi/tbb/concurrent_queue.h>
37 std::vector<
std::jthread> threads_;
41 std::stop_source cancel_source_;
47 void info_dispatch_thread(
std::stop_token token);
48 void result_dispatch_thread(
std::stop_token token);
Defines the event aggregator interface type.
Definition: event_aggregator.h:59
Event message types visitor interface (double dispatcher)
Definition: event_visitor.h:10
Defines the event subscriber interface type.
Definition: event_aggregator.h:37
Defined the event monitor class used for processing Health-GPS event messages.
Definition: event_monitor.h:15
void stop() noexcept
Stops the monitor, no new messages are processed after stop.
Definition: event_monitor.cpp:44
void visit(const hgps::RunnerEventMessage &message) override
Visits a hgps::RunnerEventMessage message type.
Definition: event_monitor.cpp:49
~EventMonitor() noexcept
Destroys a host::EventMonitor instance.
Definition: event_monitor.cpp:36
Defines the Health-GPS results message writer interface.
Definition: result_writer.h:7
Top-level namespace for Health-GPS C++ API.
Definition: analysis_definition.h:8
Top-level namespace for Health-GPS Console host application.
Definition: configuration.cpp:31
Global namespace.
Definition: jsonparser.h:88
Implements the simulation error event message data type.
Definition: error_message.h:7
Simulation event messages interface.
Definition: event_message.h:25
Implements the simulation information event message data type.
Definition: info_message.h:19
Implements the simulation results event message data type.
Definition: result_message.h:8
Implements the simulation executive event message data type.
Definition: runner_message.h:25