60 bool Start(
const std::string &path_name,
const double &time_interval_ms,
61 const std::string &channel_name =
"",
62 nlohmann::json *subscribe_param =
nullptr);
68 bool Stop(
const std::string &path_name,
const std::string& channel_name);
77 std::map<std::string, UpdaterBase *> updater_map_;
Base Class for all data updater.
Management for all data updater.
void RegisterUpdater(std::string path_name, UpdaterBase *updater)
Register data updater by websocket path name.
bool Start(const std::string &path_name, const double &time_interval_ms, const std::string &channel_name="", nlohmann::json *subscribe_param=nullptr)
Start a updater implemetnent.
UpdaterBase * GetUpdater(const std::string &path_name)
Get registered updater
bool Stop(const std::string &path_name, const std::string &channel_name)
Stop updater publish data.
virtual ~UpdaterManager()