|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef ATHENASERVICES_IOSVC_H
12 #define ATHENASERVICES_IOSVC_H 1
16 #include <unordered_map>
45 IoSvc(
const std::string&
name, ISvcLocator* pSvcLocator );
58 void** ppvInterface );
105 typedef std::unordered_map<Fd, FdInfos>
FdMap_t;
128 #endif //> !ATHENASERVICES_IOSVC_H
StatusCode close(Fd fd)
close file fd
static const InterfaceID & interfaceID()
Fd open(const std::string &fname, IoType mode)
open file fname with open mode mode
IoType
I/O Connection types.
::StatusCode StatusCode
StatusCode definition for legacy code.
Fd m_last_fd
last created Fd
virtual StatusCode finalize()
virtual StatusCode initialize()
Gaudi Service Implementation.
bool has_fd(Fd fd) const
test if a given file descriptor fd is known to us
const std::string & fname(Fd fd) const
retrieve the file fname associated with file descriptor fd
virtual ~IoSvc()
Destructor:
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
Fd fd(const std::string &fname) const
retrieve the file descriptor associated with file fname
std::unordered_map< Fd, FdInfos > FdMap_t
static const InterfaceID & interfaceID()
int Fd
unix-y file descriptor
IoSvc()
Default constructor:
FdMap_t m_fds
map of fd->fdinfos
IoType mode(Fd fd) const
retrieve the open mode associated with file descriptor fd