Elements  6.2
A C++ base framework for the Euclid Software.
IrodsSynchronizer.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2012-2020 Euclid Science Ground Segment
3  *
4  * This library is free software; you can redistribute it and/or modify it under
5  * the terms of the GNU Lesser General Public License as published by the Free
6  * Software Foundation; either version 3.0 of the License, or (at your option)
7  * any later version.
8  *
9  * This library is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11  * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12  * details.
13  *
14  * You should have received a copy of the GNU Lesser General Public License
15  * along with this library; if not, write to the Free Software Foundation, Inc.,
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17  */
18 
24 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_IRODSSYNCHRONIZER_H_
25 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_IRODSSYNCHRONIZER_H_
26 
27 #include <string>
28 
29 #include "ElementsKernel/Export.h"
30 
32 
33 namespace Elements {
34 inline namespace Services {
35 namespace DataSync {
36 
42 
49 
50 public:
51  virtual ~IrodsSynchronizer() = default;
52 
53  IrodsSynchronizer(const ConnectionConfiguration& connection, const DependencyConfiguration& dependency);
54 
55  std::string createDownloadCommand(path distantFile, path localFile) const override;
56 };
57 
58 } // namespace DataSync
59 } // namespace Services
60 } // namespace Elements
61 
63 
64 #endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_IRODSSYNCHRONIZER_H_
65 
Elements::Services::DataSync::irodsIsInstalled
ELEMENTS_API bool irodsIsInstalled()
Check whether the iRODS client is installed.
Definition: IrodsSynchronizer.cpp:27
Export.h
defines the macros to be used for explicit export of the symbols
Elements::Services::DataSync::IrodsSynchronizer
A data synchronizer for iRODS hosts.
Definition: IrodsSynchronizer.h:48
std::string
STL class.
Elements::Services::DataSync::DataSynchronizer
Base class to synchronize test data.
Definition: DataSynchronizer.h:61
ELEMENTS_API
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition: Export.h:74
Elements::Services::DataSync::DependencyConfiguration
The dependency configurations holds, for each test file to be retrieved:
Definition: DependencyConfiguration.h:45
Elements::Services
Definition: ConnectionConfiguration.h:34
DataSynchronizer.h
Elements::Services::DataSync::ConnectionConfiguration
The connection configuration mainly holds:
Definition: ConnectionConfiguration.h:75
Elements
Definition: callBackExample.h:35
Elements::Services::DataSync::path
Path::Item path
importing the path item from ElementsKernel
Definition: DataSyncUtils.h:41