Abstract class used to define an operation.  
 More...
#include <AbstractOperation.h>
 | 
| bool  | m_aborted | 
|   | Becames true if the abort function is called. Concrete classes must check for this value from time to time.  More...
  | 
|   | 
| AbstractOperationImpl *  | m_impl | 
|   | Holds all the attributes of the class.  More...
  | 
|   | 
Abstract class used to define an operation. 
Definition at line 203 of file AbstractOperation.h.
 
◆ AbstractOperation()
      
        
          | te::vp::AbstractOperation::AbstractOperation  | 
          ( | 
          const std::string &  | 
          operationName | ) | 
           | 
        
      
 
 
◆ ~AbstractOperation()
  
  
      
        
          | virtual te::vp::AbstractOperation::~AbstractOperation  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Virtual destructor. 
Initializes the operation input and output 
 
 
◆ abort()
      
        
          | void te::vp::AbstractOperation::abort  | 
          ( | 
           | ) | 
           | 
        
      
 
Returns TRUE if the operation has been aborted. FALSE otherwise. 
 
 
◆ addOutputColumns()
  
  
      
        
          | virtual void te::vp::AbstractOperation::addOutputColumns  | 
          ( | 
          te::da::DataSetType *  | 
          outputDataSetType | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
Initializes the operation input. 
 
 
◆ createBasicOutputDataSetType()
  
  
      
        
          | virtual te::da::DataSetType* te::vp::AbstractOperation::createBasicOutputDataSetType  | 
          ( | 
          const std::string &  | 
          dataSetName,  | 
         
        
           | 
           | 
          int  | 
          srid,  | 
         
        
           | 
           | 
          te::gm::GeomType  | 
          geometryType,  | 
         
        
           | 
           | 
          const std::string &  | 
          geometryColumnName  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
protectedvirtual   | 
  
 
< Creates the basic dataSetType for the output containing all the columns that are required 
Reimplemented in te::vp::SubdivideOperation.
 
 
◆ createOutputFeature()
  
  
      
        
          | virtual te::vp::Feature* te::vp::AbstractOperation::createOutputFeature  | 
          ( | 
          std::size_t  | 
          outputIndex | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
It creates the output feature based on the given output dataaccess index. 
- Parameters
 - 
  
    | outputIndex | The index of the output dataAccess.  | 
  
   
 
 
◆ execute()
It executes the operation. 
- Parameters
 - 
  
    | input | Input vector data to be processed. | 
  
   
- Precondition
 - The parameters must be valid (internal check)
 
- Exceptions
 - 
  
    | Exception | It throws an exception if something goes wrong during the execution. | 
  
   
\Return The output memory data processed. 
 
 
◆ executeImpl()
◆ getCapabilities()
◆ getDataSetType()
  
  
      
        
          | virtual const te::da::DataSetType* te::vp::AbstractOperation::getDataSetType  | 
          ( | 
          std::size_t  | 
          outputIndex | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
Gets the dataSetType of the 'outputIndex-th' output. 
- Parameters
 - 
  
    | outputIndex | The index of the output dataAccess. Sets the parameters to be used by the operation  | 
  
   
 
 
◆ getName()
      
        
          | const std::string& te::vp::AbstractOperation::getName  | 
          ( | 
           | ) | 
           const | 
        
      
 
Gets the output geometry type. 
 
 
◆ getOutputGeometryType()
◆ getParameters()
Gets the operation report. 
 
 
◆ getReport()
◆ handleOutputPropertyNamesChanges()
◆ initialize()
  
  
      
        
          | virtual void te::vp::AbstractOperation::initialize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ initializeInput()
  
  
      
        
          | virtual bool te::vp::AbstractOperation::initializeInput  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
Initializes the operation output. 
 
 
◆ initializeOutput()
  
  
      
        
          | virtual bool te::vp::AbstractOperation::initializeOutput  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protectedvirtual   | 
  
 
Function that effectivelly executes the operation. It must be implemented by the concrete classes. 
 
 
◆ isAborted()
      
        
          | bool te::vp::AbstractOperation::isAborted  | 
          ( | 
           | ) | 
           const | 
        
      
 
Get the capabilities of the operation. Basically, operation will have 2 inputs, 1 output, and support subdivision. If it is not the case of the concrete class, this function should be overriden. 
 
 
◆ prepareInputData()
      
        
          | bool te::vp::AbstractOperation::prepareInputData  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ prepareOutputData()
      
        
          | bool te::vp::AbstractOperation::prepareOutputData  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ setOutputGeometryType()
      
        
          | void te::vp::AbstractOperation::setOutputGeometryType  | 
          ( | 
          const te::gm::GeomType  | 
          newType | ) | 
           | 
        
      
 
 
◆ setParameters()
Gets the operation current parameters. 
 
 
◆ m_aborted
  
  
      
        
          | bool te::vp::AbstractOperation::m_aborted | 
         
       
   | 
  
protected   | 
  
 
Becames true if the abort function is called. Concrete classes must check for this value from time to time. 
Definition at line 303 of file AbstractOperation.h.
 
 
◆ m_impl
  
  
      
        
          | AbstractOperationImpl* te::vp::AbstractOperation::m_impl | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/vp/AbstractOperation.h