A pointer registry mechanism to manage memory and provide search functionalities. (non-predicate version)
More...
|
typedef Registry< T_Ptr, T_Key >
::iterator | iterator |
| |
typedef Registry< T_Ptr, T_Key >
::const_iterator | const_iterator |
| |
typedef Registry< T_Ptr, T_Key >
::iterator | iterator |
| |
typedef Registry< T_Ptr, T_Key >
::const_iterator | const_iterator |
| |
typedef Registry< T_Ptr, T_Key >
::iterator | iterator |
| |
typedef Registry< T_Ptr, T_Key >
::const_iterator | const_iterator |
| |
typedef std::map< T_Key, T_Ptr * >
::iterator | iterator |
| |
typedef std::map< T_Key, T_Ptr * >
::iterator | iterator |
| |
typedef std::map< T_Key, T_Ptr * >
::iterator | iterator |
| |
typedef std::map< T_Key, T_Ptr * >
::const_iterator | const_iterator |
| |
typedef std::map< T_Key, T_Ptr * >
::const_iterator | const_iterator |
| |
typedef std::map< T_Key, T_Ptr * >
::const_iterator | const_iterator |
| |
|
| | Registry (void) |
| |
| | Registry (const Registry &sr) |
| | Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More...
|
| |
| Registry & | operator= (const Registry &sr) |
| | Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More...
|
| |
| virtual | ~Registry (void) |
| |
| | Registry (void) |
| |
| | Registry (const Registry &sr) |
| | Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More...
|
| |
| Registry & | operator= (const Registry &sr) |
| | Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More...
|
| |
| virtual | ~Registry (void) |
| |
| | Registry (void) |
| |
| | Registry (const Registry &sr) |
| | Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More...
|
| |
| Registry & | operator= (const Registry &sr) |
| | Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More...
|
| |
| virtual | ~Registry (void) |
| |
| | AbstractRegistry (void) |
| | Default constructor. More...
|
| |
| | AbstractRegistry (AbstractRegistry &&sr) |
| | Move constructor that is useful for base classes. More...
|
| |
| | AbstractRegistry (void) |
| | Default constructor. More...
|
| |
| | AbstractRegistry (AbstractRegistry &&sr) |
| | Move constructor that is useful for base classes. More...
|
| |
| | AbstractRegistry (void) |
| | Default constructor. More...
|
| |
| | AbstractRegistry (AbstractRegistry &&sr) |
| | Move constructor that is useful for base classes. More...
|
| |
| bool | operator== (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &other) |
| |
| bool | operator== (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &other) |
| |
| bool | operator== (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &other) |
| |
| bool | operator!= (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &other) |
| |
| bool | operator!= (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &other) |
| |
| bool | operator!= (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &other) |
| |
| AbstractRegistry & | operator= (AbstractRegistry &&sr) |
| | Assignment move operator. More...
|
| |
| AbstractRegistry & | operator= (AbstractRegistry &&sr) |
| | Assignment move operator. More...
|
| |
| AbstractRegistry & | operator= (AbstractRegistry &&sr) |
| | Assignment move operator. More...
|
| |
| virtual | ~AbstractRegistry (void) |
| |
| virtual | ~AbstractRegistry (void) |
| |
| virtual | ~AbstractRegistry (void) |
| |
| virtual iterator | begin (void) ELPP_FINAL |
| |
| virtual iterator | begin (void) ELPP_FINAL |
| |
| virtual iterator | begin (void) ELPP_FINAL |
| |
| virtual iterator | end (void) ELPP_FINAL |
| |
| virtual iterator | end (void) ELPP_FINAL |
| |
| virtual iterator | end (void) ELPP_FINAL |
| |
| virtual const_iterator | cbegin (void) const ELPP_FINAL |
| |
| virtual const_iterator | cbegin (void) const ELPP_FINAL |
| |
| virtual const_iterator | cbegin (void) const ELPP_FINAL |
| |
| virtual const_iterator | cend (void) const ELPP_FINAL |
| |
| virtual const_iterator | cend (void) const ELPP_FINAL |
| |
| virtual const_iterator | cend (void) const ELPP_FINAL |
| |
| virtual bool | empty (void) const ELPP_FINAL |
| |
| virtual bool | empty (void) const ELPP_FINAL |
| |
| virtual bool | empty (void) const ELPP_FINAL |
| |
| virtual std::size_t | size (void) const ELPP_FINAL |
| |
| virtual std::size_t | size (void) const ELPP_FINAL |
| |
| virtual std::size_t | size (void) const ELPP_FINAL |
| |
| virtual std::map< T_Key, T_Ptr * > & | list (void) ELPP_FINAL |
| | Returns underlying container by reference. More...
|
| |
virtual const std::map< T_Key,
T_Ptr * > & | list (void) const ELPP_FINAL |
| | Returns underlying container by constant reference. More...
|
| |
| virtual std::map< T_Key, T_Ptr * > & | list (void) ELPP_FINAL |
| | Returns underlying container by reference. More...
|
| |
virtual const std::map< T_Key,
T_Ptr * > & | list (void) const ELPP_FINAL |
| | Returns underlying container by constant reference. More...
|
| |
| virtual std::map< T_Key, T_Ptr * > & | list (void) ELPP_FINAL |
| | Returns underlying container by reference. More...
|
| |
virtual const std::map< T_Key,
T_Ptr * > & | list (void) const ELPP_FINAL |
| | Returns underlying container by constant reference. More...
|
| |
| virtual void | acquireLock (void) ELPP_FINAL |
| |
| virtual void | releaseLock (void) ELPP_FINAL |
| |
| virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
| |
| virtual void | acquireLock (void) ELPP_FINAL |
| |
| virtual void | releaseLock (void) ELPP_FINAL |
| |
| virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
| |
| virtual void | acquireLock (void) ELPP_FINAL |
| |
| virtual void | releaseLock (void) ELPP_FINAL |
| |
| virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
| |
|
| virtual void | unregisterAll (void) ELPP_FINAL |
| | Unregisters all the pointers from current repository. More...
|
| |
| virtual void | registerNew (const T_Key &uniqKey, T_Ptr *ptr) ELPP_FINAL |
| | Registers new registry to repository. More...
|
| |
| void | unregister (const T_Key &uniqKey) |
| | Unregisters single entry mapped to specified unique key. More...
|
| |
| T_Ptr * | get (const T_Key &uniqKey) |
| | Gets pointer from repository. If none found, nullptr is returned. More...
|
| |
| virtual void | unregisterAll (void) ELPP_FINAL |
| | Unregisters all the pointers from current repository. More...
|
| |
| virtual void | registerNew (const T_Key &uniqKey, T_Ptr *ptr) ELPP_FINAL |
| | Registers new registry to repository. More...
|
| |
| void | unregister (const T_Key &uniqKey) |
| | Unregisters single entry mapped to specified unique key. More...
|
| |
| T_Ptr * | get (const T_Key &uniqKey) |
| | Gets pointer from repository. If none found, nullptr is returned. More...
|
| |
| virtual void | unregisterAll (void) ELPP_FINAL |
| | Unregisters all the pointers from current repository. More...
|
| |
| virtual void | registerNew (const T_Key &uniqKey, T_Ptr *ptr) ELPP_FINAL |
| | Registers new registry to repository. More...
|
| |
| void | unregister (const T_Key &uniqKey) |
| | Unregisters single entry mapped to specified unique key. More...
|
| |
| T_Ptr * | get (const T_Key &uniqKey) |
| | Gets pointer from repository. If none found, nullptr is returned. More...
|
| |
| virtual void | deepCopy (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &)=0 |
| |
| virtual void | deepCopy (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &)=0 |
| |
| virtual void | deepCopy (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &)=0 |
| |
| void | reinitDeepCopy (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &sr) |
| |
| void | reinitDeepCopy (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &sr) |
| |
| void | reinitDeepCopy (const AbstractRegistry< T_Ptr, std::map< T_Key, T_Ptr * > > &sr) |
| |
| | ThreadSafe (void) |
| |
| virtual | ~ThreadSafe (void) |
| |
| | ThreadSafe (void) |
| |
| virtual | ~ThreadSafe (void) |
| |
| | ThreadSafe (void) |
| |
| virtual | ~ThreadSafe (void) |
| |
template<typename T_Ptr, typename T_Key = const char*>
class el::base::utils::Registry< T_Ptr, T_Key >
A pointer registry mechanism to manage memory and provide search functionalities. (non-predicate version)
NOTE: This is thread-unsafe implementation (although it contains lock function, it does not use these functions) of AbstractRegistry<T_Ptr, Container>. Any implementation of this class should be explicitly (by using lock functions)