Logo ROOT  
Reference Guide
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 std::unique_ptr< RWebDisplayHandleDisplay (const RWebDisplayArgs &args)=0
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:

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 ( )

Member Function Documentation

◆ Display()

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

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 &  ,

◆ ProcessGeometry()

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

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 

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

batch execute line

Definition at line 45 of file RWebDisplayHandle.hxx.

◆ fExec

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

standard execute line

Definition at line 43 of file RWebDisplayHandle.hxx.

◆ fHeadlessExec

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

headless execute line

Definition at line 44 of file RWebDisplayHandle.hxx.

◆ fProg

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

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: