![]() |
The Gaudi Framework
v27r0
|
#include <src/component/IODataManager.h>


Classes | |
| struct | Entry |
Public Member Functions | |
| IODataManager (CSTR nam, ISvcLocator *loc) | |
| the incident service More... | |
| ~IODataManager () override=default | |
| Standard destructor. More... | |
| StatusCode | initialize () override |
| IService implementation: initialize the service. More... | |
| StatusCode | finalize () override |
| IService implementation: finalize the service. More... | |
| StatusCode | connectRead (bool keep_open, Connection *ioDesc) override |
| Open data stream in read mode. More... | |
| StatusCode | connectWrite (Connection *con, IoType mode=Connection::CREATE, CSTR doctype="UNKNOWN") override |
| Open data stream in write mode. More... | |
| StatusCode | disconnect (Connection *ioDesc) override |
| Release data stream. More... | |
| Connection * | connection (const std::string &dsn) const override |
| Retrieve known connection. More... | |
| Connections | connections (const IInterface *owner) const override |
| Get connection by owner instance (0=ALL) More... | |
| StatusCode | read (Connection *ioDesc, void *const data, size_t len) override |
| Read raw byte buffer from input stream. More... | |
| StatusCode | write (Connection *con, const void *data, int len) override |
| Write raw byte buffer to output stream. More... | |
| long long int | seek (Connection *ioDesc, long long int where, int origin) override |
| Seek on the file described by ioDesc. Arguments as in ::seek() More... | |
Public Member Functions inherited from extends< BASE, Interfaces > | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
| ~extends () override=default | |
| Virtual destructor. More... | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
| ~extends () override=default | |
| Virtual destructor. More... | |
Public Member Functions inherited from extend_interfaces< Interfaces...> | |
| ~extend_interfaces () override=default | |
| Virtual destructor. More... | |
| ~extend_interfaces () override=default | |
| Virtual destructor. More... | |
Protected Types | |
| typedef const std::string & | CSTR |
| typedef std::map< std::string, Entry * > | ConnectionMap |
| typedef std::map< std::string, std::string > | FidMap |
Protected Member Functions | |
| StatusCode | connectDataIO (int typ, IoType rw, CSTR fn, CSTR technology, bool keep, Connection *con) |
| StatusCode | reconnect (Entry *e) |
| StatusCode | error (CSTR msg, bool rethrow) |
| Small routine to issue exceptions. More... | |
| StatusCode | establishConnection (Connection *con) |
Protected Attributes | |
| std::string | m_catalogSvcName |
| Property: Name of the file catalog service. More... | |
| int | m_ageLimit |
| Property: Age limit. More... | |
| bool | m_useGFAL |
| Property: Flag for auto gfal data access. More... | |
| bool | m_quarantine |
| Property: Flag if unaccessible files should be quarantines in job. More... | |
| bool | m_disablePFNWarning |
| Property DisablePFNWarning: if set to True will not report when a file is opened by it's physical name. More... | |
| ConnectionMap | m_connectionMap |
| Map with I/O descriptors. More... | |
| SmartIF< IFileCatalog > | m_catalog |
| Reference to file catalog. More... | |
| FidMap | m_fidMap |
| Map of FID to PFN. More... | |
| SmartIF< IIncidentSvc > | m_incSvc |
Additional Inherited Members | |
Public Types inherited from extends< BASE, Interfaces > | |
| using | base_class = extends |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces...> |
| Typedef to the base of this class. More... | |
| using | base_class = extends |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces...> |
| Typedef to the base of this class. More... | |
Public Types inherited from extend_interfaces< Interfaces...> | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
| take union of the ext_iids of all Interfaces... More... | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids...>::type |
| take union of the ext_iids of all Interfaces... More... | |
Definition at line 29 of file IODataManager.h.
|
protected |
Definition at line 41 of file IODataManager.h.
|
protected |
Definition at line 31 of file IODataManager.h.
|
protected |
Definition at line 42 of file IODataManager.h.
| IODataManager::IODataManager | ( | CSTR | nam, |
| ISvcLocator * | loc | ||
| ) |
the incident service
Initializing constructor
| [in] | nam | Name of the service |
| [in] | loc | Pointer to the service locator object |
Definition at line 44 of file IODataManager.cpp.
|
overridedefault |
Standard destructor.
|
protected |
Definition at line 248 of file IODataManager.cpp.
|
override |
Retrieve known connection.
Definition at line 221 of file IODataManager.cpp.
|
override |
Get connection by owner instance (0=ALL)
Definition at line 96 of file IODataManager.cpp.
|
override |
Open data stream in read mode.
Connect data file for writing.
Definition at line 106 of file IODataManager.cpp.
|
override |
Open data stream in write mode.
Connect data file for reading.
Definition at line 115 of file IODataManager.cpp.
|
override |
Release data stream.
Definition at line 138 of file IODataManager.cpp.
|
protected |
Small routine to issue exceptions.
Definition at line 88 of file IODataManager.cpp.
|
protected |
Definition at line 228 of file IODataManager.cpp.
|
override |
IService implementation: finalize the service.
Definition at line 82 of file IODataManager.cpp.
|
override |
IService implementation: initialize the service.
IService implementation: Db event selector override.
Definition at line 57 of file IODataManager.cpp.
|
override |
Read raw byte buffer from input stream.
Definition at line 124 of file IODataManager.cpp.
|
protected |
Definition at line 179 of file IODataManager.cpp.
|
override |
Seek on the file described by ioDesc. Arguments as in ::seek()
Definition at line 134 of file IODataManager.cpp.
|
override |
Write raw byte buffer to output stream.
Definition at line 129 of file IODataManager.cpp.
|
protected |
Property: Age limit.
Definition at line 47 of file IODataManager.h.
|
protected |
Reference to file catalog.
Definition at line 59 of file IODataManager.h.
|
protected |
Property: Name of the file catalog service.
Definition at line 45 of file IODataManager.h.
|
protected |
Map with I/O descriptors.
Definition at line 57 of file IODataManager.h.
|
protected |
Property DisablePFNWarning: if set to True will not report when a file is opened by it's physical name.
Definition at line 54 of file IODataManager.h.
|
protected |
Map of FID to PFN.
Definition at line 61 of file IODataManager.h.
|
protected |
Definition at line 67 of file IODataManager.h.
|
protected |
Property: Flag if unaccessible files should be quarantines in job.
Definition at line 51 of file IODataManager.h.
|
protected |
Property: Flag for auto gfal data access.
Definition at line 49 of file IODataManager.h.