#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 () |
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 |
Definition at line 17 of file FortranInstance.h.
|
virtual |
Definition at line 37 of file FortranInstance.cc.
References currentInstance, and edm::friendlyname::friendlyName().
|
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 50 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 58 of file FortranInstance.h.
References currentInstance, instance, and throwMissingInstance().
|
virtual |
Definition at line 72 of file FortranInstance.cc.
References Exception, edm::friendlyname::friendlyName(), and edm::errors::LogicError.
Referenced by gen::FortranInstance::InstanceWrapper::~InstanceWrapper().
|
staticprivate |
Definition at line 94 of file FortranInstance.cc.
References Exception, and edm::errors::LogicError.
Referenced by getInstance().
|
virtual |
Reimplemented in Herwig6Hadronizer, myPythia6ServiceWithCallback, gen::Pythia6ServiceWithCallback, and gen::Pythia6ServiceWithCallback.
Definition at line 113 of file FortranInstance.cc.
References Exception, and edm::friendlyname::friendlyName().
|
virtual |
Reimplemented in Herwig6Hadronizer, gen::Pythia6ServiceWithCallback, gen::Pythia6ServiceWithCallback, and myPythia6ServiceWithCallback.
Definition at line 104 of file FortranInstance.cc.
References Exception, and edm::friendlyname::friendlyName().
|
virtual |
Reimplemented in myPythia6ServiceWithCallback, gen::Pythia6ServiceWithCallback, and gen::Pythia6ServiceWithCallback.
Definition at line 122 of file FortranInstance.cc.
|
friend |
|
friend |
|
friend |
|
staticprivate |
Definition at line 90 of file FortranInstance.h.
Referenced by getInstance(), and ~FortranInstance().
|
private |
Definition at line 87 of file FortranInstance.h.
|
static |
Definition at line 71 of file FortranInstance.h.
Referenced by gen::ExternalDecayDriver::ExternalDecayDriver().