Macros
BasicPluginMacros.h File Reference
#include "cetlib/PluginTypeDeducer.h"
#include "cetlib/compiler_macros.h"
#include "fhiclcpp/ParameterSet.h"
#include <memory>
#include <string>

Go to the source code of this file.

Macros

#define DEFINE_BASIC_PLUGIN_MAKER(klass, base)
 
#define DEFINE_BASIC_PLUGIN(klass, base)
 

Macro Definition Documentation

#define DEFINE_BASIC_PLUGIN (   klass,
  base 
)
Value:
#define DEFINE_BASIC_PLUGIN_MAKER(klass, base)
#define DEFINE_BASIC_PLUGINTYPE_FUNC(base)

Definition at line 31 of file BasicPluginMacros.h.

#define DEFINE_BASIC_PLUGIN_MAKER (   klass,
  base 
)
Value:
EXTERN_C_FUNC_DECLARE_START \
std::unique_ptr<base> makePlugin(fhicl::ParameterSet const& pset) \
{ \
return std::make_unique<klass>(pset); \
} \
EXTERN_C_FUNC_DECLARE_END

Definition at line 23 of file BasicPluginMacros.h.