14 auto it = m_factories.find(
name );
15 if( it == m_factories.end() )
21 m_factories.emplace(
name, factory);
24 m_listeners.push_back( factory );
Listeners const & getListeners() const override
~ReporterRegistry() override
void registerListener(IReporterFactoryPtr const &factory)
void registerReporter(std::string const &name, IReporterFactoryPtr const &factory)
IStreamingReporterPtr create(std::string const &name, IConfigPtr const &config) const override
FactoryMap const & getFactories() const override
std::unique_ptr< IStreamingReporter > IStreamingReporterPtr
std::shared_ptr< IReporterFactory > IReporterFactoryPtr
std::shared_ptr< IConfig const > IConfigPtr
std::map< std::string, IReporterFactoryPtr > FactoryMap
std::vector< IReporterFactoryPtr > Listeners