CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | Friends
ThePEG::RandomEngineGlue::Proxy Class Reference

#include <RandomEngineGlue.h>

Inheritance diagram for ThePEG::RandomEngineGlue::Proxy:
ThePEG::Proxy< Proxy > ThePEG::ProxyBase

Public Member Functions

RandomEngineGluegetInstance () const
 
CLHEP::HepRandomEngine * getRandomEngine () const
 
void setRandomEngine (CLHEP::HepRandomEngine *v)
 
- Public Member Functions inherited from ThePEG::ProxyBase
ProxyID getID () const
 
ProxyBaseoperator= (const ProxyBase &orig)=delete
 
 ProxyBase (const ProxyBase &orig)=delete
 
virtual ~ProxyBase ()
 

Private Member Functions

 Proxy (ProxyID id)
 

Private Attributes

RandomEngineGlueinstance
 
CLHEP::HepRandomEngine * randomEngine
 

Friends

class RandomEngineGlue
 
class ThePEG::Proxy< Proxy >
 

Additional Inherited Members

- Public Types inherited from ThePEG::Proxy< Proxy >
typedef Proxy Base
 
- Public Types inherited from ThePEG::ProxyBase
typedef unsigned long ProxyID
 
- Static Public Member Functions inherited from ThePEG::Proxy< Proxy >
static std::shared_ptr< Proxycreate ()
 
static std::shared_ptr< Proxyfind (ProxyID id)
 
- Protected Member Functions inherited from ThePEG::Proxy< Proxy >
 Proxy (ProxyID id)
 

Detailed Description

Definition at line 33 of file RandomEngineGlue.h.

Constructor & Destructor Documentation

ThePEG::RandomEngineGlue::Proxy::Proxy ( ProxyID  id)
inlineprivate

Definition at line 44 of file RandomEngineGlue.h.

44 : Base(id), instance(nullptr) {}

Member Function Documentation

RandomEngineGlue* ThePEG::RandomEngineGlue::Proxy::getInstance ( ) const
inline

Definition at line 35 of file RandomEngineGlue.h.

References instance.

35 { return instance; }
CLHEP::HepRandomEngine* ThePEG::RandomEngineGlue::Proxy::getRandomEngine ( ) const
inline

Definition at line 37 of file RandomEngineGlue.h.

References randomEngine.

37 { return randomEngine; }
CLHEP::HepRandomEngine * randomEngine
void ThePEG::RandomEngineGlue::Proxy::setRandomEngine ( CLHEP::HepRandomEngine *  v)
inline

Definition at line 38 of file RandomEngineGlue.h.

References randomEngine, and findQualityFiles::v.

Friends And Related Function Documentation

friend class RandomEngineGlue
friend

Definition at line 41 of file RandomEngineGlue.h.

friend class ThePEG::Proxy< Proxy >
friend

Definition at line 42 of file RandomEngineGlue.h.

Member Data Documentation

RandomEngineGlue* ThePEG::RandomEngineGlue::Proxy::instance
private

Definition at line 46 of file RandomEngineGlue.h.

Referenced by getInstance(), and production_tasks.Task::getname().

CLHEP::HepRandomEngine* ThePEG::RandomEngineGlue::Proxy::randomEngine
private

Definition at line 56 of file RandomEngineGlue.h.

Referenced by getRandomEngine(), and setRandomEngine().