28#ifndef __TERRALIB_VP_INTERNAL_GROUP_THREAD_MANAGER_H
29#define __TERRALIB_VP_INTERNAL_GROUP_THREAD_MANAGER_H
39#include <boost/thread/mutex.hpp>
78 , std::map<std::string, te::dt::AbstractData*> specificParams);
100 void addOutput(std::vector<te::mem::DataSetItem*>& itemGroup);
102 void addWarning(
const std::string& warning,
const bool& appendIfExists =
false);
This class can be used to inform the progress of a task.
This class can be used to inform the progress of a task.
A class that models the description of a dataset.
A dataset is the unit of information manipulated by the data access module of TerraLib.
An abstract class for data providers like a DBMS, Web Services or a regular file.
Geometry is the root class of the geometries hierarchy, it follows OGC and ISO standards.
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
Implementation of a random-access dataset class for the TerraLib In-Memory Data Access driver.
te::common::TaskProgress m_task
void addOutput(std::vector< te::mem::DataSetItem * > &itemGroup)
te::da::DataSetType * getOutputDataSetType() const
std::map< std::string, std::vector< int > > m_groups
GroupThreadManager(const std::map< std::string, std::vector< int > > &groups, te::da::DataSet *dataSet, te::da::DataSetType *dataSetType, te::mem::DataSet *outputDataSet, te::da::DataSetType *outputDataSetType, te::da::DataSource *outputDataSource, std::map< std::string, te::dt::AbstractData * > specificParams)
virtual ~GroupThreadManager()
const GroupThreadManager & operator=(const GroupThreadManager &)
te::da::DataSetType * getDataSetType() const
std::vector< std::string > getWarnings() const
void addWarning(const std::string &warning, const bool &appendIfExists=false)
std::vector< std::vector< te::mem::DataSetItem * > > m_outputQueue
bool getNextOutput(std::vector< te::mem::DataSetItem * > &nextOutput)
te::mem::DataSet * m_outputDataSet
te::da::DataSetType * m_outputDataSetType
te::da::DataSetType * m_dataSetType
te::da::DataSource * m_outputDataSource
std::vector< std::string > m_warnings
te::da::DataSet * m_dataSet
std::map< std::string, te::dt::AbstractData * > getSpecificParameters() const
te::mem::DataSet * getClearOutputDataSet()
bool getNextGroup(std::vector< te::mem::DataSetItem * > &nextGroup)
std::map< std::string, te::dt::AbstractData * > m_specificParams
te::da::DataSource * getOutputDataSource() const
boost::mutex m_mtxWarning
te::mem::DataSetItem * createOutputItem()
std::map< std::string, std::vector< int > >::iterator m_groupsIterator
GroupThreadManager(const GroupThreadManager &)
Namespace for the Common module of TerraLib.
Namespace for the DataAccess API of TerraLib.
Namespace for the Vector Geometry module of TerraLib.
Namespace for the memory data source of TerraLib.
Namespace for Vector Processing module of TerraLib.
Configuration flags for the Terrralib Vector Processing module.
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.