CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
carta::WebBrowser Class Reference

#include <WebBrowser.h>

Collaboration diagram for carta::WebBrowser:
[legend]

Public Member Functions

 WebBrowser (const std::string &, const std::string &)
 
 ~WebBrowser ()=default
 
bool Status () const
 
std::string Error () const
 

Private Member Functions

void ParseCmd ()
 
void OpenSystemBrowser ()
 
void OpenBrowser ()
 

Private Attributes

bool _status = true
 
bool _path_exists = false
 
std::string _cmd
 
std::vector< std::string > _args
 
std::string _url
 
std::string _error
 

Constructor & Destructor Documentation

◆ WebBrowser()

carta::WebBrowser::WebBrowser ( const std::string &  url,
const std::string &  browser_cmd 
)
Here is the call graph for this function:

◆ ~WebBrowser()

carta::WebBrowser::~WebBrowser ( )
default

Member Function Documentation

◆ Error()

std::string carta::WebBrowser::Error ( ) const
inline

◆ OpenBrowser()

void carta::WebBrowser::OpenBrowser ( )
private
Here is the caller graph for this function:

◆ OpenSystemBrowser()

void carta::WebBrowser::OpenSystemBrowser ( )
private
Here is the caller graph for this function:

◆ ParseCmd()

void carta::WebBrowser::ParseCmd ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Status()

bool carta::WebBrowser::Status ( ) const
inline

Member Data Documentation

◆ _args

std::vector<std::string> carta::WebBrowser::_args
private

◆ _cmd

std::string carta::WebBrowser::_cmd
private

◆ _error

std::string carta::WebBrowser::_error
private

◆ _path_exists

bool carta::WebBrowser::_path_exists = false
private

◆ _status

bool carta::WebBrowser::_status = true
private

◆ _url

std::string carta::WebBrowser::_url
private

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