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

#include <sleep.hpp>

Inheritance diagram for openvpn::WinSleep:
[legend]
Collaboration diagram for openvpn::WinSleep:
[legend]

Public Types

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

Public Member Functions

 WinSleep (DWORD dwMilliseconds_arg)
 
virtual void execute (std::ostream &os) override
 
virtual std::string to_string () const override
 
- Public Member Functions inherited from openvpn::Action
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

DWORD dwMilliseconds
 

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 24 of file sleep.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 27 of file sleep.hpp.

Constructor & Destructor Documentation

◆ WinSleep()

openvpn::WinSleep::WinSleep ( DWORD  dwMilliseconds_arg)
inline

Definition at line 29 of file sleep.hpp.

Member Function Documentation

◆ execute()

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

Implements openvpn::Action.

Definition at line 34 of file sleep.hpp.

◆ to_string()

virtual std::string openvpn::WinSleep::to_string ( ) const
inlineoverridevirtual

Implements openvpn::Action.

Definition at line 40 of file sleep.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ dwMilliseconds

DWORD openvpn::WinSleep::dwMilliseconds
private

Definition at line 46 of file sleep.hpp.


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