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