RemoteControl::Handler Struct Reference

Public Member Functions

template<typename T >
void setupDefaultHandler (T msgs)
 Helper function to set handlers from a pair of init / deinit functions.
 

Public Attributes

ossia::flat_map< QString, std::function< void(const rapidjson::Value &, const WSClient &)> > answers
 
std::function< void(const std::vector< WSClient > &)> onAdded
 
std::function< void(const std::vector< WSClient > &)> onRemoved
 
std::function< void(const WSClient &)> onClientConnection
 
std::function< void(const WSClient &)> onClientDisconnection
 

The documentation for this struct was generated from the following file: