DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
TriggerActivityFactory.hpp File Reference
Include dependency graph for TriggerActivityFactory.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  triggeralgs::TriggerActivityFactory
 

Namespaces

namespace  triggeralgs
 

Macros

#define REGISTER_TRIGGER_ACTIVITY_MAKER(tam_name, tam_class)
 

Macro Definition Documentation

◆ REGISTER_TRIGGER_ACTIVITY_MAKER

#define REGISTER_TRIGGER_ACTIVITY_MAKER ( tam_name,
tam_class )
Value:
static struct tam_class##Registrar { \
tam_class##Registrar() { \
TriggerActivityFactory::register_creator(tam_name, []() -> std::unique_ptr<TriggerActivityMaker> {return std::make_unique<tam_class>();}); \
} \
} tam_class##_registrar;

Definition at line 14 of file TriggerActivityFactory.hpp.

14#define REGISTER_TRIGGER_ACTIVITY_MAKER(tam_name, tam_class) \
15 static struct tam_class##Registrar { \
16 tam_class##Registrar() { \
17 TriggerActivityFactory::register_creator(tam_name, []() -> std::unique_ptr<TriggerActivityMaker> {return std::make_unique<tam_class>();}); \
18 } \
19 } tam_class##_registrar;