Class network_output_manager

Inheritance Relationships

Base Types

Class Documentation

class network_output_manager : public rcppsw::er::client<network_output_manager>, public rcppsw::metrics::base_manager

Base class for managing metrics collected from variable sources across all possible collector output modes and sinks which ultimately output their metrics to the filesystem.

Public Functions

inline network_output_manager(const std::string &dest_prefix)
~network_output_manager(void) override = default
virtual void collector_preregister(const std::string &scoped_name, const rmetrics::output_mode &mode) override

To be called before collector_register(), in order to correctly set up the collector map for the collector with the specified scoped name.

If you forget to do this you will get a segfault.

inline const std::string &dest_prefix(void) const
virtual void finalize(void) override

Decorator around collector_group::finalize_all().

virtual bool flush(const rmetrics::output_mode &mode, const rtypes::timestep &t) override
virtual void initialize(void) override

Decorator around collector_group::initialize().

virtual void interval_reset(const rtypes::timestep &t) override

Decorator around collector_group::interval_reset().