mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-12 16:21:13 +00:00
* move Plugins::Version to fair::mq::tools * fix Parser interface * make device a shared pointer in main * provide std::hash template specialization * fix FairMQ.Plugins/FairMQ.PluginsStatic when run with ctest * fix MQ/serialization example * add --no-as-needed flag * GCC 4 does not support member refs, move to pointer types
28 lines
1.0 KiB
C++
28 lines
1.0 KiB
C++
/********************************************************************************
|
|
* Copyright (C) 2017 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" *
|
|
********************************************************************************/
|
|
|
|
#include <fairmq/Plugin.h>
|
|
#include <FairMQLogger.h>
|
|
|
|
using namespace std;
|
|
|
|
fair::mq::Plugin::Plugin(const string name, const Version version, const string maintainer, const string homepage, PluginServices* pluginServices)
|
|
: fkName{name}
|
|
, fkVersion(version)
|
|
, fkMaintainer{maintainer}
|
|
, fkHomepage{homepage}
|
|
, fPluginServices{pluginServices}
|
|
{
|
|
LOG(DEBUG) << "Loaded plugin: " << *this;
|
|
}
|
|
|
|
fair::mq::Plugin::~Plugin()
|
|
{
|
|
LOG(DEBUG) << "Unloaded plugin: " << *this;
|
|
}
|