25 #ifndef __TERRALIB_RP_INTERNAL_RASTERHANDLER_H 
   26 #define __TERRALIB_RP_INTERNAL_RASTERHANDLER_H 
   30 #include "../dataaccess/datasource/DataSource.h" 
   31 #include "../dataaccess/datasource/DataSourceTransactor.h" 
   32 #include "../dataaccess/dataset/DataSet.h" 
   33 #include "../raster/Raster.h" 
   35 #include <boost/noncopyable.hpp> 
  140           std::unique_ptr< te::da::DataSource >& dataSourcePtr,
 
  141           std::unique_ptr< te::da::DataSourceTransactor >& transactorPtr,
 
  142           std::unique_ptr< te::da::DataSet >& dataSetPtr,
 
  143           std::unique_ptr< te::rst::Raster >& rasterPtr );
 
A dataset is the unit of information manipulated by the data access module of TerraLib.
 
A DataSourceTransactor can be viewed as a connection to the data source for reading/writing things in...
 
An abstract class for data providers like a DBMS, Web Services or a regular file.
 
std::unique_ptr< te::da::DataSet > m_dataSetPtr
A pointer to a data set instance related to the transactor instance pointed by m_transactorPtr.
 
void release(RasterHandler &other)
Relase the internal state and give the ownership to the given external handler instance.
 
std::unique_ptr< te::da::DataSource > m_dataSourcePtr
A pointer to a datasource instance.
 
void release(std::unique_ptr< te::da::DataSource > &dataSourcePtr, std::unique_ptr< te::da::DataSourceTransactor > &transactorPtr, std::unique_ptr< te::da::DataSet > &dataSetPtr, std::unique_ptr< te::rst::Raster > &rasterPtr)
Relase the internal state and give the ownership to the given pointers.
 
te::rst::Raster * getRasterPtr()
Returns a pointer the the handled raster instance or NULL if no instance is handled.
 
void reset(te::da::DataSource *dataSourcePtr, te::da::DataSourceTransactor *transactorPtr, te::da::DataSet *dataSetPtr, te::rst::Raster *rasterPtr)
Reset the internal state (all pointed objects are deleted).
 
void reset(te::rst::Raster *rasterPtr)
Reset the internal state (all pointed objects are deleted).
 
RasterHandler(te::rst::Raster *rasterPtr)
Build a instance using the given raster naked pointer.
 
RasterHandler(te::da::DataSourceTransactor *transactorPtr, te::da::DataSet *dataSetPtr, te::rst::Raster *rasterPtr)
Build a instance using the given naked pointers.
 
RasterHandler(te::da::DataSource *dataSourcePtr, te::da::DataSourceTransactor *transactorPtr, te::da::DataSet *dataSetPtr, te::rst::Raster *rasterPtr)
Build a instance using the given naked pointers.
 
std::unique_ptr< te::rst::Raster > m_rasterPtr
A pointer to a raster instance related to the data set instance pointed by m_dataSetPtr.
 
void reset()
Reset the internal state (all internal pointed objects are deleted).
 
std::unique_ptr< te::da::DataSourceTransactor > m_transactorPtr
A pointer to a transactor instance that may or may not be related to data source instance pointed by ...
 
void reset(te::da::DataSourceTransactor *transactorPtr, te::da::DataSet *dataSetPtr, te::rst::Raster *rasterPtr)
Reset the internal state (all pointed objects are deleted).
 
An abstract class for raster data strucutures.
 
#define TERPEXPORT
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).