DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
dunedaq
sourcecode
ipm
include
ipm
PluginInfo.hpp
Go to the documentation of this file.
1
12
#ifndef IPM_INCLUDE_IPM_PLUGININFO_HPP_
13
#define IPM_INCLUDE_IPM_PLUGININFO_HPP_
14
15
#include "cetlib/BasicPluginFactory.h"
16
#include "cetlib/compiler_macros.h"
17
#include "
ers/Issue.hpp
"
18
#include "nlohmann/json.hpp"
19
20
#include <map>
21
#include <memory>
22
#include <string>
23
#include <vector>
24
25
namespace
dunedaq
{
26
namespace
ipm {
27
enum class
IpmPluginType
28
{
29
Sender
,
30
Receiver
,
31
Publisher
,
32
Subscriber
33
};
34
35
const
std::map<IpmPluginType, std::string>
ZmqPluginNames
{ {
IpmPluginType::Sender
,
"ZmqSender"
},
36
{
IpmPluginType::Receiver
,
"ZmqReceiver"
},
37
{
IpmPluginType::Publisher
,
"ZmqPublisher"
},
38
{
IpmPluginType::Subscriber
,
"ZmqSubscriber"
} };
39
40
std::string
41
get_recommended_plugin_name
(
IpmPluginType
type)
42
{
43
return
ZmqPluginNames
.at(type);
44
}
45
46
}
// namespace ipm
47
}
// namespace dunedaq
48
49
#endif
// IPM_INCLUDE_IPM_PLUGININFO_HPP_
Issue.hpp
dunedaq::ipm::Subscriber
Definition
Subscriber.hpp:43
dunedaq::ipm::get_recommended_plugin_name
std::string get_recommended_plugin_name(IpmPluginType type)
Definition
PluginInfo.hpp:41
dunedaq::ipm::IpmPluginType
IpmPluginType
Definition
PluginInfo.hpp:28
dunedaq::ipm::IpmPluginType::Publisher
@ Publisher
dunedaq::ipm::IpmPluginType::Sender
@ Sender
dunedaq::ipm::IpmPluginType::Subscriber
@ Subscriber
dunedaq::ipm::IpmPluginType::Receiver
@ Receiver
dunedaq::ipm::ZmqPluginNames
const std::map< IpmPluginType, std::string > ZmqPluginNames
Definition
PluginInfo.hpp:35
dunedaq
The DUNE-DAQ namespace.
Definition
DataStore.hpp:57
Generated on Sat Aug 23 2025 for DUNE-DAQ by
1.12.0