Elements
5.12
A C++ base framework for the Euclid Software.
|
Go to the documentation of this file.
24 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
25 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
50 "Unable to download file: '"
75 void downloadAllFiles()
const;
79 bool fileShouldBeWritten(
path localFile)
const;
81 bool fileAlreadyExists(
path localFile)
const;
85 path localFile)
const;
87 bool hasBeenDownloaded(
89 path localFile)
const;
93 path localFile)
const = 0;
105 #endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZER_H_
defines the macros to be used for explicit export of the symbols
virtual ~DataSynchronizer()=default
An exception raised when downloading fails.
Base class to synchronize test data.
std::map< path, path > m_fileMap
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
virtual std::string createDownloadCommand(path distantFile, path localFile) const =0
The dependency configurations holds, for each test file to be retrieved:
DownloadFailed(path distantFile, path localFile)
ConnectionConfiguration m_connection
The connection configuration mainly holds:
virtual ~DownloadFailed()=default
Elements::Path::Item path