![]() |
ATLAS Offline Software
|
#include <IoSvc.h>
Classes | |
| struct | FdInfos |
Public Types | |
| typedef IIoSvc::Fd | Fd |
Public Member Functions | |
| IoSvc (const std::string &name, ISvcLocator *pSvcLocator) | |
| Constructor with parameters: | |
| virtual | ~IoSvc () |
| Destructor: | |
| virtual StatusCode | initialize () override |
| Gaudi Service Implementation. | |
| virtual StatusCode | finalize () override |
| virtual bool | has_fd (Fd fd) const override |
| test if a given file descriptor fd is known to us | |
| virtual Fd | fd (const std::string &fname) const override |
| retrieve the file descriptor associated with file fname | |
| virtual const std::string & | fname (Fd fd) const override |
| retrieve the file fname associated with file descriptor fd | |
| virtual IoType | mode (Fd fd) const override |
| retrieve the open mode associated with file descriptor fd | |
| virtual Fd | open (const std::string &fname, IoType mode) override |
| open file fname with open mode mode | |
| virtual StatusCode | close (Fd fd) override |
| close file fd | |
Private Types | |
| typedef std::unordered_map< Fd, FdInfos > | FdMap_t |
Private Member Functions | |
| IoSvc () | |
| Default constructor: | |
Private Attributes | |
| FdMap_t | m_fds |
| map of fd->fdinfos | |
| Fd | m_last_fd |
| last created Fd | |
Friends | |
| class | SvcFactory< IoSvc > |
| typedef IIoSvc::Fd IoSvc::Fd |
|
private |
| IoSvc::IoSvc | ( | const std::string & | name, |
| ISvcLocator * | pSvcLocator ) |
|
private |
Default constructor:
|
overridevirtual |
close file fd
Definition at line 147 of file IoSvc.cxx.
retrieve the file descriptor associated with file fname
Definition at line 79 of file IoSvc.cxx.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
Gaudi Service Implementation.
open file fname with open mode mode
Definition at line 120 of file IoSvc.cxx.
|
friend |