Template Class register_using_config

Class Documentation

template<typename TSinkRegisterer, typename TConfig>
class register_using_config

After enabled collectors have been parsed from an XML input file, register the enabled collectors with a base_manager or a class derived from it.

This is a separate class from register_by_sink so you don’t ALWAYS have to pass it a list of extra arguments for building some finicky metrics collectors.

Public Functions

register_using_config(const register_using_config&) = default
inline register_using_config(const TSinkRegisterer &&registerer, const TConfig *config)
template<typename TPair>
inline void operator()(const TPair &pair)
register_using_config &operator=(const register_using_config&) = default