mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
FairMQ: Implement PluginServices - Config
This commit is contained in:
committed by
Mohammad Al-Turany
parent
739460b2fe
commit
ad0f050c99
@@ -16,6 +16,8 @@
|
||||
#ifndef FAIRMQEVENTMANAGER_H
|
||||
#define FAIRMQEVENTMANAGER_H
|
||||
|
||||
#include <FairMQLogger.h>
|
||||
|
||||
#include <map>
|
||||
#include <utility>
|
||||
#include <string>
|
||||
@@ -97,7 +99,7 @@ class FairMQEventManager
|
||||
}
|
||||
|
||||
template <EventId event, typename... ValueType>
|
||||
void Disonnect(const std::string& key)
|
||||
void Disconnect(const std::string& key)
|
||||
{
|
||||
GetSlot<event, ValueType...>(key).disconnect();
|
||||
}
|
||||
@@ -111,14 +113,7 @@ class FairMQEventManager
|
||||
template <EventId event>
|
||||
bool EventKeyFound(const std::string& key)
|
||||
{
|
||||
if (fEventMap.find(std::pair<EventId, std::string>(event, key)) != fEventMap.end())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return fEventMap.find(std::pair<EventId, std::string>(event, key)) != fEventMap.end();
|
||||
}
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user