#include <ShmOutputModuleRegistry.h>
Public Member Functions | |
void | dumpRegistry () |
OutputModule * | get (std::string &name) |
std::vector < edm::FUShmOutputModule * > | getShmOutputModules () |
void | registerModule (std::string &name, OutputModule *op) |
ShmOutputModuleRegistry (const edm::ParameterSet &) | |
Private Types | |
typedef std::map< std::string, OutputModule * > | dct |
typedef dct::iterator | idct |
Private Member Functions | |
void | clear () |
Private Attributes | |
dct | clm_ |
Friends | |
class | FWEPWrapper |
Definition at line 22 of file ShmOutputModuleRegistry.h.
typedef std::map<std::string, OutputModule*> evf::ShmOutputModuleRegistry::dct [private] |
Definition at line 32 of file ShmOutputModuleRegistry.h.
typedef dct::iterator evf::ShmOutputModuleRegistry::idct [private] |
Definition at line 33 of file ShmOutputModuleRegistry.h.
evf::ShmOutputModuleRegistry::ShmOutputModuleRegistry | ( | const edm::ParameterSet & | ps | ) |
Definition at line 8 of file ShmOutputModuleRegistry.cc.
{ }
void evf::ShmOutputModuleRegistry::clear | ( | void | ) | [private] |
Definition at line 46 of file ShmOutputModuleRegistry.cc.
References clm_.
Referenced by evf::FWEPWrapper::init().
{ clm_.clear(); }
void evf::ShmOutputModuleRegistry::dumpRegistry | ( | ) |
Definition at line 25 of file ShmOutputModuleRegistry.cc.
References clm_, and gather_cfg::cout.
OutputModule * evf::ShmOutputModuleRegistry::get | ( | std::string & | name | ) |
Definition at line 17 of file ShmOutputModuleRegistry.cc.
References clm_.
Referenced by evf::fuep::TriggerReportHelpers::packTriggerReport(), and evf::FWEPWrapper::taskWebPage().
std::vector< edm::FUShmOutputModule * > evf::ShmOutputModuleRegistry::getShmOutputModules | ( | ) |
Definition at line 33 of file ShmOutputModuleRegistry.cc.
Referenced by evf::FUEventProcessor::enabling(), and evf::FUEventProcessor::forkProcessesFromEDM().
{ std::vector<edm::FUShmOutputModule *> outputs; idct it= clm_.begin(); while(it!=clm_.end()){ edm::FUShmOutputModule * sho = dynamic_cast<edm::FUShmOutputModule *> ((*it).second); if (sho!=NULL) { outputs.push_back(sho); } it++; } return outputs; }
void evf::ShmOutputModuleRegistry::registerModule | ( | std::string & | name, |
OutputModule * | op | ||
) |
Definition at line 11 of file ShmOutputModuleRegistry.cc.
References clm_.
friend class FWEPWrapper [friend] |
Definition at line 36 of file ShmOutputModuleRegistry.h.
dct evf::ShmOutputModuleRegistry::clm_ [private] |
Definition at line 35 of file ShmOutputModuleRegistry.h.
Referenced by clear(), dumpRegistry(), get(), getShmOutputModules(), and registerModule().