#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 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 13 of file FortranInstance.h.
|
inline |
Definition at line 15 of file FortranInstance.h.
|
virtual |
Definition at line 36 of file FortranInstance.cc.
References currentInstance, and edm::friendlyname::friendlyName().
|
inline |
Definition at line 18 of file FortranInstance.h.
References 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 49 of file FortranInstance.cc.
References edm::hlt::Exception, edm::friendlyname::friendlyName(), and edm::errors::LogicError.
Referenced by gen::Pythia6Service::enter(), and gen::FortranInstance::InstanceWrapper::InstanceWrapper().
|
inlinestatic |
Definition at line 56 of file FortranInstance.h.
References currentInstance, instance, and throwMissingInstance().
|
virtual |
Definition at line 71 of file FortranInstance.cc.
References edm::hlt::Exception, edm::friendlyname::friendlyName(), and edm::errors::LogicError.
Referenced by gen::FortranInstance::InstanceWrapper::~InstanceWrapper().
|
staticprivate |
Definition at line 93 of file FortranInstance.cc.
References edm::hlt::Exception, and edm::errors::LogicError.
Referenced by getInstance().
|
virtual |
Reimplemented in Herwig6Hadronizer, myPythia6ServiceWithCallback, gen::Pythia6ServiceWithCallback, and gen::Pythia6ServiceWithCallback.
Definition at line 112 of file FortranInstance.cc.
References edm::hlt::Exception, and edm::friendlyname::friendlyName().
|
virtual |
Reimplemented in Herwig6Hadronizer, gen::Pythia6ServiceWithCallback, gen::Pythia6ServiceWithCallback, and myPythia6ServiceWithCallback.
Definition at line 103 of file FortranInstance.cc.
References edm::hlt::Exception, and edm::friendlyname::friendlyName().
|
virtual |
Reimplemented in myPythia6ServiceWithCallback, gen::Pythia6ServiceWithCallback, and gen::Pythia6ServiceWithCallback.
Definition at line 121 of file FortranInstance.cc.
|
friend |
|
friend |
|
friend |
|
staticprivate |
Definition at line 86 of file FortranInstance.h.
Referenced by getInstance(), and ~FortranInstance().
|
private |
Definition at line 83 of file FortranInstance.h.