Skip to content

Source · fairmq/plugins/config/

Config.hheader

Described in Configuration and properties, 1-n-1: sampler, processors and sink, Configure channels, JSON configuration, Command-line options, Tune and debug.

fairmq/plugins/config/Config.h45 lines · C++GitHub ↗
1/********************************************************************************2 * Copyright (C) 2017-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH  *3 *                                                                              *4 *              This software is distributed under the terms of the             *5 *              GNU Lesser General Public Licence (LGPL) version 3,             *6 *                  copied verbatim in the file "LICENSE"                       *7 ********************************************************************************/8 9#ifndef FAIR_MQ_PLUGINS_CONFIG10#define FAIR_MQ_PLUGINS_CONFIG11 12#include <fairmq/Plugin.h>13#include <fairmq/Version.h>14 15#include <string>16 17namespace fair::mq::plugins18{19 20class Config : public Plugin21{22  public:23    Config(const std::string& name, Plugin::Version version, const std::string& maintainer, const std::string& homepage, PluginServices* pluginServices);24    Config(const Config&) = delete;25    Config(Config&&) = delete;26    Config& operator=(const Config&) = delete;27    Config& operator=(Config&&) = delete;28 29    ~Config() override;30};31 32Plugin::ProgOptions ConfigPluginProgramOptions();33 34REGISTER_FAIRMQ_PLUGIN(35    Config,   // Class name36    config,   // Plugin name37    (Plugin::Version{FAIRMQ_VERSION_MAJOR, FAIRMQ_VERSION_MINOR, FAIRMQ_VERSION_PATCH}),38    "FairRootGroup <fairroot@gsi.de>",39    "https://github.com/FairRootGroup/FairMQ",40    ConfigPluginProgramOptions41)42 43} // namespace fair::mq::plugins44 45#endif /* FAIR_MQ_PLUGINS_CONFIG */