CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends
edmplugin::PluginFactoryManager Class Reference

#include <PluginFactoryManager.h>

Public Types

typedef std::vector< const PluginFactoryBase * >::const_iterator const_iterator
 

Public Member Functions

void addFactory (const PluginFactoryBase *)
 
const_iterator begin () const
 
const_iterator end () const
 
const PluginFactoryManageroperator= (const PluginFactoryManager &)=delete
 
 PluginFactoryManager (const PluginFactoryManager &)=delete
 
 ~PluginFactoryManager ()
 

Static Public Member Functions

static PluginFactoryManagerget ()
 

Public Attributes

edm::signalslot::Signal< void(const PluginFactoryBase *)> newFactory_
 

Private Member Functions

 PluginFactoryManager ()
 

Private Attributes

std::vector< const PluginFactoryBase * > factories_
 

Friends

class DummyFriend
 

Detailed Description

Definition at line 32 of file PluginFactoryManager.h.

Member Typedef Documentation

◆ const_iterator

Definition at line 40 of file PluginFactoryManager.h.

Constructor & Destructor Documentation

◆ PluginFactoryManager() [1/2]

edmplugin::PluginFactoryManager::PluginFactoryManager ( const PluginFactoryManager )
delete

◆ ~PluginFactoryManager()

PluginFactoryManager::~PluginFactoryManager ( )

Definition at line 38 of file PluginFactoryManager.cc.

38 {}

◆ PluginFactoryManager() [2/2]

PluginFactoryManager::PluginFactoryManager ( )
private

Definition at line 31 of file PluginFactoryManager.cc.

31 {}

Member Function Documentation

◆ addFactory()

void PluginFactoryManager::addFactory ( const PluginFactoryBase iFactory)

Definition at line 55 of file PluginFactoryManager.cc.

References factories_, and newFactory_.

Referenced by edmplugin::PluginFactoryBase::finishedConstruction().

55  {
56  factories_.push_back(iFactory);
57  newFactory_(iFactory);
58  }
edm::signalslot::Signal< void(const PluginFactoryBase *)> newFactory_
std::vector< const PluginFactoryBase * > factories_

◆ begin()

PluginFactoryManager::const_iterator PluginFactoryManager::begin ( void  ) const

Definition at line 63 of file PluginFactoryManager.cc.

References factories_.

Referenced by edmplugin::PluginManager::PluginManager().

63 { return factories_.begin(); }
std::vector< const PluginFactoryBase * > factories_

◆ end()

PluginFactoryManager::const_iterator PluginFactoryManager::end ( void  ) const

Definition at line 65 of file PluginFactoryManager.cc.

References factories_.

Referenced by edmplugin::PluginManager::PluginManager().

65 { return factories_.end(); }
std::vector< const PluginFactoryBase * > factories_

◆ get()

PluginFactoryManager * PluginFactoryManager::get ( )
static

◆ operator=()

const PluginFactoryManager& edmplugin::PluginFactoryManager::operator= ( const PluginFactoryManager )
delete

Friends And Related Function Documentation

◆ DummyFriend

friend class DummyFriend
friend

Definition at line 34 of file PluginFactoryManager.h.

Member Data Documentation

◆ factories_

std::vector<const PluginFactoryBase*> edmplugin::PluginFactoryManager::factories_
private

Definition at line 56 of file PluginFactoryManager.h.

Referenced by addFactory(), begin(), and end().

◆ newFactory_

edm::signalslot::Signal<void(const PluginFactoryBase*)> edmplugin::PluginFactoryManager::newFactory_