#include <FortranInstance.h>
Classes | |
struct | InstanceWrapper |
Public Member Functions | |
void | call (void(&fn)()) |
template<typename T > | |
T | call (T(&fn)()) |
template<typename A > | |
void | call (void(&fn)(A), A a) |
template<typename T , typename A > | |
T | call (T(&fn)(A), A a) |
template<typename A1 , typename A2 > | |
void | call (void(&fn)(A1, A2), A1 a1, A2 a2) |
template<typename T , typename A1 , typename A2 > | |
T | call (T(&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 = 0 |
Friends | |
void | gen::upevnt_ () |
void | gen::upinit_ () |
void | gen::upveto_ (int *) |
Definition at line 15 of file FortranInstance.h.
|
inline |
|
virtualnoexcept |
Definition at line 31 of file FortranInstance.cc.
References currentInstance, and edm::friendlyname::friendlyName().
Referenced by FortranInstance().
|
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().
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented in gen::Pythia6Service.
Definition at line 43 of file FortranInstance.cc.
References currentInstance, Exception, edm::friendlyname::friendlyName(), instanceNesting, 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, gen::FortranInstance::InstanceWrapper::instance, throwMissingInstance(), upEvnt(), upInit(), and upVeto().
|
virtual |
Definition at line 62 of file FortranInstance.cc.
References currentInstance, Exception, edm::friendlyname::friendlyName(), instanceNesting, 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().
Referenced by getInstance().
|
virtual |
Reimplemented in Herwig6Hadronizer, gen::Pythia6ServiceWithCallback, and gen::Pythia6ServiceWithCallback.
Definition at line 92 of file FortranInstance.cc.
References Exception, and edm::friendlyname::friendlyName().
Referenced by getInstance().
|
virtual |
Reimplemented in gen::Pythia6ServiceWithCallback, and gen::Pythia6ServiceWithCallback.
Definition at line 108 of file FortranInstance.cc.
Referenced by getInstance().
|
friend |
|
friend |
|
friend |
|
staticprivate |
Definition at line 107 of file FortranInstance.h.
Referenced by enter(), getInstance(), leave(), gen::upveto_(), and ~FortranInstance().
|
private |
Definition at line 104 of file FortranInstance.h.
|
static |
Definition at line 88 of file FortranInstance.h.
Referenced by gen::call_pygive(), gen::ExternalDecayDriver::ExternalDecayDriver(), gen::Pythia6ServiceWithCallback::upVeto(), and gen::upveto_().