gepetto-viewer-corba  5.6.0
Corba server for gepetto-viewer
plugin.hh
Go to the documentation of this file.
1 // Copyright (c) 2018 CNRS
2 // Authors: Joseph Mirabel
3 //
4 //
5 // This file is part of gepetto-viewer-corba
6 // gepetto-viewer-corba is free software: you can redistribute it
7 // and/or modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation, either version
9 // 3 of the License, or (at your option) any later version.
10 //
11 // gepetto-viewer-corba is distributed in the hope that it will be
12 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // General Lesser Public License for more details. You should have
15 // received a copy of the GNU Lesser General Public License along with
16 // gepetto-viewer-corba If not, see
17 // <http://www.gnu.org/licenses/>.
18 
19 #include <QObject>
20 
21 #include <gepetto/gui/plugin-interface.hh>
22 
24 
26 class OmniOrbServerPlugin : public QObject, public gepetto::gui::PluginInterface
27 {
28  Q_OBJECT
29  Q_INTERFACES (gepetto::gui::PluginInterface)
30 #if (QT_VERSION >= QT_VERSION_CHECK(5,0,0))
31  Q_PLUGIN_METADATA (IID "gepetto-viewer-corba.omniorbserver")
32 #endif
33 
34  public:
36 
38 
39  QString name () const { return QString("OmniORB Server"); }
40 
41  void stopServer ();
42 
43  protected:
44  void init();
45 
46  private:
47  ViewerServerProcess* server_;
48 };
Definition: omniorbthread.hh:30
QString name() const
Definition: plugin.hh:39
Launch a OmniORB CORBA server for remote access to the GUI.
Definition: plugin.hh:26