BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
JobInfoSvc.h
Go to the documentation of this file.
1#ifndef JobInfoSvc_H
2#define JobInfoSvc_H
3
4#include "GaudiKernel/IIncidentListener.h"
5#include "GaudiKernel/IInterface.h"
6#include "GaudiKernel/Kernel.h"
7#include "GaudiKernel/Service.h"
8
9#include "JobInfoSvc/IJobInfoSvc.h"
10
11// class JobInfoSvc: public Service, virtual public IJobInfoSvc,
12class JobInfoSvc : public extends<Service, IJobInfoSvc>, virtual public IIncidentListener {
13
14public:
15 JobInfoSvc( const std::string& name, ISvcLocator* pSvcLocator );
17 StatusCode initialize();
18 StatusCode finalize();
19 // StatusCode queryInterface( const InterfaceID& riid, void** ppvInterface );
20
21 // Incident handler
22 void handle( const Incident& );
23
24 int xmlrpc( int evtNum );
25 std::string getJobOutputFile();
26
27private:
28 long m_count;
29 std::string m_outputFileName;
30 std::string m_xmlrpcServer;
31 int m_xmlrpcPort;
32 std::string m_xmlrpcUrl;
33 std::string m_xmlrpcMethod;
34};
35
36#endif
int xmlrpc(int evtNum)
void handle(const Incident &)
StatusCode initialize()
std::string getJobOutputFile()
JobInfoSvc(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode finalize()