Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RWebWindowsManager.cxx File Reference
#include <ROOT/RWebWindowsManager.hxx>
#include <ROOT/RLogger.hxx>
#include <ROOT/RWebDisplayArgs.hxx>
#include <ROOT/RWebDisplayHandle.hxx>
#include "RWebWindowWSHandler.hxx"
#include "THttpServer.h"
#include "TSystem.h"
#include "TString.h"
#include "TApplication.h"
#include "TTimer.h"
#include "TRandom3.h"
#include "TError.h"
#include "TROOT.h"
#include "TEnv.h"
#include "TExec.h"
#include "TSocket.h"
#include "TThread.h"
#include "TObjArray.h"
#include <thread>
#include <chrono>
#include <iostream>
Include dependency graph for RWebWindowsManager.cxx:

Variables

static bool gWebWinLoopbackMode = true
 
static std::thread::id gWebWinMainThrd = std::this_thread::get_id()
 This thread id used to identify main application thread, where ROOT event processing runs To inject code in that thread, one should use TTimer (like THttpServer does) In other threads special run methods have to be invoked like RWebWindow::Run()
 
static bool gWebWinMainThrdSet = true
 
static bool gWebWinUseSessionKey = true
 

Variable Documentation

◆ gWebWinLoopbackMode

bool gWebWinLoopbackMode = true
static

Definition at line 95 of file RWebWindowsManager.cxx.

◆ gWebWinMainThrd

std::thread::id gWebWinMainThrd = std::this_thread::get_id()
static

This thread id used to identify main application thread, where ROOT event processing runs To inject code in that thread, one should use TTimer (like THttpServer does) In other threads special run methods have to be invoked like RWebWindow::Run()

TODO: probably detection of main thread should be delivered by central ROOT instances like gApplication or gROOT Main thread can only make sense if special processing runs there and one can inject own functionality there

Definition at line 93 of file RWebWindowsManager.cxx.

◆ gWebWinMainThrdSet

bool gWebWinMainThrdSet = true
static

Definition at line 94 of file RWebWindowsManager.cxx.

◆ gWebWinUseSessionKey

bool gWebWinUseSessionKey = true
static

Definition at line 96 of file RWebWindowsManager.cxx.