Electroneum
el::base::threading::ThreadSafe Class Reference

Base of thread safe class, this class is inheritable-only. More...

#include <easylogging++.h>

Inheritance diagram for el::base::threading::ThreadSafe:

Public Member Functions

virtual void acquireLock (void) ELPP_FINAL
 
virtual void releaseLock (void) ELPP_FINAL
 
virtual base::threading::Mutexlock (void) ELPP_FINAL
 

Protected Member Functions

 ThreadSafe (void)
 
virtual ~ThreadSafe (void)
 

Detailed Description

Base of thread safe class, this class is inheritable-only.

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

Constructor & Destructor Documentation

◆ ThreadSafe()

el::base::threading::ThreadSafe::ThreadSafe ( void  )
inlineprotected

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

1024 {}

◆ ~ThreadSafe()

virtual el::base::threading::ThreadSafe::~ThreadSafe ( void  )
inlineprotectedvirtual

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

1025 {}

Member Function Documentation

◆ acquireLock()

virtual void el::base::threading::ThreadSafe::acquireLock ( void  )
inlinevirtual

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

1020 { m_mutex.lock(); }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ lock()

virtual base::threading::Mutex& el::base::threading::ThreadSafe::lock ( void  )
inlinevirtual

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

1022 { return m_mutex; }
Here is the caller graph for this function:

◆ releaseLock()

virtual void el::base::threading::ThreadSafe::releaseLock ( void  )
inlinevirtual

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

1021 { m_mutex.unlock(); }
Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following file: