GRSISort "v4.0.0.5"
An extension of the ROOT analysis Framework
Loading...
Searching...
No Matches
TGRSIServer Class Reference

Detailed Description

A class to allow 'things' to communicate with GRSISort in a somewhat nice convenient and friendly way.

Definition at line 31 of file TGRSIServer.h.

Public Member Functions

 TGRSIServer (const TGRSIServer &)=default
 
 TGRSIServer (TGRSIServer &&) noexcept=default
 
 ~TGRSIServer ()
 
TGRSIServeroperator= (const TGRSIServer &)=default
 
TGRSIServeroperator= (TGRSIServer &&) noexcept=default
 
void StopServer ()
 

Static Public Member Functions

static TGRSIServerinstance (int port=9099)
 

Private Member Functions

 TGRSIServer (int port)
 
void AcceptConnectionThread ()
 
void MonitorConnectionsThread ()
 

Private Attributes

TMonitor * fMonitor
 
bool fRunning
 

Static Private Attributes

static TGRSIServerfGRSIServer
 
+ Inheritance diagram for TGRSIServer:
+ Collaboration diagram for TGRSIServer:

Constructor & Destructor Documentation

◆ TGRSIServer() [1/3]

TGRSIServer::TGRSIServer ( const TGRSIServer & )
default

◆ TGRSIServer() [2/3]

TGRSIServer::TGRSIServer ( TGRSIServer && )
defaultnoexcept

◆ ~TGRSIServer()

TGRSIServer::~TGRSIServer ( )

◆ TGRSIServer() [3/3]

TGRSIServer::TGRSIServer ( int port)
explicitprivate

Member Function Documentation

◆ AcceptConnectionThread()

void TGRSIServer::AcceptConnectionThread ( )
private

◆ instance()

static TGRSIServer * TGRSIServer::instance ( int port = 9099)
static

◆ MonitorConnectionsThread()

void TGRSIServer::MonitorConnectionsThread ( )
private

◆ operator=() [1/2]

TGRSIServer & TGRSIServer::operator= ( const TGRSIServer & )
default

◆ operator=() [2/2]

TGRSIServer & TGRSIServer::operator= ( TGRSIServer && )
defaultnoexcept

◆ StopServer()

void TGRSIServer::StopServer ( )
inline

Definition at line 40 of file TGRSIServer.h.

References fRunning.

Member Data Documentation

◆ fGRSIServer

TGRSIServer* TGRSIServer::fGRSIServer
staticprivate

Definition at line 46 of file TGRSIServer.h.

◆ fMonitor

TMonitor* TGRSIServer::fMonitor
private

Definition at line 50 of file TGRSIServer.h.

◆ fRunning

bool TGRSIServer::fRunning
private

Definition at line 48 of file TGRSIServer.h.

Referenced by StopServer().