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

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.

Definition at line 7 of file ArchivePutCommand.cpp.

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.


The documentation for this class was generated from the following files:
Generated on Thu Jul 15 09:52:03 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5