19 #ifndef RTC_CONFIGURATIONLISTENER_H
20 #define RTC_CONFIGURATIONLISTENER_H
100 static const char* typeString[] =
102 "ON_UPDATE_CONFIG_PARAM",
103 "CONFIG_PARAM_LISTENER_NUM"
107 return typeString[type];
136 virtual void operator()(
const char* config_set_name,
137 const char* config_param_name) = 0;
217 static const char* typeString[] =
221 "CONFIG_SET_LISTENER_NUM"
327 static const char* typeString[] =
329 "ON_UPDATE_CONFIG_SET",
330 "ON_REMOVE_CONFIG_SET",
331 "ON_ACTIVATE_CONFIG_SET",
332 "CONFIG_SET_NAME_LISTENER_NUM"
362 virtual void operator()(
const char* config_set_name) = 0;
384 typedef std::pair<ConfigurationParamListener*, bool> Entry;
465 void notify(
const char* config_set_name,
const char* config_param_name);
468 std::vector<Entry> m_listeners;
492 typedef std::pair<ConfigurationSetListener*, bool> Entry;
576 std::vector<Entry> m_listeners;
600 typedef std::pair<ConfigurationSetNameListener*, bool> Entry;
680 void notify(
const char* config_set_name);
683 std::vector<Entry> m_listeners;
742 #endif // RTC_CONFIGURATIONLISTENER_H