GDB (xrefs)
|
#include "registry.h"
Public Member Functions | |
key () | |
DISABLE_COPY_AND_ASSIGN (key) | |
DATA * | get (T *obj) const |
void | set (T *obj, DATA *data) const |
template<typename Dummy = DATA *, typename... Args> | |
std::enable_if< std::is_same< Deleter, std::default_delete< DATA > >::value, Dummy >::type | emplace (T *obj, Args &&...args) const |
void | clear (T *obj) const |
Static Private Member Functions | |
static void | cleanup (void *arg) |
Private Attributes | |
const unsigned | m_key |
Definition at line 95 of file registry.h.
|
inline |
Definition at line 99 of file registry.h.
|
inlinestaticprivate |
Definition at line 155 of file registry.h.
Referenced by registry< T >::key< DATA, Deleter >::clear().
|
inline |
Definition at line 141 of file registry.h.
References registry< T >::key< DATA, Deleter >::cleanup(), get(), and registry< T >::key< DATA, Deleter >::set().
registry< T >::key< DATA, Deleter >::DISABLE_COPY_AND_ASSIGN | ( | key< DATA, Deleter > | ) |
|
inline |
Definition at line 131 of file registry.h.
References registry< T >::key< DATA, Deleter >::set().
|
inline |
Definition at line 108 of file registry.h.
References registry_accessor< T >::get(), registry< T >::get(), and registry< T >::key< DATA, Deleter >::m_key.
|
inline |
Definition at line 117 of file registry.h.
References registry_accessor< T >::get(), registry< T >::key< DATA, Deleter >::m_key, and registry< T >::set().
Referenced by registry< T >::key< DATA, Deleter >::clear(), and registry< T >::key< DATA, Deleter >::emplace().
|
private |
Definition at line 163 of file registry.h.
Referenced by registry< T >::key< DATA, Deleter >::get(), and registry< T >::key< DATA, Deleter >::set().