hpp-gui  5.1.0
Graphical interface for HPP
iconstraint.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) CNRS
3 // Author: Heidy Dallard
4 //
5 
6 #ifndef HPP_GUI_ICONSTRAINT_HH
7 #define HPP_GUI_ICONSTRAINT_HH
8 
9 #include <QObject>
10 
11 namespace hpp {
12 namespace gui {
13 class IConstraint : public QObject {
14  Q_OBJECT
15  signals:
16  void constraintCreated(QString name);
17  void finished();
18 
19  public:
20  virtual ~IConstraint() {}
21  virtual QString getName() const = 0;
22  virtual QWidget* getWidget() const = 0;
23  virtual void reload() = 0;
24  virtual void operator()(QString const& name) = 0;
25 };
26 } // namespace gui
27 } // namespace hpp
28 
29 #endif // HPP_GUI_ICONSTRAINT_HH
hpp.gui::IConstraint::operator()
virtual void operator()(QString const &name)=0
hpp.gui::IConstraint::constraintCreated
void constraintCreated(QString name)
hpp.gui::IConstraint::getWidget
virtual QWidget * getWidget() const =0
hpp.gui::IConstraint
Definition: iconstraint.hh:13
hpp.gui::IConstraint::reload
virtual void reload()=0
hpp.gui::IConstraint::finished
void finished()
hpp
namespace that encapsulate all the softwares of humanoid-path-planner
Definition: __init__.py:1
hpp.gui::IConstraint::~IConstraint
virtual ~IConstraint()
Definition: iconstraint.hh:20
hpp.gui::IConstraint::getName
virtual QString getName() const =0