Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
notification_bus.h File Reference

One off-RT thread that turns real-time state changes into WebSocket notifications. More...

#include <chrono>
#include <cstdint>
#include <functional>
#include <nlohmann/json.hpp>
#include <optional>
#include <string>
#include <string_view>
#include <thread>
#include <vector>
Include dependency graph for notification_bus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mm::node::NotificationBus
 Polls a fixed set of sources and broadcasts a notification when one of them changes. More...
 
struct  mm::node::NotificationBus::Source
 One feature's contribution: when to speak, and what to say. More...
 

Namespaces

namespace  mm
 
namespace  mm::node
 

Variables

constexpr std::string_view mm::node::kNotificationTopic = "notifications"
 The one topic every notification is published to.
 

Detailed Description

One off-RT thread that turns real-time state changes into WebSocket notifications.