SctArchiving::ArchivePutCommand Class Reference

PutCommand to put an object in the archive. More...

#include <ArchivePutCommand.h>

Inheritance diagram for SctArchiving::ArchivePutCommand:

Inheritance graph
[legend]
Collaboration diagram for SctArchiving::ArchivePutCommand:

Collaboration graph
[legend]

Public Member Functions

 ArchivePutCommand (boost::shared_ptr< Sct::Serializable > ob)
 Puts object in archive.
 ~ArchivePutCommand ()
 destructor
virtual void execute ()
 puts the object from the archive
 ArchivePutCommand ()
 constructor which requires setObject before execute()
virtual boost::shared_ptr<
ArchivingCommand
create () const
 creates derrived class using virtual constructor idiom

Detailed Description

PutCommand to put an object in the archive.

Uses the Sct::Archive::IOManagerArchive kept by the Archiver::instance() to write

Definition at line 9 of file ArchivePutCommand.h.


Constructor & Destructor Documentation

SctArchiving::ArchivePutCommand::ArchivePutCommand boost::shared_ptr< Sct::Serializable ob  ) 
 

Puts object in archive.

SctArchiving::ArchivePutCommand::~ArchivePutCommand  ) 
 

destructor

Definition at line 11 of file ArchivePutCommand.cpp.

SctArchiving::ArchivePutCommand::ArchivePutCommand  ) 
 

constructor which requires setObject before execute()

Definition at line 13 of file ArchivePutCommand.cpp.

Referenced by create().


Member Function Documentation

shared_ptr< ArchivingCommand > SctArchiving::ArchivePutCommand::create  )  const [virtual]
 

creates derrived class using virtual constructor idiom

Implements SctArchiving::ArchivingCommand.

Definition at line 24 of file ArchivePutCommand.cpp.

References ArchivePutCommand().

Here is the call graph for this function:

void SctArchiving::ArchivePutCommand::execute  )  [virtual]
 

puts the object from the archive

Implements SctArchiving::ArchivingCommand.

Definition at line 16 of file ArchivePutCommand.cpp.

References SctArchiving::Archiver::addFileTime(), SctArchiving::Archiver::incrimentNArchived(), SctArchiving::Archiver::instance(), SctArchiving::PutCommand::m_ob, and SctArchiving::PutCommand::m_params.

Here is the call graph for this function:


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