CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Typedefs | Functions | Variables
LHEProxy.cc File Reference
#include <map>
#include <boost/thread.hpp>
#include <boost/shared_ptr.hpp>
#include <boost/weak_ptr.hpp>
#include "GeneratorInterface/LHEInterface/interface/LHEProxy.h"

Go to the source code of this file.

Typedefs

typedef std::map
< LHEProxy::ProxyID,
boost::weak_ptr< LHEProxy > > 
ProxyMap
 

Functions

static ProxyMapgetProxyMapInstance ()
 

Variables

static boost::mutex mutex
 

Typedef Documentation

typedef std::map< LHEProxy::ProxyID, boost::weak_ptr<LHEProxy> > ProxyMap

Definition at line 13 of file LHEProxy.cc.

Function Documentation

static ProxyMap* getProxyMapInstance ( )
static

Definition at line 15 of file LHEProxy.cc.

References instance.

Referenced by lhef::LHEProxy::create(), lhef::LHEProxy::find(), and lhef::LHEProxy::~LHEProxy().

16 {
17  static struct Sentinel {
18  Sentinel() : instance(new ProxyMap) {}
19  ~Sentinel() { delete instance; instance = 0; }
20 
22  } sentinel;
23 
24  return sentinel.instance;
25 }
static PFTauRenderPlugin instance
std::map< LHEProxy::ProxyID, boost::weak_ptr< LHEProxy > > ProxyMap
Definition: LHEProxy.cc:13

Variable Documentation

boost::mutex mutex
static