mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-12 16:21:13 +00:00
46 lines
1.5 KiB
C++
46 lines
1.5 KiB
C++
/********************************************************************************
|
|
* Copyright (C) 2017-2022 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
|
|
* *
|
|
* This software is distributed under the terms of the *
|
|
* GNU Lesser General Public Licence (LGPL) version 3, *
|
|
* copied verbatim in the file "LICENSE" *
|
|
********************************************************************************/
|
|
|
|
#ifndef FAIR_MQ_PLUGINS_CONFIG
|
|
#define FAIR_MQ_PLUGINS_CONFIG
|
|
|
|
#include <fairmq/Plugin.h>
|
|
#include <fairmq/Version.h>
|
|
|
|
#include <string>
|
|
|
|
namespace fair::mq::plugins
|
|
{
|
|
|
|
class Config : public Plugin
|
|
{
|
|
public:
|
|
Config(const std::string& name, Plugin::Version version, const std::string& maintainer, const std::string& homepage, PluginServices* pluginServices);
|
|
Config(const Config&) = delete;
|
|
Config(Config&&) = delete;
|
|
Config& operator=(const Config&) = delete;
|
|
Config& operator=(Config&&) = delete;
|
|
|
|
~Config() override;
|
|
};
|
|
|
|
Plugin::ProgOptions ConfigPluginProgramOptions();
|
|
|
|
REGISTER_FAIRMQ_PLUGIN(
|
|
Config, // Class name
|
|
config, // Plugin name
|
|
(Plugin::Version{FAIRMQ_VERSION_MAJOR, FAIRMQ_VERSION_MINOR, FAIRMQ_VERSION_PATCH}),
|
|
"FairRootGroup <fairroot@gsi.de>",
|
|
"https://github.com/FairRootGroup/FairMQ",
|
|
ConfigPluginProgramOptions
|
|
)
|
|
|
|
} // namespace fair::mq::plugins
|
|
|
|
#endif /* FAIR_MQ_PLUGINS_CONFIG */
|