/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

SvcMgr.cc
Go to the documentation of this file.
00001 #include "LafKernel/SvcMgr.h"
00002 #include "LafKernel/LafLog.h"
00003 
00004 SvcMgr* SvcMgr::_instance = 0;
00005 
00006 SvcMgr* SvcMgr::instance()
00007 {
00008     if ( _instance == 0 ) {
00009         _instance = new SvcMgr("SvcMgr");
00010     }
00011     return _instance;
00012 }
00013 
00014 SvcMgr::SvcMgr(const std::string& objname)
00015     : ElementMgr<SvcBase>(objname)
00016 {
00017     for ( std::list<SvcBase*>::iterator it = m_elements.begin(); it != m_elements.end(); ++it ) {
00018         LogInfo << "Load service    : " << (*it)->name() << std::endl;
00019     }
00020 }
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:50:18 for LafKernel by doxygen 1.7.4