Go to the documentation of this file.
28 #ifndef __TERRALIB_VP_INTERNAL_GROUP_THREAD_MANAGER_H
29 #define __TERRALIB_VP_INTERNAL_GROUP_THREAD_MANAGER_H
38 #include <boost/thread/mutex.hpp>
77 , std::map<std::string, te::dt::AbstractData*> specificParams);
99 void addOutput(std::vector<te::mem::DataSetItem*>& itemGroup);
101 void addWarning(
const std::string& warning,
const bool& appendIfExists =
false);
133 #endif // __TERRALIB_VP_INTERNAL_GROUP_THREAD_MANAGER_H
te::da::DataSource * getOutputDataSource() const
std::vector< std::string > m_warnings
te::da::DataSetType * getOutputDataSetType() const
te::mem::DataSet * m_outputDataSet
GroupThreadManager(const GroupThreadManager &)
virtual ~GroupThreadManager()
void addWarning(const std::string &warning, const bool &appendIfExists=false)
te::common::TaskProgress m_task
te::da::DataSetType * m_dataSetType
#define TEVPEXPORT
You can use this macro in order to export/import classes and functions from this module.
std::vector< std::string > getWarnings() const
const GroupThreadManager & operator=(const GroupThreadManager &)
An implementation of the DatasetItem class for the TerraLib In-Memory Data Access driver.
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)
te::mem::DataSetItem * createOutputItem()
std::vector< std::vector< te::mem::DataSetItem * > > m_outputQueue
te::da::DataSet * m_dataSet
std::map< std::string, std::vector< int > >::iterator m_groupsIterator
An abstract class for data providers like a DBMS, Web Services or a regular file.
void addOutput(std::vector< te::mem::DataSetItem * > &itemGroup)
boost::mutex m_mtxWarning
bool getNextGroup(std::vector< te::mem::DataSetItem * > &nextGroup)
This class can be used to inform the progress of a task.
te::da::DataSetType * getDataSetType() const
A dataset is the unit of information manipulated by the data access module of TerraLib.
std::map< std::string, te::dt::AbstractData * > m_specificParams
Proxy configuration file for TerraView (see terraview_config.h).
A class that models the description of a dataset.
te::da::DataSource * m_outputDataSource
std::map< std::string, std::vector< int > > m_groups
te::mem::DataSet * getClearOutputDataSet()
Implementation of a random-access dataset class for the TerraLib In-Memory Data Access driver.
bool getNextOutput(std::vector< te::mem::DataSetItem * > &nextOutput)
te::da::DataSetType * m_outputDataSetType
std::map< std::string, te::dt::AbstractData * > getSpecificParameters() const