#include "hades.h" #include "honlineclientservercom.h" #include "honlinemonhist.h" #include "TApplication.h" #include "TString.h" #include "TList.h" #include "helpers.h" #include "createHades.C" #include "Mdc.C" #include "Rich.C" #include "Tof.C" #include "Shower.C" #include "Wall.C" #include "Rpc.C" #include "Start.C" #include #include #include #include #include #include using namespace std; map < TString , HOnlineMonHistAddon* > currentMap; void usage() { cout << "usage: OnlineServer servername serverhostname connectorport parameterfile"< setDebug(kFALSE); clientservercom ->setEvtCounterInterval(evtCtInterval); if (!clientservercom->init()) { cout<<"Error: Hades Monitoring Server could not be initialised."< fillfunctions; fillfunctions.push_back(&fillHistMdc); fillfunctions.push_back(&fillHistRich); fillfunctions.push_back(&fillHistShower); fillfunctions.push_back(&fillHistRpc); fillfunctions.push_back(&fillHistTof); fillfunctions.push_back(&fillHistWall); fillfunctions.push_back(&fillHistStart); clientservercom->eventLoop(&fillfunctions); // start eventLoop thread clientservercom->processClients(histpool); // start communication loop cout<<"DELETING HADES!"<