#include <ArchivingCommand.h>
Inheritance diagram for SctArchiving::ArchivingCommand:
Public Member Functions | |
virtual | ~ArchivingCommand () |
virtual destructor makes all sub-class destructors virtual | |
virtual void | execute ()=0 |
execute this command. | |
virtual boost::shared_ptr< ArchivingCommand > | create () const =0 |
creates derrived class using virtual constructor idiom | |
Protected Member Functions | |
ArchivingCommand () |
These commands are created by the Archiver, and passed to the ArchivingWorkerGroup, which calls the execute() method. Uses the `composite' and `command' patterns!
Definition at line 14 of file ArchivingCommand.h.
|
virtual destructor makes all sub-class destructors virtual
Definition at line 17 of file ArchivingCommand.h. |
|
creates derrived class using virtual constructor idiom
Implemented in SctArchiving::ArchiveGetCommand, SctArchiving::ArchivePutCommand, SctArchiving::IsGetCommand, SctArchiving::IsPutCommand, and SctArchiving::TransferCommand. |
|
execute this command. Default implimentation just does all sub-commands, sending any errors to MRS as it goes Implemented in SctArchiving::ArchiveGetCommand, SctArchiving::ArchivePutCommand, SctArchiving::IsGetCommand, SctArchiving::IsPutCommand, and SctArchiving::TransferCommand. |