SctArchiving::IsGetCommand Class Reference

command to get an object from the archive More...

#include <IsGetCommand.h>

Inheritance diagram for SctArchiving::IsGetCommand:

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

Collaboration graph
[legend]

Public Member Functions

 IsGetCommand (boost::shared_ptr< Sct::IS::IONameIS > name)
 Gets IOName from archive.
virtual void execute ()
 gets the object from the archive
 ~IsGetCommand ()
 destructor
virtual boost::shared_ptr<
ArchivingCommand
create () const
 virtual constructor

Private Member Functions

 IsGetCommand ()
shared_ptr< Sct::SerializableretrieveISOB (const std::string &name) const
 read a IS control object

Detailed Description

command to get an object from the archive

Definition at line 9 of file IsGetCommand.h.


Constructor & Destructor Documentation

SctArchiving::IsGetCommand::IsGetCommand boost::shared_ptr< Sct::IS::IONameIS name  ) 
 

Gets IOName from archive.

Definition at line 18 of file IsGetCommand.cpp.

SctArchiving::IsGetCommand::~IsGetCommand  ) 
 

destructor

Definition at line 24 of file IsGetCommand.cpp.


Member Function Documentation

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

virtual constructor

Implements SctArchiving::ArchivingCommand.

Definition at line 39 of file IsGetCommand.cpp.

References IsGetCommand().

Here is the call graph for this function:

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

gets the object from the archive

Implements SctArchiving::ArchivingCommand.

Definition at line 26 of file IsGetCommand.cpp.

References SctArchiving::GetCommand::m_name, SctArchiving::GetCommand::m_ob, and retrieveISOB().

Here is the call graph for this function:

shared_ptr< Sct::Serializable > SctArchiving::IsGetCommand::retrieveISOB const std::string &  name  )  const [private]
 

read a IS control object

Todo:
There is a much cleaner way of doing this with a map!

Definition at line 45 of file IsGetCommand.cpp.

Referenced by execute().


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