Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::RWebDisplayHandle::BrowserCreator Class Reference

Definition at line 40 of file RWebDisplayHandle.hxx.

Public Member Functions

 BrowserCreator (bool custom=true, const std::string &exec="")
 Class to handle starting of web-browsers like Chrome or Firefox.
 
 ~BrowserCreator () override=default
 
std::unique_ptr< RWebDisplayHandleDisplay (const RWebDisplayArgs &args) override
 Display given URL in web browser.
 
- Public Member Functions inherited from ROOT::RWebDisplayHandle::Creator
virtual ~Creator ()=default
 
virtual bool IsActive () const
 

Protected Member Functions

virtual std::string MakeProfile (std::string &, bool)
 
virtual void ProcessGeometry (std::string &, const RWebDisplayArgs &)
 
void TestProg (const std::string &nexttry, bool check_std_paths=false)
 Check if browser executable exists and can be used.
 

Protected Attributes

std::string fBatchExec
 batch execute line
 
std::string fExec
 standard execute line
 
std::string fHeadlessExec
 headless execute line
 
std::string fProg
 browser executable
 

#include <ROOT/RWebDisplayHandle.hxx>

Inheritance diagram for ROOT::RWebDisplayHandle::BrowserCreator:
[legend]

Constructor & Destructor Documentation

◆ BrowserCreator()

RWebDisplayHandle::BrowserCreator::BrowserCreator ( bool  custom = true,
const std::string &  exec = "" 
)

Class to handle starting of web-browsers like Chrome or Firefox.

Definition at line 153 of file RWebDisplayHandle.cxx.

◆ ~BrowserCreator()

ROOT::RWebDisplayHandle::BrowserCreator::~BrowserCreator ( )
overridedefault

Member Function Documentation

◆ Display()

std::unique_ptr< RWebDisplayHandle > RWebDisplayHandle::BrowserCreator::Display ( const RWebDisplayArgs args)
overridevirtual

Display given URL in web browser.

Implements ROOT::RWebDisplayHandle::Creator.

Definition at line 218 of file RWebDisplayHandle.cxx.

◆ MakeProfile()

virtual std::string ROOT::RWebDisplayHandle::BrowserCreator::MakeProfile ( std::string &  ,
bool   
)
inlineprotectedvirtual

◆ ProcessGeometry()

virtual void ROOT::RWebDisplayHandle::BrowserCreator::ProcessGeometry ( std::string &  ,
const RWebDisplayArgs  
)
inlineprotectedvirtual

◆ TestProg()

void RWebDisplayHandle::BrowserCreator::TestProg ( const std::string &  nexttry,
bool  check_std_paths = false 
)
protected

Check if browser executable exists and can be used.

Definition at line 183 of file RWebDisplayHandle.cxx.

Member Data Documentation

◆ fBatchExec

std::string ROOT::RWebDisplayHandle::BrowserCreator::fBatchExec
protected

batch execute line

Definition at line 45 of file RWebDisplayHandle.hxx.

◆ fExec

std::string ROOT::RWebDisplayHandle::BrowserCreator::fExec
protected

standard execute line

Definition at line 43 of file RWebDisplayHandle.hxx.

◆ fHeadlessExec

std::string ROOT::RWebDisplayHandle::BrowserCreator::fHeadlessExec
protected

headless execute line

Definition at line 44 of file RWebDisplayHandle.hxx.

◆ fProg

std::string ROOT::RWebDisplayHandle::BrowserCreator::fProg
protected

browser executable

Definition at line 42 of file RWebDisplayHandle.hxx.

Libraries for ROOT::RWebDisplayHandle::BrowserCreator:

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