Elements
6.2
A C++ base framework for the Euclid Software.
ElementsServices
ElementsServices
DataSync
DataSynchronizerMaker.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_DATASYNCHRONIZERMAKER_H_
25
#define ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZERMAKER_H_
26
27
#include <memory>
28
#include <stdexcept>
29
30
#include "
ElementsKernel/Export.h
"
31
32
#include "
ElementsServices/DataSync/DataSyncUtils.h
"
33
#include "
ElementsServices/DataSync/DataSynchronizer.h
"
34
#include "
ElementsServices/DataSync/IrodsSynchronizer.h
"
35
#include "
ElementsServices/DataSync/WebdavSynchronizer.h
"
36
37
namespace
Elements
{
38
inline
namespace
Services {
39
namespace
DataSync {
40
41
ELEMENTS_API
std::shared_ptr<DataSynchronizer>
createSynchronizer
(ConnectionConfiguration connection,
42
DependencyConfiguration dependency);
43
44
}
// namespace DataSync
45
}
// namespace Services
46
}
// namespace Elements
47
48
namespace
ElementsServices
=
Elements::Services
;
49
50
#endif // ELEMENTSSERVICES_ELEMENTSSERVICES_DATASYNC_DATASYNCHRONIZERMAKER_H_
51
Export.h
defines the macros to be used for explicit export of the symbols
std::shared_ptr
STL class.
Elements::Services::DataSync::createSynchronizer
ELEMENTS_API std::shared_ptr< DataSynchronizer > createSynchronizer(ConnectionConfiguration connection, DependencyConfiguration dependency)
Definition:
DataSynchronizerMaker.cpp:27
IrodsSynchronizer.h
ELEMENTS_API
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
Definition:
Export.h:74
WebdavSynchronizer.h
DataSyncUtils.h
Elements::Services
Definition:
ConnectionConfiguration.h:34
DataSynchronizer.h
Elements
Definition:
callBackExample.h:35
Generated by
1.8.17