GeopackageSynchronizer.h
Go to the documentation of this file.
1 /* Copyright (C) 2011-2012 National Institute For Space Research (INPE) - Brazil.
2 
3 This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5 TerraLib is free software: you can redistribute it and/or modify
6 it under the terms of the GNU Lesser General Public License as published by
7 the Free Software Foundation, either version 3 of the License,
8 or (at your option) any later version.
9 
10 TerraLib is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU Lesser General Public License for more details.
14 
15 You should have received a copy of the GNU Lesser General Public License
16 along with TerraLib. See COPYING. If not, write to
17 TerraLib Team at <terralib-team@terralib.org>.
18 */
19 
20 /*!
21 \file src/terraMobilePlugin/core/GeoPackageSynchronizer.h
22 
23 \brief This file is used to Synchronizer operation.
24 */
25 
26 #ifndef __TE_QT_PLUGINS_TERRAMOBILE_INTERNAL_GEOPACKAGESYNCHRONIZER_H
27 #define __TE_QT_PLUGINS_TERRAMOBILE_INTERNAL_GEOPACKAGESYNCHRONIZER_H
28 
29 // TerraLib
30 #include "../../../../dataaccess/datasource/DataSource.h"
31 
32 // STL
33 #include <memory>
34 
35 
36 namespace te
37 {
38  namespace qt
39  {
40  namespace plugins
41  {
42  namespace terramobile
43  {
44  /*!
45  \class GeoPackageSynchronizer
46 
47  \brief This file is used to Synchronizer operation.
48  */
50  {
51 
52  public:
53 
55 
57 
58  public:
59 
60  void setInputParameters(te::da::DataSource* inputDataSource, std::string inputDataSet, te::da::DataSource* outputDataSource, std::string outputDataset);
61 
62  void synchronize();
63 
64  protected:
65 
66  void checkParameters();
67 
68  protected:
69 
71  std::string m_inputDataSet;
72 
74  std::string m_outputDataset;
75 
76  };
77  } // end namespace thirdParty
78  } // end namespace plugins
79  } // end namespace qt
80 } // end namespace te
81 
82 #endif // __TE_QT_PLUGINS_TERRAMOBILE_INTERNAL_GEOPACKAGESYNCHRONIZER_H
83 
This file is used to Synchronizer operation.
void setInputParameters(te::da::DataSource *inputDataSource, std::string inputDataSet, te::da::DataSource *outputDataSource, std::string outputDataset)
An abstract class for data providers like a DBMS, Web Services or a regular file. ...
Definition: DataSource.h:119
URI C++ Library.