Namespaces | Macros | Typedefs
ModuleMacros.h File Reference
#include "art/Framework/Core/ModuleType.h"
#include "art/Framework/Core/WorkerT.h"
#include "art/Framework/Core/detail/ModuleTypeDeducer.h"
#include "art/Framework/Principal/WorkerParams.h"
#include "canvas/Persistency/Provenance/ModuleDescription.h"
#include "cetlib/ProvideFilePathMacro.h"
#include "fhiclcpp/ParameterSet.h"
#include "fhiclcpp/types/AllowedConfigurationMacro.h"
#include "art/Framework/Core/EventObserverBase.h"
#include <memory>
#include <ostream>
#include <string>

Go to the source code of this file.

Namespaces

 art
 Service to store calibration data products (CDP) in the SQLite3 metadatabase of a file.
 
 art::detail
 

Macros

#define DEFINE_ART_MODULE(klass)
 

Typedefs

using art::detail::WorkerMaker_t = Worker *(WorkerParams const &, ModuleDescription const &)
 
using art::detail::ModuleTypeFunc_t) = ModuleType(
 

Macro Definition Documentation

#define DEFINE_ART_MODULE (   klass)
Value:
extern "C" { \
art::Worker* \
make_worker(art::WorkerParams const& wp, art::ModuleDescription const& md) \
{ \
return new klass::WorkerType( \
std::unique_ptr<klass::ModuleType>(new klass(wp.pset_)), md, wp); \
} \
art::ModuleType \
moduleType() \
{ \
} \
}
#define CET_PROVIDE_FILE_PATH()
#define FHICL_PROVIDE_ALLOWED_CONFIGURATION(klass)

Definition at line 42 of file ModuleMacros.h.