17 #ifndef GEPETTO_GUI_PLUGININTERFACE_HH
18 #define GEPETTO_GUI_PLUGININTERFACE_HH
22 #include <QOpenGLContext>
40 virtual QString
name()
const = 0;
46 }
catch (
const std::exception& e) {
47 errorMsg_ = QString(e.what());
51 bool isInit()
const {
return isInit_; }
53 const QString&
errorMsg()
const {
return errorMsg_; }
69 virtual QAction*
action(
const std::string& jointName)
const = 0;
100 Q_DECLARE_INTERFACE(
gepetto::gui::JointModifierInterface,
101 "
gepetto-gui.plugin.joint-modifier/0.0")
102 Q_DECLARE_INTERFACE(
gepetto::gui::ModelInterface,
103 "
gepetto-gui.plugin.model/0.0")
104 Q_DECLARE_INTERFACE(
gepetto::gui::ConnectionInterface,
105 "
gepetto-gui.plugin.connection/0.0")
Definition: plugin-interface.hh:88
virtual ~ConnectionInterface()
Definition: plugin-interface.hh:90
virtual void openConnection()=0
virtual void closeConnection()=0
Definition: plugin-interface.hh:65
virtual QAction * action(const std::string &jointName) const =0
virtual ~JointModifierInterface()
Definition: plugin-interface.hh:67
Definition: plugin-interface.hh:74
virtual void loadEnvironmentModel(DialogLoadEnvironment::EnvironmentDefinition ed)=0
virtual ~ModelInterface()
Definition: plugin-interface.hh:76
virtual void loadRobotModel(DialogLoadRobot::RobotDefinition rd)=0
virtual std::string getBodyFromJoint(const std::string &jointName) const =0
Definition: plugin-interface.hh:34
void doInit()
Definition: plugin-interface.hh:42
virtual QString name() const =0
const QString & errorMsg() const
Definition: plugin-interface.hh:53
bool isInit() const
Definition: plugin-interface.hh:51
virtual ~PluginInterface()
Definition: plugin-interface.hh:38
PluginInterface()
Definition: plugin-interface.hh:36
const int DockKeyShortcutBase
Definition: plugin-interface.hh:30
Definition: action-search-bar.hh:27
Definition: dialogloadenvironment.hh:36
Definition: dialogloadrobot.hh:33