Elements  5.8
A C++ base framework for the Euclid Software.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 
19 #ifndef ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_IRODSSYNCHRONIZER_H_
20 #define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_IRODSSYNCHRONIZER_H_
21 
22 #include <string>
23 
24 #include "ElementsKernel/Export.h"
25 
27 
28 namespace ElementsServices {
29 namespace DataSync {
30 
35 
41 
42 public:
43 
44  virtual ~IrodsSynchronizer() = default;
45 
47  const ConnectionConfiguration& connection,
48  const DependencyConfiguration& dependency);
49 
50  std::string createDownloadCommand(
51  path distantFile,
52  path localFile) const override;
53 
54 };
55 
56 } // namespace DataSync
57 } // namespace ElementsServices
58 
59 #endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_IRODSSYNCHRONIZER_H_
The dependency configurations holds, for each test file to be retrieved:
STL class.
ELEMENTS_API bool irodsIsInstalled()
Check whether the iRODS client is installed.
defines the macros to be used for explicit export of the symbols
Base class to synchronize test data.
boost::filesystem::path path
Definition: DataSyncUtils.h:33
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition: Export.h:74
A data synchronizer for iRODS hosts.
The connection configuration mainly holds: