FairMQ/fairmq/Plugin.cxx

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;
}