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

#include <proxy.hpp>

Inheritance diagram for openvpn::ProxySettings::ProxyAction:
[legend]
Collaboration diagram for openvpn::ProxySettings::ProxyAction:
[legend]

Public Types

typedef RCPtr< ProxyActionPtr
 
- Public Types inherited from openvpn::Action
typedef RCPtr< ActionPtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 ProxyAction (ProxySettings::Ptr parent_arg, bool del_arg)
 
virtual void execute (std::ostream &os) override
 
virtual std::string to_string () const override
 
- Public Member Functions inherited from openvpn::Action
virtual Json::Value to_json () const
 
virtual ~Action ()=default
 
- Public Member Functions inherited from openvpn::RC< thread_unsafe_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

const ProxySettings::Ptr parent
 
bool del
 

Additional Inherited Members

- Static Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount >
static constexpr bool is_thread_safe ()
 Delegates call to RCImpl and returns the result.
 
- Public Attributes inherited from openvpn::Action
std::string mark
 

Detailed Description

Definition at line 25 of file proxy.hpp.

Member Typedef Documentation

◆ Ptr

Constructor & Destructor Documentation

◆ ProxyAction()

openvpn::ProxySettings::ProxyAction::ProxyAction ( ProxySettings::Ptr  parent_arg,
bool  del_arg 
)
inline

Definition at line 30 of file proxy.hpp.

Member Function Documentation

◆ execute()

virtual void openvpn::ProxySettings::ProxyAction::execute ( std::ostream &  os)
inlineoverridevirtual

Implements openvpn::Action.

Definition at line 35 of file proxy.hpp.

◆ to_string()

virtual std::string openvpn::ProxySettings::ProxyAction::to_string ( ) const
inlineoverridevirtual

Implements openvpn::Action.

Definition at line 42 of file proxy.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ del

bool openvpn::ProxySettings::ProxyAction::del
private

Definition at line 52 of file proxy.hpp.

◆ parent

const ProxySettings::Ptr openvpn::ProxySettings::ProxyAction::parent
private

Definition at line 51 of file proxy.hpp.


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