Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::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.
 
virtual ~BrowserCreator ()=default
 
std::unique_ptr< RWebDisplayHandleDisplay (const RWebDisplayArgs &args) override
 Display given URL in web browser.
 
- Public Member Functions inherited from ROOT::Experimental::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::Experimental::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 146 of file RWebDisplayHandle.cxx.

◆ ~BrowserCreator()

virtual ROOT::Experimental::RWebDisplayHandle::BrowserCreator::~BrowserCreator ( )
virtualdefault

Member Function Documentation

◆ Display()

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

Display given URL in web browser.

Implements ROOT::Experimental::RWebDisplayHandle::Creator.

Definition at line 211 of file RWebDisplayHandle.cxx.

◆ MakeProfile()

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

◆ ProcessGeometry()

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

Reimplemented in ROOT::Experimental::RWebDisplayHandle::ChromeCreator.

Definition at line 49 of file RWebDisplayHandle.hxx.

◆ 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 176 of file RWebDisplayHandle.cxx.

Member Data Documentation

◆ fBatchExec

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

batch execute line

Definition at line 45 of file RWebDisplayHandle.hxx.

◆ fExec

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

standard execute line

Definition at line 43 of file RWebDisplayHandle.hxx.

◆ fHeadlessExec

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

headless execute line

Definition at line 44 of file RWebDisplayHandle.hxx.

◆ fProg

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

browser executable

Definition at line 42 of file RWebDisplayHandle.hxx.

Libraries for ROOT::Experimental::RWebDisplayHandle::BrowserCreator:

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