CbmRoot
Loading...
Searching...
No Matches
cbm::explore::Server Class Reference

#include <Server.h>

Inheritance diagram for cbm::explore::Server:
[legend]
Collaboration diagram for cbm::explore::Server:
[legend]

Classes

struct  Settings
 

Public Member Functions

 Server (Settings settings)
 
virtual ~Server ()
 
int Run ()
 
void RequestNextTS ()
 

Private Member Functions

void NextTS ()
 
 ClassDef (Server, 1)
 

Private Attributes

THttpServer * fServer = nullptr
 
Settings fS
 
bool fRequestNextTS = false
 

Static Private Attributes

static constexpr int SleepPerTick_ms = 50
 

Detailed Description

Definition at line 22 of file Server.h.

Constructor & Destructor Documentation

◆ Server()

◆ ~Server()

Server::~Server ( )
virtual

Definition at line 67 of file Server.cxx.

Member Function Documentation

◆ ClassDef()

cbm::explore::Server::ClassDef ( Server ,
1  )
private

◆ NextTS()

◆ RequestNextTS()

void cbm::explore::Server::RequestNextTS ( )
inline

Definition at line 44 of file Server.h.

References fRequestNextTS.

◆ Run()

int Server::Run ( )

Definition at line 69 of file Server.cxx.

References fRequestNextTS, fServer, L_, NextTS(), and SleepPerTick_ms.

Member Data Documentation

◆ fRequestNextTS

bool cbm::explore::Server::fRequestNextTS = false
private

Definition at line 54 of file Server.h.

Referenced by RequestNextTS(), and Run().

◆ fS

Settings cbm::explore::Server::fS
private

Definition at line 51 of file Server.h.

Referenced by NextTS(), and Server().

◆ fServer

THttpServer* cbm::explore::Server::fServer = nullptr
private

Definition at line 50 of file Server.h.

Referenced by Run(), and Server().

◆ SleepPerTick_ms

int cbm::explore::Server::SleepPerTick_ms = 50
staticconstexprprivate

Definition at line 47 of file Server.h.

Referenced by Run().


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