Logo ROOT  
Reference Guide
ROOT::Experimental::RWebDisplayHandle::BrowserCreator Class Reference

Definition at line 42 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. More...
 
virtual ~BrowserCreator ()=default
 
std::unique_ptr< RWebDisplayHandleDisplay (const RWebDisplayArgs &args) override
 Display given URL in web browser. More...
 
- 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. More...
 

Protected Attributes

std::string fBatchExec
 batch execute line More...
 
std::string fExec
 standard execute line More...
 
std::string fProg
 browser executable More...
 

#include <ROOT/RWebDisplayHandle.hxx>

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

Constructor & Destructor Documentation

◆ BrowserCreator()

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

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

Definition at line 138 of file RWebDisplayHandle.cxx.

◆ ~BrowserCreator()

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

Member Function Documentation

◆ Display()

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

Display given URL in web browser.

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

Definition at line 203 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 50 of file RWebDisplayHandle.hxx.

◆ TestProg()

void ROOT::Experimental::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 168 of file RWebDisplayHandle.cxx.

Member Data Documentation

◆ fBatchExec

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

batch execute line

Definition at line 46 of file RWebDisplayHandle.hxx.

◆ fExec

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

standard execute line

Definition at line 45 of file RWebDisplayHandle.hxx.

◆ fProg

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

browser executable

Definition at line 44 of file RWebDisplayHandle.hxx.


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