|
OpenVPN 3 Core Library
|
#include <cmd.hpp>
Public Types | |
| typedef RCPtr< WinCmd > | Ptr |
Public Types inherited from openvpn::Action | |
| using | Ptr = RCPtr< Action > |
Public Types inherited from openvpn::RC< thread_unsafe_refcount > | |
| using | Ptr = RCPtr< RC > |
Public Member Functions | |
| WinCmd (const std::string &command) | |
| void | execute (std::ostream &os) override |
| std::string | to_string () const override |
Public Member Functions inherited from openvpn::Action | |
| virtual Json::Value | to_json () const |
| virtual | ~Action ()=default |
Public Member Functions inherited from openvpn::RC< thread_unsafe_refcount > | |
| RC () noexcept=default | |
| RC (const RC &)=delete | |
| virtual | ~RC ()=default |
| RC & | operator= (const RC &)=delete |
| olong | use_count () const noexcept |
| Delegates call to RCImpl and returns the result. | |
Private Attributes | |
| std::string | cmd |
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 |
| typedef RCPtr<WinCmd> openvpn::WinCmd::Ptr |
|
inline |
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 38 of file cmd.hpp.
|
inlineoverridevirtual |
Implements openvpn::Action.
Definition at line 45 of file cmd.hpp.