#include <FortranInstance.h>
Classes | |
struct | InstanceWrapper |
Public Member Functions | |
template<typename T > | |
T | call (T(&fn)()) |
template<typename T , typename A > | |
T | call (T(&fn)(A), A a) |
template<typename T , typename A1 , typename A2 > | |
T | call (T(&fn)(A1, A2), A1 a1, A2 a2) |
void | call (void(&fn)()) |
template<typename A > | |
void | call (void(&fn)(A), A a) |
template<typename A1 , typename A2 > | |
void | call (void(&fn)(A1, A2), A1 a1, A2 a2) |
virtual void | enter () |
FortranInstance () | |
virtual void | leave () |
virtual void | upEvnt () |
virtual void | upInit () |
virtual bool | upVeto () |
virtual | ~FortranInstance () noexcept(false) |
Static Public Member Functions | |
template<typename T > | |
static T * | getInstance () |
Static Public Attributes | |
static const std::string | kFortranInstance = "FortranInstance" |
Static Private Member Functions | |
static void | throwMissingInstance () |
Private Attributes | |
int | instanceNesting |
Static Private Attributes | |
static FortranInstance * | currentInstance = nullptr |
Friends | |
void | gen::upevnt_ () |
void | gen::upinit_ () |
void | gen::upveto_ (int *) |
Definition at line 15 of file FortranInstance.h.
|
inline |
Definition at line 17 of file FortranInstance.h.
|
virtualnoexcept |
Definition at line 31 of file FortranInstance.cc.
References currentInstance, and edm::friendlyname::friendlyName().
Definition at line 25 of file FortranInstance.h.
References personalPlayback::fn, and wrapper.
Definition at line 35 of file FortranInstance.h.
References a, personalPlayback::fn, and wrapper.
|
inline |
Definition at line 45 of file FortranInstance.h.
References testProducerWithPsetDescEmpty_cfi::a2, personalPlayback::fn, and wrapper.
|
inline |
Definition at line 20 of file FortranInstance.h.
References personalPlayback::fn, and wrapper.
Referenced by gen::PomwigHadronizer::clear(), Herwig6Hadronizer::clear(), gen::Cascade2Hadronizer::imposeProperTime(), gen::Pythia6Hadronizer::imposeProperTime(), Herwig6Hadronizer::initialize(), gen::PomwigHadronizer::initializeForInternalPartons(), Herwig6Hadronizer::initializeForInternalPartons(), gen::PomwigHadronizer::readSettings(), and Herwig6Hadronizer::readSettings().
Definition at line 30 of file FortranInstance.h.
References a, personalPlayback::fn, and wrapper.
|
inline |
Definition at line 40 of file FortranInstance.h.
References testProducerWithPsetDescEmpty_cfi::a2, personalPlayback::fn, and wrapper.
|
virtual |
Reimplemented in gen::Pythia6Service.
Definition at line 43 of file FortranInstance.cc.
References Exception, edm::friendlyname::friendlyName(), and edm::errors::LogicError.
Referenced by gen::Pythia6Service::enter(), and gen::FortranInstance::InstanceWrapper::InstanceWrapper().
|
inlinestatic |
Definition at line 76 of file FortranInstance.h.
References currentInstance, instance, and throwMissingInstance().
|
virtual |
Definition at line 62 of file FortranInstance.cc.
References Exception, edm::friendlyname::friendlyName(), and edm::errors::LogicError.
Referenced by gen::FortranInstance::InstanceWrapper::~InstanceWrapper().
|
staticprivate |
Definition at line 83 of file FortranInstance.cc.
References Exception, and edm::errors::LogicError.
Referenced by getInstance().
|
virtual |
Reimplemented in Herwig6Hadronizer, gen::Pythia6ServiceWithCallback, and gen::Pythia6ServiceWithCallback.
Definition at line 100 of file FortranInstance.cc.
References Exception, and edm::friendlyname::friendlyName().
|
virtual |
Reimplemented in Herwig6Hadronizer, gen::Pythia6ServiceWithCallback, and gen::Pythia6ServiceWithCallback.
Definition at line 92 of file FortranInstance.cc.
References Exception, and edm::friendlyname::friendlyName().
|
virtual |
Reimplemented in gen::Pythia6ServiceWithCallback, and gen::Pythia6ServiceWithCallback.
Definition at line 108 of file FortranInstance.cc.
|
friend |
|
friend |
|
friend |
|
staticprivate |
Definition at line 107 of file FortranInstance.h.
Referenced by getInstance(), and ~FortranInstance().
|
private |
Definition at line 104 of file FortranInstance.h.
|
static |
Definition at line 88 of file FortranInstance.h.
Referenced by gen::ExternalDecayDriver::ExternalDecayDriver().