Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

omgmodellerwebservicesplugin.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2005 by Tim Sutton   *
00003  *   tim@linfiniti.com   *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU General Public License     *
00016  *   along with this program; if not, write to the                         *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
00019  ***************************************************************************/
00020 #ifndef OMGMODELLERWEBSERVICESPLUGIN_H
00021 #define OMGMODELLERWEBSERVICESPLUGIN_H
00022 
00023 //qt includes
00024 #include <QObject>
00025 #include <QString>
00026 #include <QStringList>
00027 #include <QMap>
00028 
00029 #include "omgalgorithm.h"
00030 #include "omgmodel.h"
00031 #include "omgmodellerplugininterface.h"
00032 //gsoap includes
00033 #include "stdsoap2.h"
00034 
00042 class OMG_PLUGIN_EXPORT OmgModellerWebServicesPlugin : public QObject, public OmgModellerPluginInterface
00043 {
00044   Q_OBJECT;
00045   Q_INTERFACES(OmgModellerPluginInterface);
00046   public:
00047   OmgModellerWebServicesPlugin( QObject* parent=0);
00048   ~OmgModellerWebServicesPlugin();
00052   QString createModel(OmgModel * theModel);
00057   void  projectModel(OmgModel * theModel);
00058 
00064   const QStringList getAlgorithmList();
00071   const OmgAlgorithmSet getAlgorithmSet();
00081    const QString getLayers(QString theBaseDir);
00082 
00086    const  QString getName() { return QString("Web Services Modeller Plugin"); };
00087 
00088   //
00089   // These are public for use by unit tests
00090   //
00091 
00093    wchar_t* convertToWideChar( const char* p );
00094    struct soap * getSoapConnection();
00095   public slots:
00096 
00097   private slots:
00098   
00099   signals:
00100   void error(QString);
00104   void logMessageUpdated(QString theMessage);
00111   void modelDone(QString theFileName);
00116   void modelProgressUpdate(int theProgress);
00117   private:
00122   bool initialise();
00123   int mModelProgress;
00124   int mMapProgress;
00125 
00126 
00127 };
00128 
00129 #endif //OMGMODELLERWEBSERVICESPLUGIN_H
00130 

Generated on Mon Apr 28 15:09:28 2008 for openModellerDesktop by  doxygen 1.4.1-20050210