| The Gaudi Framework v28r2-patches (bc4ad17a)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

RootFileHandler.h
Go to the documentation of this file.
1 // RootFileHandler.h
3 // Provides open/close/reopen functions for ROOT files
4 //
5 // Author: C.Leggett
7
8 #ifndef GAUDISVC_ROOTFILEHANDLER_H
9 #define GAUDISVC_ROOTFILEHANDLER_H 1
10
11 #include "GaudiKernel/IMessageSvc.h"
12 #include "GaudiKernel/MsgStream.h"
13 #include "GaudiKernel/IFileMgr.h"
14
15 #include <string>
16
17 class RootFileHandler {
18
19 public:
20
21 RootFileHandler(IMessageSvc*, const std::string& userProxy,
22 const std::string& certDir);
23
24 Io::open_t openRootFile(const std::string& n, const Io::IoFlags& f,
25 const std::string& desc, Io::Fd& fd,
26 void*& ptr);
27
28 Io::close_t closeRootFile(void* ptr);
29 Io::reopen_t reopenRootFile(void*, const Io::IoFlags&);
30
31 bool setupSSL();
32
33 private:
34 MsgStream m_log;
35 int m_level;
36
37 std::string m_userProxy, m_certDir;
38 bool m_ssl_setup = false;
39
40 };
41
42 #endif
MsgStream
Definition of the MsgStream class used to transmit messages.
Definition: MsgStream.h:24
gaudirun.fd
fd
Definition: gaudirun.py:459
MsgStream.h
Io::reopen_t
int reopen_t
Definition: IFileMgr.h:254
Io::Fd
int Fd
Definition: IFileMgr.h:172
RootFileHandler::setupSSL
bool setupSSL()
Definition: RootFileHandler.cpp:187
RootFileHandler::openRootFile
Io::open_t openRootFile(const std::string &n, const Io::IoFlags &f, const std::string &desc, Io::Fd &fd, void *&ptr)
Definition: RootFileHandler.cpp:30
Io::open_t
int open_t
Definition: IFileMgr.h:252
RootFileHandler::closeRootFile
Io::close_t closeRootFile(void *ptr)
Definition: RootFileHandler.cpp:142
RootFileHandler::reopenRootFile
Io::reopen_t reopenRootFile(void *, const Io::IoFlags &)
Definition: RootFileHandler.cpp:177
std::string
STL class.
RootFileHandler::m_userProxy
std::string m_userProxy
Definition: RootFileHandler.h:37
GaudiPluginService.cpluginsvc.n
n
Definition: cpluginsvc.py:217
RootFileHandler::m_certDir
std::string m_certDir
Definition: RootFileHandler.h:37
RootFileHandler::m_ssl_setup
bool m_ssl_setup
Definition: RootFileHandler.h:38
Io::IoFlags
Definition: IFileMgr.h:39
IMessageSvc
The IMessage is the interface implemented by the message service.
Definition: IMessageSvc.h:57
RootFileHandler
Definition: RootFileHandler.h:17
RootFileHandler::m_level
int m_level
Definition: RootFileHandler.h:35
IMessageSvc.h
IFileMgr.h
Io::close_t
int close_t
Definition: IFileMgr.h:253
RootFileHandler::RootFileHandler
RootFileHandler(IMessageSvc *, const std::string &userProxy, const std::string &certDir)
Definition: RootFileHandler.cpp:15
RootFileHandler::m_log
MsgStream m_log
Definition: RootFileHandler.h:34