SctArchiving::TransferCommand Class Reference

ArchivingCommand which retrieves an object with a GetCommand, and then places it with a PutCommand. More...

#include <TransferCommand.h>

Inheritance diagram for SctArchiving::TransferCommand:

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

Collaboration graph
[legend]

Public Member Functions

 TransferCommand (boost::shared_ptr< GetCommand > get, boost::shared_ptr< PutCommand > put)
 constructor with name of object to transfer
 ~TransferCommand ()
 destructor
virtual void execute ()
 does GetCommand then PutCommand
virtual boost::shared_ptr<
ArchivingCommand
create () const
 virtual constructor

Protected Member Functions

 TransferCommand ()

Protected Attributes

shared_ptr< GetCommandm_get
 GetCommand.
shared_ptr< PutCommandm_put
 PutCommand.

Detailed Description

ArchivingCommand which retrieves an object with a GetCommand, and then places it with a PutCommand.

Checks the Sct::IOName of the GetCommand for wildcards, and uses the ArchivingCommandList to do the transfer for each name from the expanded wildcard.

Definition at line 14 of file TransferCommand.h.


Constructor & Destructor Documentation

SctArchiving::TransferCommand::TransferCommand boost::shared_ptr< GetCommand get,
boost::shared_ptr< PutCommand put
 

constructor with name of object to transfer

Definition at line 11 of file TransferCommand.cpp.

SctArchiving::TransferCommand::~TransferCommand  ) 
 

destructor

Definition at line 16 of file TransferCommand.cpp.


Member Function Documentation

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

virtual constructor

Implements SctArchiving::ArchivingCommand.

Definition at line 53 of file TransferCommand.cpp.

References m_get, m_put, and TransferCommand().

Referenced by execute().

Here is the call graph for this function:

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

does GetCommand then PutCommand

Implements SctArchiving::ArchivingCommand.

Definition at line 20 of file TransferCommand.cpp.

References SctArchiving::Archiver::addCommand(), create(), SctArchiving::Archiver::instance(), and m_get.

Here is the call graph for this function:


Field Documentation

shared_ptr<GetCommand> SctArchiving::TransferCommand::m_get [protected]
 

GetCommand.

Definition at line 27 of file TransferCommand.h.

Referenced by create(), and execute().

shared_ptr<PutCommand> SctArchiving::TransferCommand::m_put [protected]
 

PutCommand.

Definition at line 29 of file TransferCommand.h.

Referenced by create().


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