CMS 3D CMS Logo

IgBrowserManager.cc

Go to the documentation of this file.
00001 //<<<<<< INCLUDES                                                       >>>>>>
00002 
00003 #include "Iguana/WebFramework/interface/IgBrowserManager.h"
00004 #include "Iguana/Framework/interface/IgState.h"
00005 
00006 //<<<<<< PRIVATE DEFINES                                                >>>>>>
00007 //<<<<<< PRIVATE CONSTANTS                                              >>>>>>
00008 //<<<<<< PRIVATE TYPES                                                  >>>>>>
00009 //<<<<<< PRIVATE VARIABLE DEFINITIONS                                   >>>>>>
00010 //<<<<<< PUBLIC VARIABLE DEFINITIONS                                    >>>>>>
00011 //<<<<<< CLASS STRUCTURE INITIALIZATION                                 >>>>>>
00012 
00013 IG_DEFINE_STATE_ELEMENT (IgBrowserManager, "Services/Browser Manager");
00014 
00015 //<<<<<< PRIVATE FUNCTION DEFINITIONS                                   >>>>>>
00016 //<<<<<< PUBLIC FUNCTION DEFINITIONS                                    >>>>>>
00017 //<<<<<< MEMBER FUNCTION DEFINITIONS                                    >>>>>>
00018 
00019 IgBrowserManager::IgBrowserManager (IgState * state)
00020     : m_state (state)
00021 {
00022     m_state->put (s_key, this);    
00023 }
00024 
00025 IgBrowserManager::~IgBrowserManager (void)
00026 {
00027     m_state->detach (s_key);
00028 }
00029 
00030 void
00031 IgBrowserManager::add (IgBrowser *browser, const std::string name)
00032 {
00033     m_browsers.insert (MapEntry (name, browser));    
00034 }

Generated on Tue Jun 9 17:39:02 2009 for CMSSW by  doxygen 1.5.4