CMS 3D CMS Logo

Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends

evf::ShmOutputModuleRegistry Class Reference

#include <ShmOutputModuleRegistry.h>

List of all members.

Public Member Functions

void dumpRegistry ()
edm::FUShmOutputModuleget (std::string &name)
void registerModule (std::string &name, edm::FUShmOutputModule *op)
 ShmOutputModuleRegistry (const edm::ParameterSet &)

Private Types

typedef std::map< std::string,
edm::FUShmOutputModule * > 
dct
typedef dct::iterator idct

Private Member Functions

void clear ()

Private Attributes

dct clm_

Friends

class FWEPWrapper

Detailed Description

Definition at line 18 of file ShmOutputModuleRegistry.h.


Member Typedef Documentation

typedef std::map<std::string, edm::FUShmOutputModule*> evf::ShmOutputModuleRegistry::dct [private]

Definition at line 27 of file ShmOutputModuleRegistry.h.

typedef dct::iterator evf::ShmOutputModuleRegistry::idct [private]

Definition at line 28 of file ShmOutputModuleRegistry.h.


Constructor & Destructor Documentation

evf::ShmOutputModuleRegistry::ShmOutputModuleRegistry ( const edm::ParameterSet ps)

Definition at line 7 of file ShmOuputModuleRegistry.cc.

                                                                           {
  }

Member Function Documentation

void evf::ShmOutputModuleRegistry::clear ( void  ) [private]

Definition at line 32 of file ShmOuputModuleRegistry.cc.

References clm_.

Referenced by evf::FWEPWrapper::init().

  {
     clm_.clear();
  }
void evf::ShmOutputModuleRegistry::dumpRegistry ( )

Definition at line 24 of file ShmOuputModuleRegistry.cc.

References clm_, and gather_cfg::cout.

                                            {
    idct it= clm_.begin();
    while(it!=clm_.end()){
      std::cout << "name " << it->first << "add " 
                << (unsigned long)(it->second) << std::endl;
      it++;
    }
  }
edm::FUShmOutputModule * evf::ShmOutputModuleRegistry::get ( std::string &  name)

Definition at line 16 of file ShmOuputModuleRegistry.cc.

References clm_.

Referenced by evf::fuep::TriggerReportHelpers::packTriggerReport(), and evf::FWEPWrapper::taskWebPage().

  {
    edm::FUShmOutputModule* retval = 0;
    idct it= clm_.find(name);
    if(it!=clm_.end())
      retval = (it->second);
    return retval;
  }
void evf::ShmOutputModuleRegistry::registerModule ( std::string &  name,
edm::FUShmOutputModule op 
)

Definition at line 10 of file ShmOuputModuleRegistry.cc.

References clm_.

  {
    clm_.insert(std::pair<std::string, edm::FUShmOutputModule*>(name,op));
  }

Friends And Related Function Documentation

friend class FWEPWrapper [friend]

Definition at line 31 of file ShmOutputModuleRegistry.h.


Member Data Documentation

Definition at line 30 of file ShmOutputModuleRegistry.h.

Referenced by clear(), dumpRegistry(), get(), and registerModule().