ifw
0.0.1-dev
|
A pointer registry mechanism to manage memory and provide search functionalities. (predicate version) More...
#include <easylogging++.h>
Public Types | |
typedef RegistryWithPred < T_Ptr, Pred >::iterator | iterator |
typedef RegistryWithPred < T_Ptr, Pred > ::const_iterator | const_iterator |
typedef RegistryWithPred < T_Ptr, Pred >::iterator | iterator |
typedef RegistryWithPred < T_Ptr, Pred > ::const_iterator | const_iterator |
typedef RegistryWithPred < T_Ptr, Pred >::iterator | iterator |
typedef RegistryWithPred < T_Ptr, Pred > ::const_iterator | const_iterator |
![]() | |
typedef std::vector< T_Ptr * > ::iterator | iterator |
typedef std::vector< T_Ptr * > ::iterator | iterator |
typedef std::vector< T_Ptr * > ::iterator | iterator |
typedef std::vector< T_Ptr * > ::const_iterator | const_iterator |
typedef std::vector< T_Ptr * > ::const_iterator | const_iterator |
typedef std::vector< T_Ptr * > ::const_iterator | const_iterator |
Public Member Functions | |
RegistryWithPred (void) | |
virtual | ~RegistryWithPred (void) |
RegistryWithPred (const RegistryWithPred &sr) | |
Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More... | |
RegistryWithPred & | operator= (const RegistryWithPred &sr) |
Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More... | |
RegistryWithPred (void) | |
virtual | ~RegistryWithPred (void) |
RegistryWithPred (const RegistryWithPred &sr) | |
Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More... | |
RegistryWithPred & | operator= (const RegistryWithPred &sr) |
Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More... | |
RegistryWithPred (void) | |
virtual | ~RegistryWithPred (void) |
RegistryWithPred (const RegistryWithPred &sr) | |
Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. More... | |
RegistryWithPred & | operator= (const RegistryWithPred &sr) |
Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. 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... | |
AbstractRegistry (void) | |
Default constructor. More... | |
AbstractRegistry (AbstractRegistry &&sr) | |
Move constructor that is useful for base classes. More... | |
bool | operator== (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &other) |
bool | operator== (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &other) |
bool | operator== (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &other) |
bool | operator!= (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &other) |
bool | operator!= (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &other) |
bool | operator!= (const AbstractRegistry< T_Ptr, std::vector< 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::vector< T_Ptr * > & | list (void) ELPP_FINAL |
Returns underlying container by reference. More... | |
virtual const std::vector < T_Ptr * > & | list (void) const ELPP_FINAL |
Returns underlying container by constant reference. More... | |
virtual std::vector< T_Ptr * > & | list (void) ELPP_FINAL |
Returns underlying container by reference. More... | |
virtual const std::vector < T_Ptr * > & | list (void) const ELPP_FINAL |
Returns underlying container by constant reference. More... | |
virtual std::vector< T_Ptr * > & | list (void) ELPP_FINAL |
Returns underlying container by reference. More... | |
virtual const std::vector < 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 |
Protected Member Functions | |
virtual void | unregisterAll (void) ELPP_FINAL |
Unregisters all the pointers from current repository. More... | |
virtual void | unregister (T_Ptr *&ptr) ELPP_FINAL |
virtual void | registerNew (T_Ptr *ptr) ELPP_FINAL |
template<typename T , typename T2 > | |
T_Ptr * | get (const T &arg1, const T2 arg2) |
Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer. More... | |
virtual void | unregisterAll (void) ELPP_FINAL |
Unregisters all the pointers from current repository. More... | |
virtual void | unregister (T_Ptr *&ptr) ELPP_FINAL |
virtual void | registerNew (T_Ptr *ptr) ELPP_FINAL |
template<typename T , typename T2 > | |
T_Ptr * | get (const T &arg1, const T2 arg2) |
Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer. More... | |
virtual void | unregisterAll (void) ELPP_FINAL |
Unregisters all the pointers from current repository. More... | |
virtual void | unregister (T_Ptr *&ptr) ELPP_FINAL |
virtual void | registerNew (T_Ptr *ptr) ELPP_FINAL |
template<typename T , typename T2 > | |
T_Ptr * | get (const T &arg1, const T2 arg2) |
Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer. More... | |
![]() | |
virtual void | deepCopy (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &)=0 |
virtual void | deepCopy (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &)=0 |
virtual void | deepCopy (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &)=0 |
void | reinitDeepCopy (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &sr) |
void | reinitDeepCopy (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &sr) |
void | reinitDeepCopy (const AbstractRegistry< T_Ptr, std::vector< T_Ptr * > > &sr) |
![]() | |
ThreadSafe (void) | |
virtual | ~ThreadSafe (void) |
ThreadSafe (void) | |
virtual | ~ThreadSafe (void) |
ThreadSafe (void) | |
virtual | ~ThreadSafe (void) |
Friends | |
base::type::ostream_t & | operator<< (base::type::ostream_t &os, const RegistryWithPred &sr) |
base::type::ostream_t & | operator<< (base::type::ostream_t &os, const RegistryWithPred &sr) |
base::type::ostream_t & | operator<< (base::type::ostream_t &os, const RegistryWithPred &sr) |
A pointer registry mechanism to manage memory and provide search functionalities. (predicate version)
NOTE: This is thread-unsafe implementation of AbstractRegistry<T_Ptr, Container>. Any implementation of this class should be made thread-safe explicitly
typedef RegistryWithPred<T_Ptr, Pred>::const_iterator el::base::utils::RegistryWithPred< T_Ptr, Pred >::const_iterator |
typedef RegistryWithPred<T_Ptr, Pred>::const_iterator el::base::utils::RegistryWithPred< T_Ptr, Pred >::const_iterator |
typedef RegistryWithPred<T_Ptr, Pred>::const_iterator el::base::utils::RegistryWithPred< T_Ptr, Pred >::const_iterator |
typedef RegistryWithPred<T_Ptr, Pred>::iterator el::base::utils::RegistryWithPred< T_Ptr, Pred >::iterator |
typedef RegistryWithPred<T_Ptr, Pred>::iterator el::base::utils::RegistryWithPred< T_Ptr, Pred >::iterator |
typedef RegistryWithPred<T_Ptr, Pred>::iterator el::base::utils::RegistryWithPred< T_Ptr, Pred >::iterator |
|
inline |
|
inlinevirtual |
|
inline |
Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor.
|
inline |
|
inlinevirtual |
|
inline |
Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor.
|
inline |
|
inlinevirtual |
|
inline |
Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor.
|
inlineprotected |
Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer.
|
inlineprotected |
Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer.
|
inlineprotected |
Gets pointer from repository with speicifed arguments. Arguments are passed to predicate in order to validate pointer.
|
inline |
Assignment operator that unregisters all the existing registeries and deeply copies each of repo element.
|
inline |
Assignment operator that unregisters all the existing registeries and deeply copies each of repo element.
|
inline |
Assignment operator that unregisters all the existing registeries and deeply copies each of repo element.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
Unregisters all the pointers from current repository.
Implements el::base::utils::AbstractRegistry< T_Ptr, std::vector< T_Ptr * > >.
|
inlineprotectedvirtual |
Unregisters all the pointers from current repository.
Implements el::base::utils::AbstractRegistry< T_Ptr, std::vector< T_Ptr * > >.
|
inlineprotectedvirtual |
Unregisters all the pointers from current repository.
Implements el::base::utils::AbstractRegistry< T_Ptr, std::vector< T_Ptr * > >.
|
friend |
|
friend |
|
friend |