Elements 6.3.3
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
Elements::Services::DataSync::IrodsSynchronizer Class Reference

A data synchronizer for iRODS hosts. More...

#include <IrodsSynchronizer.h>

Inheritance diagram for Elements::Services::DataSync::IrodsSynchronizer:
Collaboration diagram for Elements::Services::DataSync::IrodsSynchronizer:

Public Member Functions

virtual ~IrodsSynchronizer ()=default
 IrodsSynchronizer (const ConnectionConfiguration &connection, const DependencyConfiguration &dependency)
std::string createDownloadCommand (path distantFile, path localFile) const override
Public Member Functions inherited from Elements::Services::DataSync::DataSynchronizer
virtual ~DataSynchronizer ()=default
 DataSynchronizer (const ConnectionConfiguration &connection, const DependencyConfiguration &dependency)
void downloadAllFiles () const

Additional Inherited Members

Protected Member Functions inherited from Elements::Services::DataSync::DataSynchronizer
bool fileShouldBeWritten (path localFile) const
bool fileAlreadyExists (path localFile) const
void downloadOneFile (path distantFile, path localFile) const
bool hasBeenDownloaded (path distantFile, path localFile) const
Protected Attributes inherited from Elements::Services::DataSync::DataSynchronizer
ConnectionConfiguration m_connection
std::map< path, pathm_fileMap

Detailed Description

A data synchronizer for iRODS hosts.

Definition at line 51 of file IrodsSynchronizer.h.

Constructor & Destructor Documentation

◆ ~IrodsSynchronizer()

virtual Elements::Services::DataSync::IrodsSynchronizer::~IrodsSynchronizer ( )
virtualdefault

References createDownloadCommand(), and IrodsSynchronizer().

Here is the call graph for this function:

◆ IrodsSynchronizer()

Elements::Services::DataSync::IrodsSynchronizer::IrodsSynchronizer ( const ConnectionConfiguration & connection,
const DependencyConfiguration & dependency )

Definition at line 37 of file IrodsSynchronizer.cpp.

References Elements::Services::DataSync::DataSynchronizer::DataSynchronizer(), and Elements::Services::DataSync::irodsIsInstalled().

Referenced by ~IrodsSynchronizer().

Here is the call graph for this function:

Member Function Documentation

◆ createDownloadCommand()

std::string Elements::Services::DataSync::IrodsSynchronizer::createDownloadCommand ( path distantFile,
path localFile ) const
overridevirtual

Implements Elements::Services::DataSync::DataSynchronizer.

Definition at line 46 of file IrodsSynchronizer.cpp.

References std::string::string().

Referenced by ~IrodsSynchronizer().

Here is the call graph for this function:

The documentation for this class was generated from the following files: