mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
FairMQ: Add plugin mechanism (Plugin and PluginManager classes)
This commit is contained in:
committed by
Mohammad Al-Turany
parent
ac69607250
commit
60d929b0bd
26
fairmq/Plugin.cxx
Normal file
26
fairmq/Plugin.cxx
Normal file
@@ -0,0 +1,26 @@
|
||||
/********************************************************************************
|
||||
* 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)
|
||||
: fkName(name)
|
||||
, fkVersion(version)
|
||||
, fkMaintainer(maintainer)
|
||||
, fkHomepage(homepage)
|
||||
{
|
||||
LOG(DEBUG) << "Loaded plugin: " << *this;
|
||||
}
|
||||
|
||||
fair::mq::Plugin::~Plugin()
|
||||
{
|
||||
LOG(DEBUG) << "Unloaded plugin: " << *this;
|
||||
}
|
Reference in New Issue
Block a user