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
9
#ifndef IPM_INCLUDE_IPM_PLUGININFO_HPP_
10
#define IPM_INCLUDE_IPM_PLUGININFO_HPP_
11
12
#include "cetlib/BasicPluginFactory.h"
13
#include "cetlib/compiler_macros.h"
14
#include "
ers/Issue.hpp
"
15
#include "nlohmann/json.hpp"
16
17
#include <map>
18
#include <memory>
19
#include <string>
20
#include <vector>
21
22
namespace
dunedaq
{
23
namespace
ipm {
24
enum class
IpmPluginType
25
{
26
Sender
,
27
Receiver
,
28
Publisher
,
29
Subscriber
30
};
31
32
const
std::map<IpmPluginType, std::string>
ZmqPluginNames
{ {
IpmPluginType::Sender
,
"ZmqSender"
},
33
{
IpmPluginType::Receiver
,
"ZmqReceiver"
},
34
{
IpmPluginType::Publisher
,
"ZmqPublisher"
},
35
{
IpmPluginType::Subscriber
,
"ZmqSubscriber"
} };
36
37
std::string
38
get_recommended_plugin_name
(
IpmPluginType
type)
39
{
40
return
ZmqPluginNames
.at(type);
41
}
42
43
}
// namespace ipm
44
}
// namespace dunedaq
45
46
#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:38
dunedaq::ipm::IpmPluginType
IpmPluginType
Definition
PluginInfo.hpp:25
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:32
dunedaq
Including Qt Headers.
Definition
TimingController.hxx:1
Generated on Sat Jun 28 2025 for DUNE-DAQ by
1.12.0