19 #ifndef _ardour_surface_websockets_dispatcher_h_
20 #define _ardour_surface_websockets_dispatcher_h_
22 #include <unordered_map>
42 typedef std::unordered_map<std::string, DispatcherMethod>
NodeMethodMap;
void strip_pan_handler(Client, const NodeStateMessage &)
void(WebsocketsDispatcher::* DispatcherMethod)(Client, const NodeStateMessage &)
void update(Client, std::string, const AddressVector &, const ValueVector &)
void transport_roll_handler(Client client, const NodeStateMessage &)
void transport_record_handler(Client client, const NodeStateMessage &)
void update(Client, std::string, uint32_t, TypedValue)
void strip_mute_handler(Client, const NodeStateMessage &)
void dispatch(Client, const NodeStateMessage &)
std::unordered_map< std::string, DispatcherMethod > NodeMethodMap
void update(Client, std::string, TypedValue)
void transport_tempo_handler(Client, const NodeStateMessage &)
void strip_plugin_enable_handler(Client, const NodeStateMessage &)
void strip_gain_handler(Client, const NodeStateMessage &)
static NodeMethodMap _node_to_method
virtual ~WebsocketsDispatcher()
WebsocketsDispatcher(ArdourSurface::ArdourWebsockets &surface)
void strip_plugin_param_value_handler(Client, const NodeStateMessage &)
void update(Client, std::string, uint32_t, uint32_t, TypedValue)
void update_all_nodes(Client)
void update(Client, std::string, uint32_t, uint32_t, uint32_t, TypedValue)
std::vector< uint32_t > AddressVector
std::vector< TypedValue > ValueVector