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

#include <clievent.hpp>

Inheritance diagram for openvpn::ClientEvent::Base:
[legend]
Collaboration diagram for openvpn::ClientEvent::Base:
[legend]

Public Types

using Ptr = RCPtr< Base >
 
- Public Types inherited from openvpn::RC< thread_safe_refcount >
using Ptr = RCPtr< RC >
 

Public Member Functions

virtual ~Base ()=default
 
 Base (Type id)
 
Type id () const
 
const char * name () const
 
bool is_error () const
 
bool is_fatal () const
 
virtual std::string render () const
 
const Connectedconnected_cast () const
 
- 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

Type id_
 

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 178 of file clievent.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 181 of file clievent.hpp.

Constructor & Destructor Documentation

◆ ~Base()

virtual openvpn::ClientEvent::Base::~Base ( )
virtualdefault

◆ Base()

openvpn::ClientEvent::Base::Base ( Type  id)
inline

Definition at line 183 of file clievent.hpp.

Member Function Documentation

◆ connected_cast()

const Connected * openvpn::ClientEvent::Base::connected_cast ( ) const
inline

Definition at line 213 of file clievent.hpp.

◆ id()

Type openvpn::ClientEvent::Base::id ( ) const
inline

Definition at line 188 of file clievent.hpp.

◆ is_error()

bool openvpn::ClientEvent::Base::is_error ( ) const
inline

Definition at line 198 of file clievent.hpp.

◆ is_fatal()

bool openvpn::ClientEvent::Base::is_fatal ( ) const
inline

Definition at line 203 of file clievent.hpp.

◆ name()

const char * openvpn::ClientEvent::Base::name ( ) const
inline

Definition at line 193 of file clievent.hpp.

◆ render()

virtual std::string openvpn::ClientEvent::Base::render ( ) const
inlinevirtual

Member Data Documentation

◆ id_

Type openvpn::ClientEvent::Base::id_
private

Definition at line 221 of file clievent.hpp.


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