Logo ROOT  
Reference Guide
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 "TRandom.h"
#include "TString.h"
#include "TApplication.h"
#include "TTimer.h"
#include "TObjArray.h"
#include "TROOT.h"
#include "TEnv.h"
#include <thread>
#include <chrono>
Include dependency graph for RWebWindowsManager.cxx:

Variables

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

Detailed Description

Author
Sergey Linev s.lin.nosp@m.ev@g.nosp@m.si.de
Date
2017-10-16
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition in file RWebWindowsManager.cxx.

Variable Documentation

◆ 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 68 of file RWebWindowsManager.cxx.