Program Listing for File metrics_config.hpp

Return to documentation for file (rcppsw/metrics/config/metrics_config.hpp)

#pragma once

/*******************************************************************************
 * Includes
 ******************************************************************************/
#include <filesystem>

#include "rcppsw/config/base_config.hpp"
#include "rcppsw/metrics/config/file_sink_config.hpp"
#include "rcppsw/metrics/config/network_sink_config.hpp"

/*******************************************************************************
 * Namespaces
 ******************************************************************************/
namespace rcppsw::metrics::config {

namespace fs = std::filesystem;

/*******************************************************************************
 * Structure Definitions
 ******************************************************************************/
struct metrics_config final : public rconfig::base_config {
  fs::path                      metrics_path{};
  rmconfig::file_sink_config    csv{};
  rmconfig::network_sink_config network{};
};

} /* namespace rcppsw::metrics::config */