OperationThreadManagerListener.h
Go to the documentation of this file.
1
/* Copyright (C) 2008 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 terralin/vp/OperationThreadManagerListener.h
22
23
\brief This class represents a vector processing engine to help the processing of a large number of geometries by dividing it into smallers groups
24
*/
25
26
#ifndef __TERRALIB_VP_INTERNAL_OPERATIONTHREADMANAGERLISTENER_H
27
#define __TERRALIB_VP_INTERNAL_OPERATIONTHREADMANAGERLISTENER_H
28
29
#include "
Config.h
"
30
31
namespace
te
32
{
33
namespace
vp
34
{
35
enum class
OperationResult
;
36
37
enum class
ProgressState
38
{
39
PRE_PROCESSING_STARTED
,
PRE_PROCESSING_FINISHED
,
PROCESSING_STARTED
,
PROCESSING_FINISHED
,
POST_PROCESSING_STARTED
,
POST_PROCESSING_FINISHED
,
CANCEL_REQUESTED
40
};
41
42
class
TEVPEXPORT
OperationThreadManagerListener
43
{
44
public
:
45
46
virtual
void
processingStateChanged(
const
te::vp::ProgressState
& newState) = 0;
47
48
virtual
void
processingFinished(
const
te::vp::OperationResult
& result) = 0;
49
};
50
}
51
}
52
53
#endif //__TERRALIB_VP_INTERNAL_OPERATIONTHREADMANAGERLISTENER_H
TEVPEXPORT
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Definition:
Config.h:61
te::vp::ProgressState::PRE_PROCESSING_STARTED
te::vp::ProgressState
ProgressState
Definition:
OperationThreadManagerListener.h:37
te::vp::ProgressState::PROCESSING_STARTED
te::vp::OperationThreadManagerListener
Definition:
OperationThreadManagerListener.h:42
te::vp::ProgressState::PROCESSING_FINISHED
te::vp::ProgressState::PRE_PROCESSING_FINISHED
te
TerraLib.
Definition:
AddressGeocodingOp.h:51
te::vp::OperationResult
OperationResult
Definition:
AbstractOperation.h:53
te::vp::ProgressState::POST_PROCESSING_STARTED
te::vp::ProgressState::CANCEL_REQUESTED
te::vp::ProgressState::POST_PROCESSING_FINISHED
Config.h
Configuration flags for the Terrralib Vector Processing module.
git_release
src
terralib
vp
OperationThreadManagerListener.h
Generated on Fri Jul 3 2020 10:10:54 for TerraLib by
1.8.14