Elements 6.3.3
A C++ base framework for the Euclid Software.
Loading...
Searching...
No Matches
DataSync.h
Go to the documentation of this file.
1
18
23
24#ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_H_
25#define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_H_
26
28
32
33namespace Elements {
34inline namespace Services {
35namespace DataSync {
36
48
49public:
59 DataSync(path connectionFile, path dependencyFile);
60
64 void download();
65
73 void downloadWithFallback(path connectionFile);
74
92 path absolutePath(path relativePath);
93
94private:
99};
100
101} // namespace DataSync
102} // namespace Services
103} // namespace Elements
104
106
107#endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_H_
108
defines the macros to be used for explicit export of the symbols
void download()
Download the test data.
Definition DataSync.cpp:39
path absolutePath(path relativePath)
Get the absolute path to a local test file which has been downloaded.
Definition DataSync.cpp:53
DataSync(path connectionFile, path dependencyFile)
Initialize the synchronizer with configuration files.
Definition DataSync.cpp:33
ConnectionConfiguration m_connectionConfig
Definition DataSync.h:95
DependencyConfiguration m_dependencyConfig
Definition DataSync.h:98
void downloadWithFallback(path connectionFile)
Download the test data and provide a fallback host in case the primary host fails.
Definition DataSync.cpp:44
The dependency configurations holds, for each test file to be retrieved:
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition Export.h:74
Path::Item path
importing the path item from ElementsKernel