|
RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
|
#include <easylogging++.h>
Public Member Functions | |
| RegisteredLoggers (const LogBuilderPtr &defaultLogBuilder) | |
| void | setDefaultConfigurations (const Configurations &configurations) |
| Configurations * | defaultConfigurations (void) |
| Logger * | get (const std::string &id, bool forceCreation=true) |
| template<typename T > | |
| bool | installLoggerRegistrationCallback (const std::string &id) |
| template<typename T > | |
| void | uninstallLoggerRegistrationCallback (const std::string &id) |
| template<typename T > | |
| T * | loggerRegistrationCallback (const std::string &id) |
| bool | remove (const std::string &id) |
| bool | has (const std::string &id) |
| void | unregister (Logger *&logger) |
| base::LogStreamsReferenceMap * | logStreamsReference (void) |
| void | flushAll (void) |
| void | setDefaultLogBuilder (LogBuilderPtr &logBuilderPtr) |
Public Member Functions inherited from el::base::utils::Registry< Logger, std::string > | |
| Registry (const Registry &sr) | |
| Copy constructor that is useful for base classes. Try to avoid this constructor, use move constructor. | |
| Registry & | operator= (const Registry &sr) |
| Assignment operator that unregisters all the existing registeries and deeply copies each of repo element. More... | |
Public Member Functions inherited from el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > | |
| AbstractRegistry (void) | |
| Default constructor. | |
| AbstractRegistry (AbstractRegistry &&sr) | |
| Move constructor that is useful for base classes. | |
| bool | operator== (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &other) |
| bool | operator!= (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &other) |
| AbstractRegistry & | operator= (AbstractRegistry &&sr) |
| Assignment move operator. | |
| virtual iterator | begin (void) ELPP_FINAL |
| virtual iterator | end (void) ELPP_FINAL |
| virtual const_iterator | cbegin (void) const ELPP_FINAL |
| virtual const_iterator | cend (void) const ELPP_FINAL |
| virtual bool | empty (void) const ELPP_FINAL |
| virtual std::size_t | size (void) const ELPP_FINAL |
|
virtual std::map< std::string, Logger * > & | list (void) ELPP_FINAL |
| Returns underlying container by reference. | |
|
virtual const std::map < std::string, Logger * > & | list (void) const ELPP_FINAL |
| Returns underlying container by constant reference. | |
Public Member Functions inherited from el::base::threading::ThreadSafe | |
| virtual void | acquireLock (void) ELPP_FINAL |
| virtual void | releaseLock (void) ELPP_FINAL |
| virtual base::threading::Mutex & | lock (void) ELPP_FINAL |
Friends | |
| class | el::base::Storage |
Additional Inherited Members | |
Public Types inherited from el::base::utils::Registry< Logger, std::string > | |
|
typedef Registry< Logger, std::string >::iterator | iterator |
|
typedef Registry< Logger, std::string >::const_iterator | const_iterator |
Public Types inherited from el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > | |
|
typedef std::map< std::string, Logger * >::iterator | iterator |
|
typedef std::map< std::string, Logger * >::const_iterator | const_iterator |
Protected Member Functions inherited from el::base::utils::Registry< Logger, std::string > | |
| virtual void | unregisterAll (void) ELPP_FINAL |
| Unregisters all the pointers from current repository. | |
| virtual void | registerNew (const std::string &uniqKey, Logger *ptr) ELPP_FINAL |
| Registers new registry to repository. | |
| void | unregister (const std::string &uniqKey) |
| Unregisters single entry mapped to specified unique key. | |
| Logger * | get (const std::string &uniqKey) |
| Gets pointer from repository. If none found, nullptr is returned. | |
Protected Member Functions inherited from el::base::utils::AbstractRegistry< Logger, std::map< std::string, Logger * > > | |
| virtual void | deepCopy (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &)=0 |
| void | reinitDeepCopy (const AbstractRegistry< Logger, std::map< std::string, Logger * > > &sr) |
Loggers repository.
1.8.6