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

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

Referenced by create().

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 create(), m_get, and m_put.

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(), and execute().


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