Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
bus_health_source.h
Go to the documentation of this file.
1#pragma once
2
3#include <string_view>
4
6
7namespace mm::node {
8class DeviceManager;
9}
10
13
14namespace mm {
15
20inline constexpr std::string_view kShortWorkingCounterEvent = "short-working-counter";
21
48 node::DeviceManager& deviceManager,
49 std::chrono::milliseconds interval = std::chrono::seconds{1});
50
51} // namespace mm
Owns the fieldbus driver and node collection, and drives PDO exchange.
Definition device_manager.h:287
Definition bus_health_source.h:7
Definition auto_tuning_setup.cc:10
node::NotificationBus::Source busHealthSource(node::DeviceManager &deviceManager, std::chrono::milliseconds interval)
Reports cycles that answered with a short working counter, to the log and to clients.
Definition bus_health_source.cc:14
constexpr std::string_view kShortWorkingCounterEvent
The data.event this source sends.
Definition bus_health_source.h:20
One off-RT thread that turns real-time state changes into WebSocket notifications.
One feature's contribution: when to speak, and what to say.
Definition notification_bus.h:59