27 #include "../../../qt/af/ApplicationController.h" 
   28 #include "../../../sa/qt/SkaterDialog.h" 
   34   createAction(tr(
"Skater...").toStdString(), 
"sa-skater-icon");
 
   35   m_action->setObjectName(
"Processing.Spatial Analysis.Skater");
 
   46   std::list<te::map::AbstractLayerPtr> layersList = getLayers();
 
   50   if(dlg.exec() == QDialog::Accepted)
 
QAction * m_action
Action used to call the process. 
 
te::map::AbstractLayerPtr getOutputLayer()
 
void setLayers(std::list< te::map::AbstractLayerPtr > layers)
Set the layer that can be used. 
 
This file defines the concrete class for Skater Action. 
 
SkaterAction(QMenu *menu)
 
static ApplicationController & getInstance()
It returns a reference to the singleton instance. 
 
virtual void onActionActivated(bool checked)
 
void createAction(std::string name, std::string pixmap="")
Create and set the actions parameters. 
 
This is an abstract class used to register actions into sa pluging.