Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Related Pages

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

IOManagerArchiveFileinstance ()
 retrieve access to singleton


Static Private Attributes

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 s_man.

Referenced by SctDataDisplay::FitDisplayer::display(), and SctDataDisplay::TestDisplayer::displayAllRaws().

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 67 of file IOManagerArchiveFile.cpp.

References Sct::Archive::IOManagerStreamerVersioned::getReadVersionMap(), Sct::Archive::IOManagerStreamerVersioned::readImpl(), 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.

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::IOManagerArchive::getCompressionLevel(), Sct::Archive::IOManagerStreamerVersioned::getMutex(), Sct::Serializable::getUniqueID(), Sct::Archive::IOManagerStreamerVersioned::setReadMode(), and Sct::Archive::IOManagerStreamerVersioned::writeImpl().

Here is the call graph for this function:


Field Documentation

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

pointer to singleton

Definition at line 22 of file IOManagerArchiveFile.cpp.

Referenced by instance().


The documentation for this class was generated from the following files:
Generated on Thu Jul 8 11:41:39 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5