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

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

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

Member Typedef Documentation

◆ Ptr

Definition at line 182 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 184 of file clievent.hpp.

Member Function Documentation

◆ connected_cast()

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

Definition at line 214 of file clievent.hpp.

◆ id()

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

Definition at line 189 of file clievent.hpp.

◆ is_error()

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

Definition at line 199 of file clievent.hpp.

◆ is_fatal()

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

Definition at line 204 of file clievent.hpp.

◆ name()

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

Definition at line 194 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 223 of file clievent.hpp.


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