Go to the documentation of this file.
11 #ifndef GAUDIUTILS_IODATAMANAGER_H
12 #define GAUDIUTILS_IODATAMANAGER_H
29 class RawDataConnectionEntry;
54 "name of the file catalog service" };
57 "if unaccessible files should be quarantines in job" };
60 this,
"DisablePFNWarning",
false,
61 "if set to True, we will not report when a file is opened by its physical name" };
78 using extends::extends;
97 StatusCode read( Connection* ioDesc,
void*
const data,
size_t len )
override;
99 StatusCode write( Connection* con,
const void* data,
int len )
override;
101 long long int seek( Connection* ioDesc,
long long int where,
int origin )
override;
104 #endif // GAUDIUTILS_IODATAMANAGER_H
IDataConnection * connection
Gaudi::Property< bool > m_quarantine
Connections connections(const IInterface *owner) const override
Get connection by owner instance (0=ALL)
StatusCode connectRead(bool keep_open, Connection *ioDesc) override
Open data stream in read mode.
Gaudi::Property< bool > m_useGFAL
StatusCode establishConnection(Connection *con)
StatusCode connectWrite(Connection *con, IoType mode=Connection::CREATE, CSTR doctype="UNKNOWN") override
Open data stream in write mode.
StatusCode error(CSTR msg, bool rethrow)
Small routine to issue exceptions.
Gaudi::Property< int > m_ageLimit
ConnectionMap m_connectionMap
Map with I/O descriptors.
Connection * connection(const std::string &dsn) const override
Retrieve known connection.
StatusCode read(Connection *ioDesc, void *const data, size_t len) override
Read raw byte buffer from input stream.
StatusCode initialize() override
IService implementation: initialize the service.
StatusCode finalize() override
IService implementation: finalize the service.
Gaudi::Property< std::string > m_catalogSvcName
Base class used to extend a class implementing other interfaces.
StatusCode write(Connection *con, const void *data, int len) override
Write raw byte buffer to output stream.
SmartIF< IFileCatalog > m_catalog
Reference to file catalog.
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
StatusCode disconnect(Connection *ioDesc) override
Release data stream.
StatusCode reconnect(Entry *e)
long long int seek(Connection *ioDesc, long long int where, int origin) override
Seek on the file described by ioDesc. Arguments as in ::seek()
FidMap m_fidMap
Map of FID to PFN.
std::map< std::string, std::string > FidMap
Entry(CSTR tech, bool k, IoType iot, IDataConnection *con)
Gaudi::Property< bool > m_disablePFNWarning
std::map< std::string, Entry * > ConnectionMap
SmartIF< IIncidentSvc > m_incSvc
StatusCode connectDataIO(int typ, IoType rw, CSTR fn, CSTR technology, bool keep, Connection *con)