Specialized handle to hold information about running browser process Used to correctly cleanup all processes and temporary directories.
Definition at line 105 of file RWebDisplayHandle.cxx.
|
Static Public Member Functions inherited from ROOT::RWebDisplayHandle |
static bool | CanProduceImages (const std::string &browser="") |
| Returns true if image production for specified browser kind is supported If browser not specified - use currently configured browser or try to test existing web browsers.
|
|
static std::unique_ptr< RWebDisplayHandle > | Display (const RWebDisplayArgs &args) |
| Create web display.
|
|
static bool | DisplayUrl (const std::string &url) |
| Display provided url in configured web browser.
|
|
static std::string | GetImageFormat (const std::string &fname) |
| Detect image format There is special handling of ".screenshot.pdf" and ".screenshot.png" extensions Creation of such files relies on headless browser functionality and fully supported only by Chrome browser.
|
|
static bool | NeedHttpServer (const RWebDisplayArgs &args) |
| Check if http server required for display.
|
|
static bool | ProduceImage (const std::string &fname, const std::string &json, int width=800, int height=600, const char *batch_file=nullptr) |
| Produce image file using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome or Mozilla Firefox.
|
|
static bool | ProduceImages (const std::string &fname, const std::vector< std::string > &jsons, const std::vector< int > &widths, const std::vector< int > &heights, const char *batch_file=nullptr) |
| Produce image file(s) using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome or Mozilla Firefox.
|
|
static bool | ProduceImages (const std::vector< std::string > &fnames, const std::vector< std::string > &jsons, const std::vector< int > &widths, const std::vector< int > &heights, const char *batch_file=nullptr) |
| Produce image file(s) using JSON data as source Invokes JSROOT drawing functionality in headless browser - Google Chrome or Mozilla Firefox.
|
|
static std::vector< std::string > | ProduceImagesNames (const std::string &fname, unsigned nfiles=1) |
| Produce vector of file names for specified file pattern Depending from supported file forma.
|
|
Static Protected Member Functions inherited from ROOT::RWebDisplayHandle |
static bool | CheckIfCanProduceImages (RWebDisplayArgs &args) |
| Checks if configured browser can be used for image production.
|
|
static std::unique_ptr< Creator > & | FindCreator (const std::string &name, const std::string &libname="") |
| Search for specific browser creator If not found, try to add one.
|
|
static std::map< std::string, std::unique_ptr< Creator > > & | GetMap () |
| Static holder of registered creators of web displays.
|
|