28 #ifndef __TERRALIB_VP_INTERNAL_GROUP_THREAD_MANAGER_H
29 #define __TERRALIB_VP_INTERNAL_GROUP_THREAD_MANAGER_H
32 #include "../common/progress/TaskProgress.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.
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.
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)
std::map< std::string, te::dt::AbstractData * > getSpecificParameters() 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()
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
std::map< std::string, std::vector< int > >::iterator m_groupsIterator
te::da::DataSetType * m_outputDataSetType
te::da::DataSetType * m_dataSetType
te::da::DataSource * m_outputDataSource
const GroupThreadManager & operator=(const GroupThreadManager &)
te::mem::DataSetItem * createOutputItem()
std::vector< std::string > m_warnings
te::da::DataSet * m_dataSet
bool getNextGroup(std::vector< te::mem::DataSetItem * > &nextGroup)
std::map< std::string, te::dt::AbstractData * > m_specificParams
boost::mutex m_mtxWarning
te::mem::DataSet * getClearOutputDataSet()
std::vector< std::string > getWarnings() const
te::da::DataSetType * getOutputDataSetType() const
GroupThreadManager(const GroupThreadManager &)
te::da::DataSource * getOutputDataSource() const
te::da::DataSetType * getDataSetType() const
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
Proxy configuration file for TerraView (see terraview_config.h).