OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::LogBaseSimpleMac Class Reference

#include <logbasesimplemac.hpp>

Inheritance diagram for openvpn::LogBaseSimpleMac:
[legend]
Collaboration diagram for openvpn::LogBaseSimpleMac:
[legend]

Public Types

typedef RCPtr< LogBaseSimpleMacPtr
 
- Public Types inherited from openvpn::RC< thread_safe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 LogBaseSimpleMac ()
 
virtual void log (const std::string &str) override
 
- Public Member Functions inherited from openvpn::RC< thread_safe_refcount >
 RC () noexcept=default
 
 RC (const RC &)=delete
 
virtual ~RC ()=default
 
RCoperator= (const RC &)=delete
 
olong use_count () const noexcept
 Delegates call to RCImpl and returns the result.
 

Private Attributes

std::mutex mutex
 
Log::Context log_context
 

Additional Inherited Members

- Static Public Member Functions inherited from openvpn::RC< thread_safe_refcount >
static constexpr bool is_thread_safe ()
 Delegates call to RCImpl and returns the result.
 

Detailed Description

Definition at line 24 of file logbasesimplemac.hpp.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ LogBaseSimpleMac()

openvpn::LogBaseSimpleMac::LogBaseSimpleMac ( )
inline

Definition at line 29 of file logbasesimplemac.hpp.

Member Function Documentation

◆ log()

virtual void openvpn::LogBaseSimpleMac::log ( const std::string &  str)
inlineoverridevirtual

Implements openvpn::LogBase.

Definition at line 37 of file logbasesimplemac.hpp.

Member Data Documentation

◆ log_context

Log::Context openvpn::LogBaseSimpleMac::log_context
private

Definition at line 48 of file logbasesimplemac.hpp.

◆ mutex

std::mutex openvpn::LogBaseSimpleMac::mutex
private

Definition at line 47 of file logbasesimplemac.hpp.


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