te::rp::RasterHandler Class Reference

RasterHandler. More...

#include <RasterHandler.h>

Inheritance diagram for te::rp::RasterHandler:

Public Member Functions

te::rst::RastergetRasterPtr ()
 Returns a pointer the the handled raster instance or NULL if no instance is handled. More...
 
 RasterHandler ()
 
 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. More...
 
 RasterHandler (te::da::DataSourceTransactor *transactorPtr, te::da::DataSet *dataSetPtr, te::rst::Raster *rasterPtr)
 Build a instance using the given naked pointers. More...
 
 RasterHandler (te::rst::Raster *rasterPtr)
 Build a instance using the given raster naked pointer. More...
 
void release (std::auto_ptr< te::da::DataSource > &dataSourcePtr, std::auto_ptr< te::da::DataSourceTransactor > &transactorPtr, std::auto_ptr< te::da::DataSet > &dataSetPtr, std::auto_ptr< te::rst::Raster > &rasterPtr)
 Relase the internal state and give the ownership to the given pointers. More...
 
void release (RasterHandler &other)
 Relase the internal state and give the ownership to the given external handler instance. More...
 
void reset ()
 Reset the internal state (all internal pointed objects are deleted). More...
 
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). More...
 
void reset (te::da::DataSourceTransactor *transactorPtr, te::da::DataSet *dataSetPtr, te::rst::Raster *rasterPtr)
 Reset the internal state (all pointed objects are deleted). More...
 
void reset (te::rst::Raster *rasterPtr)
 Reset the internal state (all pointed objects are deleted). More...
 
 ~RasterHandler ()
 

Protected Attributes

std::auto_ptr< te::da::DataSetm_dataSetPtr
 A pointer to a data set instance related to the transactor instance pointed by m_transactorPtr. More...
 
std::auto_ptr< te::da::DataSourcem_dataSourcePtr
 A pointer to a datasource instance. More...
 
std::auto_ptr< te::rst::Rasterm_rasterPtr
 A pointer to a raster instance related to the data set instance pointed by m_dataSetPtr. More...
 
std::auto_ptr< te::da::DataSourceTransactorm_transactorPtr
 A pointer to a transactor instance that may or may not be related to data source instance pointed by m_dataSourcePtr. More...
 

Detailed Description

RasterHandler.

Definition at line 47 of file RasterHandler.h.

Constructor & Destructor Documentation

te::rp::RasterHandler::RasterHandler ( )
te::rp::RasterHandler::~RasterHandler ( )
te::rp::RasterHandler::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.

Parameters
dataSourcePtrData source pointer.
transactorPtrA pointer to a transactor instance related to the data source pointed by dataSourcePtr.
dataSetPtrA pointer to a data set instance related to the instance pointed by persistencePtr.
rasterPtrA pointer to a raster instance related to the instance pointed by rasterPtr.
Note
All given pionters will be acquired and their respective objects will be deleted at desctruction time.
te::rp::RasterHandler::RasterHandler ( te::da::DataSourceTransactor transactorPtr,
te::da::DataSet dataSetPtr,
te::rst::Raster rasterPtr 
)

Build a instance using the given naked pointers.

Parameters
transactorPtrTransactor pointer.
dataSetPtrA pointer to a data set instance related to the instance pointed by persistencePtr.
rasterPtrA pointer to a raster instance related to the instance pointed by rasterPtr.
Note
All given pionters will be acquired and their respective objects will be deleted at desctruction time.
te::rp::RasterHandler::RasterHandler ( te::rst::Raster rasterPtr)

Build a instance using the given raster naked pointer.

Parameters
rasterPtrA pointer to a raster instance.
Note
All given pionters will be acquired and their respective objects will be deleted at desctruction time.

Member Function Documentation

te::rst::Raster* te::rp::RasterHandler::getRasterPtr ( )

Returns a pointer the the handled raster instance or NULL if no instance is handled.

Returns
Returns a pointer the the handled raster instance or NULL if no instance is handled.
void te::rp::RasterHandler::release ( std::auto_ptr< te::da::DataSource > &  dataSourcePtr,
std::auto_ptr< te::da::DataSourceTransactor > &  transactorPtr,
std::auto_ptr< te::da::DataSet > &  dataSetPtr,
std::auto_ptr< te::rst::Raster > &  rasterPtr 
)

Relase the internal state and give the ownership to the given pointers.

Parameters
dataSourcePtrData source pointer.
transactorPtrA pointer to a transactor instance related to the data source pointed by dataSourcePtr.
dataSetPtrA pointer to a data set instance related to the instance pointed by persistencePtr.
rasterPtrA pointer to a raster instance related to the instance pointed by rasterPtr.
void te::rp::RasterHandler::release ( RasterHandler other)

Relase the internal state and give the ownership to the given external handler instance.

Parameters
otherThe external handler instance.
void te::rp::RasterHandler::reset ( )

Reset the internal state (all internal pointed objects are deleted).

void te::rp::RasterHandler::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).

Parameters
dataSourcePtrData source pointer.
transactorPtrA pointer to a transactor instance related to the data source pointed by dataSourcePtr.
dataSetPtrA pointer to a data set instance related to the instance pointed by persistencePtr.
rasterPtrA pointer to a raster instance related to the instance pointed by rasterPtr.
Note
All given pionters will be acquired and their respective objects will be deleted at desctruction time.
void te::rp::RasterHandler::reset ( te::da::DataSourceTransactor transactorPtr,
te::da::DataSet dataSetPtr,
te::rst::Raster rasterPtr 
)

Reset the internal state (all pointed objects are deleted).

Parameters
transactorPtrA pointer to a transactor instance related to the data source pointed by dataSourcePtr.
dataSetPtrA pointer to a data set instance related to the instance pointed by persistencePtr.
rasterPtrA pointer to a raster instance related to the instance pointed by rasterPtr.
Note
All given pionters will be acquired and their respective objects will be deleted at desctruction time.
void te::rp::RasterHandler::reset ( te::rst::Raster rasterPtr)

Reset the internal state (all pointed objects are deleted).

Parameters
rasterPtrA pointer to a raster instance.
Note
All given pionters will be acquired and their respective objects will be deleted at desctruction time.

Member Data Documentation

std::auto_ptr< te::da::DataSet > te::rp::RasterHandler::m_dataSetPtr
mutableprotected

A pointer to a data set instance related to the transactor instance pointed by m_transactorPtr.

Definition at line 157 of file RasterHandler.h.

std::auto_ptr< te::da::DataSource > te::rp::RasterHandler::m_dataSourcePtr
mutableprotected

A pointer to a datasource instance.

Definition at line 153 of file RasterHandler.h.

std::auto_ptr< te::rst::Raster > te::rp::RasterHandler::m_rasterPtr
mutableprotected

A pointer to a raster instance related to the data set instance pointed by m_dataSetPtr.

Definition at line 159 of file RasterHandler.h.

std::auto_ptr< te::da::DataSourceTransactor > te::rp::RasterHandler::m_transactorPtr
mutableprotected

A pointer to a transactor instance that may or may not be related to data source instance pointed by m_dataSourcePtr.

Definition at line 155 of file RasterHandler.h.


The documentation for this class was generated from the following file: