OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::Command Struct Reference

#include <process.hpp>

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

Public Types

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

Public Member Functions

 Command ()
 
 Command (Argv argv_arg)
 
Commandcopy () const
 
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.
 

Public Attributes

Argv argv
 
- Public Attributes inherited from openvpn::Action
std::string mark
 

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

Definition at line 139 of file process.hpp.

Member Typedef Documentation

◆ Ptr

Definition at line 141 of file process.hpp.

Constructor & Destructor Documentation

◆ Command() [1/2]

openvpn::Command::Command ( )
inline

Definition at line 143 of file process.hpp.

Here is the caller graph for this function:

◆ Command() [2/2]

openvpn::Command::Command ( Argv  argv_arg)
inline

Definition at line 147 of file process.hpp.

Member Function Documentation

◆ copy()

Command * openvpn::Command::copy ( ) const
inline

Definition at line 152 of file process.hpp.

◆ execute()

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

Implements openvpn::Action.

Definition at line 160 of file process.hpp.

◆ to_string()

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

Implements openvpn::Action.

Definition at line 185 of file process.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ argv

Argv openvpn::Command::argv

Definition at line 190 of file process.hpp.


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