#include <GeopackagePublisher.h>
Signals | |
| void | setCurrentStep (double curStep, double totalStep, std::string msg) |
Public Member Functions | |
| void | downloadGeopackageFile (std::string url, GeopackageFile gpkgFile, std::string pathDir) |
| void | emitSignal (double curStep, double totalStep) |
| GeopackagePublisher () | |
| std::string | getErrorMessage () |
| GeopackageFiles | getGeopackageFiles (std::string url) |
| void | uploadGeopackageFile (std::string url, std::string filePath, std::string fileName) |
| ~GeopackagePublisher () | |
Static Public Attributes | |
| static GeopackagePublisherOperation | m_gpkgOpType = te::qt::plugins::terramobile::GPKG_OP_NONE |
| static GeopackagePublisher * | m_staticPointer = 0 |
Protected Member Functions | |
| GeopackageFiles | readJSONInfo (std::string stream) |
Protected Attributes | |
| std::string | m_errorMessage |
Definition at line 69 of file GeopackagePublisher.h.
| te::qt::plugins::terramobile::GeopackagePublisher::GeopackagePublisher | ( | ) |
Definition at line 58 of file GeopackagePublisher.cpp.
References m_staticPointer.
| te::qt::plugins::terramobile::GeopackagePublisher::~GeopackagePublisher | ( | ) |
Definition at line 63 of file GeopackagePublisher.cpp.
| void te::qt::plugins::terramobile::GeopackagePublisher::downloadGeopackageFile | ( | std::string | url, |
| GeopackageFile | gpkgFile, | ||
| std::string | pathDir | ||
| ) |
Definition at line 160 of file GeopackagePublisher.cpp.
References te::core::CharEncoding::fromUTF8(), te::qt::plugins::terramobile::GPKG_OP_DOWNLOAD, te::qt::plugins::terramobile::GPKG_OP_NONE, te::gm::L, m_errorMessage, m_gpkgOpType, te::qt::plugins::terramobile::GeopackageFile::m_name, te::qt::plugins::terramobile::GeopackageFile::m_objId, progressFunc(), and write_data().
Referenced by te::qt::plugins::terramobile::GeoPackagePublisherDialog::onImportPushButtonClicked().
| void te::qt::plugins::terramobile::GeopackagePublisher::emitSignal | ( | double | curStep, |
| double | totalStep | ||
| ) |
Definition at line 382 of file GeopackagePublisher.cpp.
References te::qt::plugins::terramobile::GPKG_OP_DOWNLOAD, te::qt::plugins::terramobile::GPKG_OP_UPLOAD, m_gpkgOpType, and setCurrentStep().
Referenced by progressFunc().
| std::string te::qt::plugins::terramobile::GeopackagePublisher::getErrorMessage | ( | ) |
Definition at line 68 of file GeopackagePublisher.cpp.
References m_errorMessage.
Referenced by te::qt::plugins::terramobile::GeoPackagePublisherDialog::onExportPushButtonClicked(), and te::qt::plugins::terramobile::GeoPackagePublisherDialog::onImportPushButtonClicked().
| te::qt::plugins::terramobile::GeopackageFiles te::qt::plugins::terramobile::GeopackagePublisher::getGeopackageFiles | ( | std::string | url | ) |
Definition at line 79 of file GeopackagePublisher.cpp.
References m_errorMessage, readJSONInfo(), and WriteCallback().
Referenced by te::qt::plugins::terramobile::GeoPackagePublisherDialog::onImportSearchPushButtonClicked().
|
protected |
Definition at line 347 of file GeopackagePublisher.cpp.
References te::qt::plugins::terramobile::GeopackageFile::m_desc, m_errorMessage, te::qt::plugins::terramobile::GeopackageFile::m_name, te::qt::plugins::terramobile::GeopackageFile::m_objId, and te::qt::plugins::terramobile::GeopackageFile::m_status.
Referenced by getGeopackageFiles().
|
signal |
Referenced by emitSignal().
| void te::qt::plugins::terramobile::GeopackagePublisher::uploadGeopackageFile | ( | std::string | url, |
| std::string | filePath, | ||
| std::string | fileName | ||
| ) |
Definition at line 263 of file GeopackagePublisher.cpp.
References te::qt::plugins::terramobile::GPKG_OP_NONE, te::qt::plugins::terramobile::GPKG_OP_UPLOAD, te::gm::L, m_errorMessage, m_gpkgOpType, and progressFunc().
Referenced by te::qt::plugins::terramobile::GeoPackagePublisherDialog::onExportPushButtonClicked().
|
protected |
Definition at line 104 of file GeopackagePublisher.h.
Referenced by downloadGeopackageFile(), getErrorMessage(), getGeopackageFiles(), readJSONInfo(), and uploadGeopackageFile().
|
static |
Definition at line 110 of file GeopackagePublisher.h.
Referenced by downloadGeopackageFile(), emitSignal(), progressFunc(), and uploadGeopackageFile().
|
static |
Definition at line 108 of file GeopackagePublisher.h.
Referenced by GeopackagePublisher().