Electroneum
Loading...
Searching...
No Matches
el::Callback< T > Class Template Referenceabstract

#include <easylogging++.h>

Inheritance diagram for el::Callback< T >:
Collaboration diagram for el::Callback< T >:

Public Member Functions

 Callback (void)
bool enabled (void) const
void setEnabled (bool enabled)

Protected Member Functions

virtual void handle (const T *handlePtr)=0
Protected Member Functions inherited from el::base::threading::ThreadSafe
 ThreadSafe (void)
virtual ~ThreadSafe (void)
virtual void acquireLock (void) ELPP_FINAL
virtual void releaseLock (void) ELPP_FINAL
virtual base::threading::Mutexlock (void) ELPP_FINAL

Detailed Description

template<typename T>
class el::Callback< T >

Definition at line 2166 of file easylogging++.h.

Constructor & Destructor Documentation

◆ Callback()

template<typename T>
el::Callback< T >::Callback ( void )
inline

Definition at line 2168 of file easylogging++.h.

2168: m_enabled(true) {}

Member Function Documentation

◆ enabled()

template<typename T>
bool el::Callback< T >::enabled ( void ) const
inline

Definition at line 2169 of file easylogging++.h.

2169 {
2170 return m_enabled;
2171 }
Here is the caller graph for this function:

◆ handle()

template<typename T>
virtual void el::Callback< T >::handle ( const T * handlePtr)
protectedpure virtual

◆ setEnabled()

template<typename T>
void el::Callback< T >::setEnabled ( bool enabled)
inline

Definition at line 2172 of file easylogging++.h.

2172 {
2174 m_enabled = enabled;
2175 }
bool enabled(void) const
virtual base::threading::Mutex & lock(void) ELPP_FINAL
Here is the call graph for this function:

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/external/easylogging++/easylogging++.h