Class fs_output_manager

Inheritance Relationships

Base Types

Class Documentation

class fs_output_manager : public rcppsw::er::client<fs_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

fs_output_manager(const rmconfig::metrics_config *mconfig, const fs::path &output_root)
~fs_output_manager(void) override = default
virtual void collector_preregister(const std::string &scoped_name, const rmetrics::output_mode &mode) final 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.

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().

inline const fs::path &metrics_path(void) const