#include <KitManager.h>
Definition at line 13 of file KitManager.h.
◆ KitManagerBase()
KitManagerBase::KitManagerBase |
( |
| ) |
|
|
protecteddefault |
◆ ~KitManagerBase()
KitManagerBase::~KitManagerBase |
( |
| ) |
|
|
protectedvirtualdefault |
◆ dumpKits()
void KitManagerBase::dumpKits |
( |
std::ostream & |
out | ) |
const |
Definition at line 27 of file KitManager.cxx.
28 std::lock_guard<std::mutex> lock (
m_mutex);
29 for(
const std::pair<const std::string, const void *> &elm:
m_registry) {
30 out <<
" " << elm.first;
◆ kitPtr()
const void * KitManagerBase::kitPtr |
( |
const std::string & |
name | ) |
const |
|
protected |
◆ registerKit()
bool KitManagerBase::registerKit |
( |
const std::string & |
name, |
|
|
const void * |
a_kit |
|
) |
| |
|
protected |
Definition at line 16 of file KitManager.cxx.
17 std::lock_guard<std::mutex> lock (
m_mutex);
18 std::pair<std::string, const void *> elm = std::make_pair(
name, a_kit);
21 message <<
"Failed to register kit " << elm.first;
22 throw std::runtime_error(
message.str());
◆ m_mutex
std::mutex KitManagerBase::m_mutex |
|
mutableprotected |
◆ m_registry
std::map<std::string, const void * > KitManagerBase::m_registry |
|
protected |
The documentation for this class was generated from the following files: