OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TunWrapTemplate< SCOPED_OBJ > Class Template Reference

#include <tunwrap.hpp>

Inheritance diagram for openvpn::TunWrapTemplate< SCOPED_OBJ >:
[legend]
Collaboration diagram for openvpn::TunWrapTemplate< SCOPED_OBJ >:
[legend]

Public Types

typedef RCPtr< TunWrapTemplatePtr
 
- Public Types inherited from openvpn::RC< thread_unsafe_refcount >
typedef RCPtr< RCPtr
 

Public Member Functions

 TunWrapTemplate (const TunWrapObjRetain retain_obj)
 
virtual ~TunWrapTemplate ()
 
bool obj_defined () const
 
SCOPED_OBJ::base_type obj () const
 
bool destructor_defined () const
 
void add_destructor (const DestructorBase::Ptr &destruct)
 
void close_destructor ()
 
void close ()
 
void save_replace_sock (const typename SCOPED_OBJ::base_type obj)
 
- 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 TunWrapObjRetain retain_obj_
 
DestructorBase::Ptr destruct_
 
SCOPED_OBJ obj_
 

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.
 

Detailed Description

template<typename SCOPED_OBJ>
class openvpn::TunWrapTemplate< SCOPED_OBJ >

Definition at line 43 of file tunwrap.hpp.

Member Typedef Documentation

◆ Ptr

template<typename SCOPED_OBJ >
typedef RCPtr<TunWrapTemplate> openvpn::TunWrapTemplate< SCOPED_OBJ >::Ptr

Definition at line 46 of file tunwrap.hpp.

Constructor & Destructor Documentation

◆ TunWrapTemplate()

template<typename SCOPED_OBJ >
openvpn::TunWrapTemplate< SCOPED_OBJ >::TunWrapTemplate ( const TunWrapObjRetain  retain_obj)
inline

Definition at line 48 of file tunwrap.hpp.

◆ ~TunWrapTemplate()

template<typename SCOPED_OBJ >
virtual openvpn::TunWrapTemplate< SCOPED_OBJ >::~TunWrapTemplate ( )
inlinevirtual

Definition at line 53 of file tunwrap.hpp.

Member Function Documentation

◆ add_destructor()

template<typename SCOPED_OBJ >
void openvpn::TunWrapTemplate< SCOPED_OBJ >::add_destructor ( const DestructorBase::Ptr destruct)
inline

Definition at line 76 of file tunwrap.hpp.

◆ close()

template<typename SCOPED_OBJ >
void openvpn::TunWrapTemplate< SCOPED_OBJ >::close ( )
inline

Definition at line 100 of file tunwrap.hpp.

Here is the caller graph for this function:

◆ close_destructor()

template<typename SCOPED_OBJ >
void openvpn::TunWrapTemplate< SCOPED_OBJ >::close_destructor ( )
inline

Definition at line 82 of file tunwrap.hpp.

Here is the caller graph for this function:

◆ destructor_defined()

template<typename SCOPED_OBJ >
bool openvpn::TunWrapTemplate< SCOPED_OBJ >::destructor_defined ( ) const
inline

Definition at line 69 of file tunwrap.hpp.

◆ obj()

template<typename SCOPED_OBJ >
SCOPED_OBJ::base_type openvpn::TunWrapTemplate< SCOPED_OBJ >::obj ( ) const
inline

Definition at line 64 of file tunwrap.hpp.

Here is the caller graph for this function:

◆ obj_defined()

template<typename SCOPED_OBJ >
bool openvpn::TunWrapTemplate< SCOPED_OBJ >::obj_defined ( ) const
inline

Definition at line 58 of file tunwrap.hpp.

Here is the caller graph for this function:

◆ save_replace_sock()

template<typename SCOPED_OBJ >
void openvpn::TunWrapTemplate< SCOPED_OBJ >::save_replace_sock ( const typename SCOPED_OBJ::base_type  obj)
inline

Definition at line 113 of file tunwrap.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ destruct_

template<typename SCOPED_OBJ >
DestructorBase::Ptr openvpn::TunWrapTemplate< SCOPED_OBJ >::destruct_
private

Definition at line 123 of file tunwrap.hpp.

◆ obj_

template<typename SCOPED_OBJ >
SCOPED_OBJ openvpn::TunWrapTemplate< SCOPED_OBJ >::obj_
private

Definition at line 124 of file tunwrap.hpp.

◆ retain_obj_

template<typename SCOPED_OBJ >
const TunWrapObjRetain openvpn::TunWrapTemplate< SCOPED_OBJ >::retain_obj_
private

Definition at line 122 of file tunwrap.hpp.


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