Class file_sink_registerer

Inheritance Relationships

Base Type

Class Documentation

class file_sink_registerer : public rcppsw::er::client<file_sink_registerer>

Register all collectors configured with rmetrics::file_sink with a base_manager or a class derived from it.

Public Functions

file_sink_registerer(const file_sink_registerer&) = default
inline file_sink_registerer(void)
template<typename TSink>
inline collector_registration_spec<TSink> calc_registration_spec(fs_output_manager *manager, const rmconfig::file_sink_config *const config, const std::string &xml_name, const rmetrics::output_mode &allowed) const

Figure out:

  • If the selected output mode is valid for the specified collector.

  • The appropriate filename output stem for the collector if the output mode is OK.

Returns:

collector_register_spec, or empty if the collector fails any pre-initialization checks.

template<typename TIterator, typename TSink>
inline void emit_diagnostic(const TIterator &it, const collector_registration_spec<TSink> &spec)
file_sink_registerer &operator=(const file_sink_registerer&) = default