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

#include <stop.hpp>

Classes

class  Scope
 

Public Member Functions

 Stop ()
 
void stop ()
 
 Stop (const Stop &)=delete
 
Stopoperator= (const Stop &)=delete
 

Static Public Member Functions

static bool is_triggered (const Stop *stop)
 

Private Member Functions

void prune ()
 

Private Attributes

std::recursive_mutex mutex
 
std::vector< Scope * > scopes
 
volatile bool stop_called = false
 

Detailed Description

Definition at line 26 of file stop.hpp.

Constructor & Destructor Documentation

◆ Stop() [1/2]

openvpn::Stop::Stop ( )
inline

Definition at line 81 of file stop.hpp.

◆ Stop() [2/2]

openvpn::Stop::Stop ( const Stop )
delete

Member Function Documentation

◆ is_triggered()

static bool openvpn::Stop::is_triggered ( const Stop stop)
inlinestatic

Definition at line 101 of file stop.hpp.

◆ operator=()

Stop & openvpn::Stop::operator= ( const Stop )
delete

◆ prune()

void openvpn::Stop::prune ( )
inlineprivate

Definition at line 110 of file stop.hpp.

Here is the caller graph for this function:

◆ stop()

void openvpn::Stop::stop ( )
inline

Definition at line 85 of file stop.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ mutex

std::recursive_mutex openvpn::Stop::mutex
private

Definition at line 116 of file stop.hpp.

◆ scopes

std::vector<Scope *> openvpn::Stop::scopes
private

Definition at line 117 of file stop.hpp.

◆ stop_called

volatile bool openvpn::Stop::stop_called = false
private

Definition at line 118 of file stop.hpp.


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