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

#include <omi.hpp>

Public Member Functions

 History (const std::string &type_arg, const size_t max_size_arg)
 
bool is_cmd (const Option &o) const
 
std::string process_cmd (const Option &o)
 
std::string notify (const std::string &msg)
 

Private Member Functions

std::string show (size_t n) const
 
std::string notify_prefix () const
 
std::string real_time_status () const
 
std::string error () const
 

Private Attributes

std::string type
 
size_t max_size
 
bool real_time = false
 
std::deque< std::string > hist
 

Detailed Description

Definition at line 112 of file omi.hpp.

Constructor & Destructor Documentation

◆ History()

openvpn::OMICore::History::History ( const std::string &  type_arg,
const size_t  max_size_arg 
)
inline

Definition at line 115 of file omi.hpp.

Member Function Documentation

◆ error()

std::string openvpn::OMICore::History::error ( ) const
inlineprivate

Definition at line 209 of file omi.hpp.

Here is the caller graph for this function:

◆ is_cmd()

bool openvpn::OMICore::History::is_cmd ( const Option o) const
inline

Definition at line 122 of file omi.hpp.

Here is the caller graph for this function:

◆ notify()

std::string openvpn::OMICore::History::notify ( const std::string &  msg)
inline

Definition at line 171 of file omi.hpp.

Here is the caller graph for this function:

◆ notify_prefix()

std::string openvpn::OMICore::History::notify_prefix ( ) const
inlineprivate

Definition at line 193 of file omi.hpp.

Here is the caller graph for this function:

◆ process_cmd()

std::string openvpn::OMICore::History::process_cmd ( const Option o)
inline

Definition at line 127 of file omi.hpp.

Here is the caller graph for this function:

◆ real_time_status()

std::string openvpn::OMICore::History::real_time_status ( ) const
inlineprivate

Definition at line 198 of file omi.hpp.

Here is the caller graph for this function:

◆ show()

std::string openvpn::OMICore::History::show ( size_t  n) const
inlineprivate

Definition at line 183 of file omi.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ hist

std::deque<std::string> openvpn::OMICore::History::hist
private

Definition at line 217 of file omi.hpp.

◆ max_size

size_t openvpn::OMICore::History::max_size
private

Definition at line 215 of file omi.hpp.

◆ real_time

bool openvpn::OMICore::History::real_time = false
private

Definition at line 216 of file omi.hpp.

◆ type

std::string openvpn::OMICore::History::type
private

Definition at line 214 of file omi.hpp.


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