OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::RunContextBase Struct Referenceabstract

#include <runcontext.hpp>

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

Public Member Functions

virtual void cancel ()=0
 
virtual std::vector< RunContextLogEntryadd_log_observer (const unsigned int unit)=0
 
virtual void disable_log_history ()=0
 
virtual Stopasync_stop ()=0
 
- Public Member Functions inherited from openvpn::LogBase
virtual void log (const std::string &str)=0
 
- 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.
 

Additional Inherited Members

- Public Types inherited from openvpn::RC< thread_safe_refcount >
typedef RCPtr< RCPtr
 
- 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 82 of file runcontext.hpp.

Member Function Documentation

◆ add_log_observer()

virtual std::vector< RunContextLogEntry > openvpn::RunContextBase::add_log_observer ( const unsigned int  unit)
pure virtual

◆ async_stop()

virtual Stop * openvpn::RunContextBase::async_stop ( )
pure virtual

◆ cancel()

virtual void openvpn::RunContextBase::cancel ( )
pure virtual

◆ disable_log_history()

virtual void openvpn::RunContextBase::disable_log_history ( )
pure virtual

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