ABC describing basic data connection.
More...
#include <IIODataManager.h>
|
| | IDataConnection (const IInterface *own, const std::string &nam) |
| | Standard constructor.
|
| |
| virtual | ~IDataConnection () |
| | Standard destructor.
|
| |
| const std::string & | name () const |
| | Connection name.
|
| |
| void | setFID (const std::string &fid) |
| | Set file ID.
|
| |
| const std::string & | fid () const |
| | Access file id.
|
| |
| const std::string & | pfn () const |
| | Access physical file name.
|
| |
| void | setPFN (const std::string &fn) |
| | Set physical file name.
|
| |
| void | ageFile () |
| | Increase age of I/O source.
|
| |
| void | resetAge () |
| | Reset age.
|
| |
| int | age () const |
| | Access age counter.
|
| |
| const IInterface * | owner () const |
| | Owner instance.
|
| |
| virtual StatusCode | connectRead ()=0 |
| | Open data stream in read mode.
|
| |
| virtual StatusCode | connectWrite (IoType type)=0 |
| | Open data stream in write mode.
|
| |
| virtual StatusCode | disconnect ()=0 |
| | Release data stream.
|
| |
| virtual bool | isConnected () const =0 |
| | Check if connected to data source.
|
| |
| virtual StatusCode | read (void *const data, size_t len)=0 |
| | Read raw byte buffer from input stream.
|
| |
| virtual StatusCode | write (const void *data, int len)=0 |
| | Write raw byte buffer to output stream.
|
| |
| virtual long long int | seek (long long int where, int origin)=0 |
| | Seek on the file described by ioDesc. Arguments as in ::seek()
|
| |
|
| std::string | m_name |
| | Connection name/identifier.
|
| |
| std::string | m_fid |
| | File ID of the connection.
|
| |
| std::string | m_pfn |
| | Physical file name of the connection.
|
| |
| int | m_age |
| | Age counter.
|
| |
| const IInterface * | m_owner |
| | Owner pointer.
|
| |
ABC describing basic data connection.
- Author
- M.Frank
- Version
- 1.0
- Date
- 20/10/2007
Definition at line 25 of file IIODataManager.h.
| enum Gaudi::IDataConnection::IoStatus |
Status Code on bad file connection.
- Enumerator:
-
Definition at line 41 of file IIODataManager.h.
| enum Gaudi::IDataConnection::IoType |
I/O Connection types.
- Enumerator:
| READ |
|
| UPDATE |
|
| CREATE |
|
| RECREATE |
|
Definition at line 39 of file IIODataManager.h.
| Gaudi::IDataConnection::IDataConnection |
( |
const IInterface * |
own, |
|
|
const std::string & |
nam |
|
) |
| |
|
inline |
| virtual Gaudi::IDataConnection::~IDataConnection |
( |
| ) |
|
|
inlinevirtual |
| int Gaudi::IDataConnection::age |
( |
| ) |
const |
|
inline |
| void Gaudi::IDataConnection::ageFile |
( |
| ) |
|
|
inline |
| virtual StatusCode Gaudi::IDataConnection::connectRead |
( |
| ) |
|
|
pure virtual |
| virtual StatusCode Gaudi::IDataConnection::disconnect |
( |
| ) |
|
|
pure virtual |
| const std::string& Gaudi::IDataConnection::fid |
( |
| ) |
const |
|
inline |
| virtual bool Gaudi::IDataConnection::isConnected |
( |
| ) |
const |
|
pure virtual |
| const std::string& Gaudi::IDataConnection::name |
( |
| ) |
const |
|
inline |
| const IInterface* Gaudi::IDataConnection::owner |
( |
| ) |
const |
|
inline |
| const std::string& Gaudi::IDataConnection::pfn |
( |
| ) |
const |
|
inline |
| virtual StatusCode Gaudi::IDataConnection::read |
( |
void *const |
data, |
|
|
size_t |
len |
|
) |
| |
|
pure virtual |
| void Gaudi::IDataConnection::resetAge |
( |
| ) |
|
|
inline |
| virtual long long int Gaudi::IDataConnection::seek |
( |
long long int |
where, |
|
|
int |
origin |
|
) |
| |
|
pure virtual |
| void Gaudi::IDataConnection::setFID |
( |
const std::string & |
fid | ) |
|
|
inline |
| void Gaudi::IDataConnection::setPFN |
( |
const std::string & |
fn | ) |
|
|
inline |
| virtual StatusCode Gaudi::IDataConnection::write |
( |
const void * |
data, |
|
|
int |
len |
|
) |
| |
|
pure virtual |
| int Gaudi::IDataConnection::m_age |
|
protected |
| std::string Gaudi::IDataConnection::m_fid |
|
protected |
| std::string Gaudi::IDataConnection::m_name |
|
protected |
| std::string Gaudi::IDataConnection::m_pfn |
|
protected |
The documentation for this class was generated from the following file:
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r2/GaudiUtils/GaudiUtils/IIODataManager.h