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
te
TerraLib.
Definition:
AddressGeocodingOp.h:52
te::vp::OperationThreadManagerListener::processingStateChanged
virtual void processingStateChanged(const te::vp::ProgressState &newState)=0
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::OperationThreadManagerListener::processingFinished
virtual void processingFinished(const te::vp::OperationResult &result)=0
te::vp::ProgressState::PRE_PROCESSING_STARTED
@ PRE_PROCESSING_STARTED
Config.h
Proxy configuration file for TerraView (see terraview_config.h).
te::vp::OperationThreadManagerListener
Definition:
OperationThreadManagerListener.h:43
te::vp::ProgressState
ProgressState
Definition:
OperationThreadManagerListener.h:38
te::vp::OperationResult
OperationResult
Definition:
AbstractOperation.h:54
git_release
src
terralib
vp
OperationThreadManagerListener.h
Generated on Fri Dec 4 2020 09:43:38 for TerraLib by
1.8.20