Sct::Archive::IOManagerArchiveFile Class Reference

This IOManager writes to a gzipped ascii file. More...

#include <IOManagerArchiveFile.h>

Inheritance diagram for Sct::Archive::IOManagerArchiveFile:

Inheritance graph
[legend]
Collaboration diagram for Sct::Archive::IOManagerArchiveFile:

Collaboration graph
[legend]

Public Member Functions

virtual void write (const Serializable &ob, const IOParams *params=0) const
 write using default streamers
virtual shared_ptr< Serializableread (const string &name, const IOParams *params=0) const
 read using appropriate streamers
virtual std::string status () const
 get some status information

Static Public Member Functions

static IOManagerArchiveFileinstance ()
 retrieve access to singleton

Private Member Functions

 IOManagerArchiveFile () throw ()

Static Private Attributes

static IOManagerArchiveFiles_man
 pointer to singleton

Detailed Description

This IOManager writes to a gzipped ascii file.

It is expected to be used in archival, and so also makes use of streamer versioning by inheriting from IOManagerStreamerVersioned. The gzip compression level can be adjusted with setCompressionLevel().

Note:
files are written to SCT_PERSISTENT_DIR.

Definition at line 18 of file IOManagerArchiveFile.h.


Member Function Documentation

IOManagerArchiveFile & Sct::Archive::IOManagerArchiveFile::instance  )  [static]
 

retrieve access to singleton

Definition at line 24 of file IOManagerArchiveFile.cpp.

References IOManagerArchiveFile(), and s_man.

Referenced by SctDataDisplay::TestDisplayer::displayAllRaws().

Here is the call graph for this function:

boost::shared_ptr< Serializable > Sct::Archive::IOManagerArchiveFile::read const string &  name,
const IOParams params = 0
const [virtual]
 

read using appropriate streamers

Implements Sct::IOManager.

Definition at line 69 of file IOManagerArchiveFile.cpp.

References Sct::IOName::getIOName(), Sct::Archive::IOManagerStreamerVersioned::getReadVersionMap(), and Sct::Archive::IOManagerStreamerVersioned::setReadMode().

Here is the call graph for this function:

std::string Sct::Archive::IOManagerArchiveFile::status  )  const [virtual]
 

get some status information

Implements Sct::Archive::IOManagerArchive.

Definition at line 29 of file IOManagerArchiveFile.cpp.

References Sct::SctNames::getPersistentDir().

Here is the call graph for this function:

void Sct::Archive::IOManagerArchiveFile::write const Serializable ob,
const IOParams params = 0
const [virtual]
 

write using default streamers

Implements Sct::IOManager.

Definition at line 36 of file IOManagerArchiveFile.cpp.

References Sct::Streamable::getClassName(), Sct::Archive::IOManagerStreamerVersioned::getMutex(), Sct::Archive::IOParamsArchive::getOverWrite(), Sct::Serializable::getUniqueID(), and Sct::Archive::IOManagerStreamerVersioned::setReadMode().

Here is the call graph for this function:


Field Documentation

IOManagerArchiveFile * Sct::Archive::IOManagerArchiveFile::s_man [static, private]
 

pointer to singleton

Definition at line 30 of file IOManagerArchiveFile.h.

Referenced by instance().


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:03:21 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6