ModelEditorEvents.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013 Open Source Robotics Foundation
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16 */
17 #ifndef GAZEBO_GUI_MODEL_MODELEDITOREVENTS_HH_
18 #define GAZEBO_GUI_MODEL_MODELEDITOREVENTS_HH_
19 
20 #include <map>
21 #include <string>
22 #include <sdf/sdf.hh>
23 
24 #include "gazebo/common/Event.hh"
25 
26 #include "gazebo/util/system.hh"
27 
28 namespace gazebo
29 {
30  namespace gui
31  {
32  namespace model
33  {
34  class GZ_GUI_VISIBLE Events
35  {
39  public: template<typename T>
41  { return finishModel.Connect(_subscriber); }
42 
46  public: static void DisconnectFinishModel(
47  event::ConnectionPtr _subscriber)
49  { finishModel.Disconnect(_subscriber->Id()); }
50 
54  public: template<typename T>
56  { return saveModelEditor.Connect(_subscriber); }
57 
61  public: static void DisconnectSaveModelEditor(
62  event::ConnectionPtr _subscriber)
64  { saveModelEditor.Disconnect(_subscriber->Id()); }
65 
69  public: template<typename T>
71  { return saveAsModelEditor.Connect(_subscriber); }
72 
76  public: static void DisconnectSaveAsModelEditor(
77  event::ConnectionPtr _subscriber)
79  { saveAsModelEditor.Disconnect(_subscriber->Id()); }
80 
84  public: template<typename T>
86  { return newModelEditor.Connect(_subscriber); }
87 
91  public: static void DisconnectNewModelEditor(
92  event::ConnectionPtr _subscriber)
94  { newModelEditor.Disconnect(_subscriber->Id()); }
95 
99  public: template<typename T>
101  { return exitModelEditor.Connect(_subscriber); }
102 
106  public: static void DisconnectExitModelEditor(
107  event::ConnectionPtr _subscriber)
108  GAZEBO_DEPRECATED(8.0)
109  { exitModelEditor.Disconnect(_subscriber->Id()); }
110 
114  public: template<typename T>
116  { return modelChanged.Connect(_subscriber); }
117 
121  public: static void DisconnectModelChanged(
122  event::ConnectionPtr _subscriber)
123  GAZEBO_DEPRECATED(8.0)
124  { modelChanged.Disconnect(_subscriber->Id()); }
125 
129  public: template<typename T>
131  { return modelNameChanged.Connect(_subscriber); }
132 
136  public: static void DisconnectModelNameChanged(
137  event::ConnectionPtr _subscriber)
138  GAZEBO_DEPRECATED(8.0)
139  { modelNameChanged.Disconnect(_subscriber->Id()); }
140 
145  public: template<typename T>
146  static event::ConnectionPtr
148  { return modelPropertiesChanged.Connect(_subscriber); }
149 
154  public: static void DisconnectModelPropertiesChanged(
155  event::ConnectionPtr _subscriber)
156  GAZEBO_DEPRECATED(8.0)
157  { modelPropertiesChanged.Disconnect(_subscriber->Id()); }
158 
162  public: template<typename T>
164  { return saveModel.Connect(_subscriber); }
165 
169  public: static void DisconnectSaveModel(
170  event::ConnectionPtr _subscriber)
171  GAZEBO_DEPRECATED(8.0)
172  { saveModel.Disconnect(_subscriber->Id()); }
173 
177  public: template<typename T>
178  static event::ConnectionPtr ConnectNewModel(T _subscriber)
179  { return newModel.Connect(_subscriber); }
180 
184  public: static void DisconnectNewModel(
185  event::ConnectionPtr _subscriber)
186  GAZEBO_DEPRECATED(8.0)
187  { newModel.Disconnect(_subscriber->Id()); }
188 
193  public: template<typename T>
195  T _subscriber)
196  { return requestNestedModelRemoval.Connect(_subscriber); }
197 
203  event::ConnectionPtr _subscriber)
204  GAZEBO_DEPRECATED(8.0)
205  { requestNestedModelRemoval.Disconnect(_subscriber->Id()); }
206 
211  public: template<typename T>
213  T _subscriber)
214  { return requestNestedModelInsertion.Connect(_subscriber); }
215 
221  event::ConnectionPtr _subscriber)
222  GAZEBO_DEPRECATED(8.0)
223  { requestNestedModelInsertion.Disconnect(_subscriber->Id()); }
224 
228  public: template<typename T>
230  T _subscriber)
231  { return requestLinkScale.Connect(_subscriber); }
232 
236  public: template<typename T>
238  T _subscriber)
239  { return requestLinkMove.Connect(_subscriber); }
240 
244  public: static void DisconnectRequestLinkMove(
245  event::ConnectionPtr _subscriber)
246  GAZEBO_DEPRECATED(8.0)
247  { requestLinkMove.Disconnect(_subscriber->Id()); }
248 
253  public: template<typename T>
255  T _subscriber)
256  { return requestNestedModelMove.Connect(_subscriber); }
257 
262  public: static void DisconnectRequestNestedModelMove(
263  event::ConnectionPtr _subscriber)
264  GAZEBO_DEPRECATED(8.0)
265  { requestNestedModelMove.Disconnect(_subscriber->Id()); }
266 
270  public: template<typename T>
271  static event::ConnectionPtr
273  { return nestedModelInserted.Connect(_subscriber); }
274 
279  public: static void DisconnectNestedModelInserted(
280  event::ConnectionPtr _subscriber)
281  GAZEBO_DEPRECATED(8.0)
282  { nestedModelInserted.Disconnect(_subscriber->Id()); }
283 
287  public: template<typename T>
289  { return linkInserted.Connect(_subscriber); }
290 
294  public: static void DisconnectLinkInserted(
295  event::ConnectionPtr _subscriber)
296  GAZEBO_DEPRECATED(8.0)
297  { linkInserted.Disconnect(_subscriber->Id()); }
298 
302  public: template<typename T>
304  { return jointInserted.Connect(_subscriber); }
305 
309  public: static void DisconnectJointInserted(
310  event::ConnectionPtr _subscriber)
311  GAZEBO_DEPRECATED(8.0)
312  { jointInserted.Disconnect(_subscriber->Id()); }
313 
317  public: template<typename T>
319  { return jointChanged.Connect(_subscriber); }
320 
324  public: static void DisconnectJointChanged(
325  event::ConnectionPtr _subscriber)
326  GAZEBO_DEPRECATED(8.0)
327  { jointChanged.Disconnect(_subscriber->Id()); }
328 
332  public: template<typename T>
334  { return nestedModelRemoved.Connect(_subscriber); }
335 
340  public: static void DisconnectNestedModelRemoved(
341  event::ConnectionPtr _subscriber)
342  GAZEBO_DEPRECATED(8.0)
343  { nestedModelRemoved.Disconnect(_subscriber->Id()); }
344 
348  public: template<typename T>
350  T _subscriber)
351  { return requestLinkInsertion.Connect(_subscriber); }
352 
357  public: static void DisconnectRequestLinkInsertion(
358  event::ConnectionPtr _subscriber)
359  GAZEBO_DEPRECATED(8.0)
360  { requestLinkInsertion.Disconnect(_subscriber->Id()); }
361 
365  public: template<typename T>
367  T _subscriber)
368  { return requestLinkRemoval.Connect(_subscriber); }
369 
374  public: static void DisconnectRequestLinkRemoval(
375  event::ConnectionPtr _subscriber)
376  GAZEBO_DEPRECATED(8.0)
377  { requestLinkRemoval.Disconnect(_subscriber->Id()); }
378 
382  public: template<typename T>
384  { return linkRemoved.Connect(_subscriber); }
385 
389  public: static void DisconnectLinkRemoved(
390  event::ConnectionPtr _subscriber)
391  GAZEBO_DEPRECATED(8.0)
392  { linkRemoved.Disconnect(_subscriber->Id()); }
393 
397  public: template<typename T>
399  T _subscriber)
400  { return requestJointRemoval.Connect(_subscriber); }
401 
406  public: static void DisconnectRequestJointRemoval(
407  event::ConnectionPtr _subscriber)
408  GAZEBO_DEPRECATED(8.0)
409  { requestJointRemoval.Disconnect(_subscriber->Id()); }
410 
414  public: template<typename T>
416  T _subscriber)
417  { return requestJointInsertion.Connect(_subscriber); }
418 
423  public: static void DisconnectRequestJointInsertion(
424  event::ConnectionPtr _subscriber)
425  GAZEBO_DEPRECATED(8.0)
426  { requestJointInsertion.Disconnect(_subscriber->Id()); }
427 
431  public: template<typename T>
433  { return jointRemoved.Connect(_subscriber); }
434 
438  public: static void DisconnectJointRemoved(
439  event::ConnectionPtr _subscriber)
440  GAZEBO_DEPRECATED(8.0)
441  { jointRemoved.Disconnect(_subscriber->Id()); }
442 
446  public: template<typename T>
448  { return openLinkInspector.Connect(_subscriber); }
449 
454  public: static void DisconnectOpenLinkInspector(
455  event::ConnectionPtr _subscriber)
456  GAZEBO_DEPRECATED(8.0)
457  { openLinkInspector.Disconnect(_subscriber->Id()); }
458 
463  public: template<typename T>
465  T _subscriber)
466  { return openModelPluginInspector.Connect(_subscriber); }
467 
474  event::ConnectionPtr _subscriber)
475  GAZEBO_DEPRECATED(8.0)
476  { openModelPluginInspector.Disconnect(_subscriber->Id()); }
477 
481  public: template<typename T>
483  { return openJointInspector.Connect(_subscriber); }
484 
489  public: static void DisconnectOpenJointInspector(
490  event::ConnectionPtr _subscriber)
491  GAZEBO_DEPRECATED(8.0)
492  { openJointInspector.Disconnect(_subscriber->Id()); }
493 
497  public: template<typename T>
499  { return jointNameChanged.Connect(_subscriber); }
500 
504  public: static void DisconnectJointNameChanged(
505  event::ConnectionPtr _subscriber)
506  GAZEBO_DEPRECATED(8.0)
507  { jointNameChanged.Disconnect(_subscriber->Id()); }
508 
512  public: template<typename T> static event::ConnectionPtr
514  { return showLinkContextMenu.Connect(_subscriber); }
515 
520  public: static void DisconnectShowLinkContextMenu(
521  event::ConnectionPtr _subscriber)
522  GAZEBO_DEPRECATED(8.0)
523  { showLinkContextMenu.Disconnect(_subscriber->Id()); }
524 
528  public: template<typename T> static event::ConnectionPtr
530  { return showJointContextMenu.Connect(_subscriber); }
531 
536  public: static void DisconnectShowJointContextMenu(
537  event::ConnectionPtr _subscriber)
538  GAZEBO_DEPRECATED(8.0)
539  { showJointContextMenu.Disconnect(_subscriber->Id()); }
540 
545  public: template<typename T> static event::ConnectionPtr
547  { return showModelPluginContextMenu.Connect(_subscriber); }
548 
554  event::ConnectionPtr _subscriber)
555  GAZEBO_DEPRECATED(8.0)
556  { showModelPluginContextMenu.Disconnect(_subscriber->Id()); }
557 
561  public: template<typename T> static event::ConnectionPtr
563  { return setSelectedEntity.Connect(_subscriber); }
564 
569  public: static void DisconnectSetSelectedEntity(
570  event::ConnectionPtr _subscriber)
571  GAZEBO_DEPRECATED(8.0)
572  { setSelectedEntity.Disconnect(_subscriber->Id()); }
573 
577  public: template<typename T> static event::ConnectionPtr
578  ConnectSetSelectedJoint(T _subscriber)
579  { return setSelectedJoint.Connect(_subscriber); }
580 
584  public: static void DisconnectSetSelectedJoint(
585  event::ConnectionPtr _subscriber)
586  GAZEBO_DEPRECATED(8.0)
587  { setSelectedJoint.Disconnect(_subscriber->Id()); }
588 
593  public: template<typename T> static event::ConnectionPtr
595  { return setSelectedModelPlugin.Connect(_subscriber); }
596 
601  public: static void DisconnectSetSelectedModelPlugin(
602  event::ConnectionPtr _subscriber)
603  GAZEBO_DEPRECATED(8.0)
604  { setSelectedModelPlugin.Disconnect(_subscriber->Id()); }
605 
609  public: template<typename T>
611  T _subscriber)
612  { return modelPluginInserted.Connect(_subscriber); }
613 
618  public: static void DisconnectModelPluginInserted(
619  event::ConnectionPtr _subscriber)
620  GAZEBO_DEPRECATED(8.0)
621  { modelPluginInserted.Disconnect(_subscriber->Id()); }
622 
626  public: template<typename T>
628  T _subscriber)
629  { return modelPluginRemoved.Connect(_subscriber); }
630 
635  public: static void DisconnectModelPluginRemoved(
636  event::ConnectionPtr _subscriber)
637  GAZEBO_DEPRECATED(8.0)
638  { modelPluginRemoved.Disconnect(_subscriber->Id()); }
639 
644  public: template<typename T>
646  T _subscriber)
647  { return requestModelPluginRemoval.Connect(_subscriber); }
648 
654  event::ConnectionPtr _subscriber)
655  GAZEBO_DEPRECATED(8.0)
656  { requestModelPluginRemoval.Disconnect(_subscriber->Id()); }
657 
662  public: template<typename T>
664  T _subscriber)
665  { return requestModelPluginInsertion.Connect(_subscriber); }
666 
672  event::ConnectionPtr _subscriber)
673  GAZEBO_DEPRECATED(8.0)
674  { requestModelPluginInsertion.Disconnect(_subscriber->Id()); }
675 
678 
681 
684 
687 
690 
693 
696 
698  // The properties are: is_static, auto_disable.
700 
703 
706 
709 
712 
715 
718 
722 
724  public: static event::EventT<void (std::string)>
726 
730 
733 
736 
740 
744  public: static event::EventT<void (std::string, std::string,
745  std::string, std::string, std::string)> jointInserted;
746 
749 
753  public: static event::EventT<void (std::string, std::string,
754  std::string, std::string, std::string)> jointChanged;
755 
758 
761 
763  public: static event::EventT<void (std::string)>
765 
771 
774 
777 
779  public: static event::EventT<void (std::string)>
781 
785 
788 
792 
795 
798 
804 
808  public: static event::EventT<void (std::string, std::string,
809  std::string, bool)> requestModelPluginInsertion;
810 
812  public: static event::EventT<void (std::string,
813  std::map<std::string, ignition::math::Vector3d>)> requestLinkScale;
814 
818 
822  };
823  }
824  }
825 }
826 #endif
static event::ConnectionPtr ConnectRequestNestedModelMove(T _subscriber)
Connect a Gazebo event to the request nested model move signal.
Definition: ModelEditorEvents.hh:254
static event::EventT< void()> newModel
Notify that model has been newed.
Definition: ModelEditorEvents.hh:705
static event::ConnectionPtr ConnectModelPluginRemoved(T _subscriber)
Connect a Gazebo event to the model plugin removed signal.
Definition: ModelEditorEvents.hh:627
static void DisconnectRequestNestedModelMove(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request nested model move signal.
Definition: ModelEditorEvents.hh:262
static void DisconnectNestedModelRemoved(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the nested model removed signal.
Definition: ModelEditorEvents.hh:340
static event::EventT< void()> finishModel
A model has been completed and uploaded onto the server.
Definition: ModelEditorEvents.hh:677
static event::EventT< void(std::string)> showLinkContextMenu
Request to show the link context menu.
Definition: ModelEditorEvents.hh:773
static event::EventT< void(std::string)> nestedModelInserted
Notify that a nested model has been inserted.
Definition: ModelEditorEvents.hh:708
static event::EventT< void()> newModelEditor
Request to start a new model.
Definition: ModelEditorEvents.hh:686
static void DisconnectShowLinkContextMenu(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the show link context menu signal.
Definition: ModelEditorEvents.hh:520
static event::ConnectionPtr ConnectOpenModelPluginInspector(T _subscriber)
Connect a Gazebo event to the open model plugin inspector signal.
Definition: ModelEditorEvents.hh:464
static event::ConnectionPtr ConnectRequestLinkScale(T _subscriber)
Connect a Gazebo event to the request link scale signal.
Definition: ModelEditorEvents.hh:229
static event::EventT< void(std::string)> linkRemoved
Notify that a link has been removed.
Definition: ModelEditorEvents.hh:717
static event::ConnectionPtr ConnectFinishModel(T _subscriber)
Connect a boost::slot to the finish model signal.
Definition: ModelEditorEvents.hh:40
static event::EventT< void(std::string)> linkInserted
Notify that a link has been inserted.
Definition: ModelEditorEvents.hh:711
static void DisconnectOpenJointInspector(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the open joint inspector signal.
Definition: ModelEditorEvents.hh:489
static event::ConnectionPtr ConnectExitModelEditor(T _subscriber)
Connect a Gazebo event to the exit signal.
Definition: ModelEditorEvents.hh:100
static void DisconnectJointInserted(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the joint inserted signal.
Definition: ModelEditorEvents.hh:309
static event::ConnectionPtr ConnectNestedModelRemoved(T _subscriber)
Connect a Gazebo event to the nested model removed signal.
Definition: ModelEditorEvents.hh:333
static event::ConnectionPtr ConnectRequestModelPluginRemoval(T _subscriber)
Connect a Gazebo event to the request model plugin removal signal.
Definition: ModelEditorEvents.hh:645
static event::ConnectionPtr ConnectRequestModelPluginInsertion(T _subscriber)
Connect a Gazebo event to the request model plugin insertion signal.
Definition: ModelEditorEvents.hh:663
static void DisconnectRequestNestedModelRemoval(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request nested model removal signal.
Definition: ModelEditorEvents.hh:202
static void DisconnectRequestLinkMove(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request link move signal.
Definition: ModelEditorEvents.hh:244
static event::ConnectionPtr ConnectRequestLinkInsertion(T _subscriber)
Connect a Gazebo event to the request link insertion signal.
Definition: ModelEditorEvents.hh:349
static event::EventT< void(std::string, bool)> setSelectedModelPlugin
Request to select or deselect a model plugin.
Definition: ModelEditorEvents.hh:791
static void DisconnectModelNameChanged(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the name changed signal.
Definition: ModelEditorEvents.hh:136
static void DisconnectRequestNestedModelInsertion(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request nested model insertion signal.
Definition: ModelEditorEvents.hh:220
static void DisconnectSaveAsModelEditor(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the save as signal.
Definition: ModelEditorEvents.hh:76
static event::EventT< void(std::string)> modelPluginRemoved
Notify that a model plugin has been removed.
Definition: ModelEditorEvents.hh:797
static event::ConnectionPtr ConnectNewModelEditor(T _subscriber)
Connect a Gazebo event to the new signal.
Definition: ModelEditorEvents.hh:85
Definition: ModelEditorEvents.hh:34
static event::EventT< void(std::string, ignition::math::Pose3d)> requestNestedModelMove
Request to move a nestedModel.
Definition: ModelEditorEvents.hh:821
static void DisconnectLinkInserted(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the link inserted signal.
Definition: ModelEditorEvents.hh:294
static event::ConnectionPtr ConnectRequestLinkMove(T _subscriber)
Connect a Gazebo event to the request link move signal.
Definition: ModelEditorEvents.hh:237
static event::ConnectionPtr ConnectSaveAsModelEditor(T _subscriber)
Connect a Gazebo event to the save as signal.
Definition: ModelEditorEvents.hh:70
static event::EventT< void(sdf::ElementPtr, std::string)> requestJointInsertion
Request to insert a joint.
Definition: ModelEditorEvents.hh:739
static void DisconnectJointNameChanged(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the joint name changed signal.
Definition: ModelEditorEvents.hh:504
static event::ConnectionPtr ConnectShowLinkContextMenu(T _subscriber)
Connect a Gazebo event to the show link context menu signal.
Definition: ModelEditorEvents.hh:513
static event::EventT< void()> modelChanged
Model has been changed.
Definition: ModelEditorEvents.hh:692
static event::ConnectionPtr ConnectNestedModelInserted(T _subscriber)
Connect a Gazebo event to the nested model inserted signal.
Definition: ModelEditorEvents.hh:272
static event::ConnectionPtr ConnectSaveModelEditor(T _subscriber)
Connect a Gazebo event to the save signal.
Definition: ModelEditorEvents.hh:55
static void DisconnectJointChanged(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the joint changed signal.
Definition: ModelEditorEvents.hh:324
static event::EventT< void(std::string)> requestNestedModelRemoval
Request to remove a nested model.
Definition: ModelEditorEvents.hh:725
static event::ConnectionPtr ConnectJointRemoved(T _subscriber)
Connect a Gazebo event to the joint removed signal.
Definition: ModelEditorEvents.hh:432
static void DisconnectJointRemoved(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the joint removed signal.
Definition: ModelEditorEvents.hh:438
static void DisconnectSaveModelEditor(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the save signal.
Definition: ModelEditorEvents.hh:61
static event::EventT< void(std::string)> showJointContextMenu
Request to show the joint context menu.
Definition: ModelEditorEvents.hh:776
static event::ConnectionPtr ConnectRequestNestedModelInsertion(T _subscriber)
Connect a Gazebo event to the request nested model insertion signal.
Definition: ModelEditorEvents.hh:212
static void DisconnectModelPluginInserted(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the model plugin inserted signal.
Definition: ModelEditorEvents.hh:618
static event::ConnectionPtr ConnectRequestJointRemoval(T _subscriber)
Connect a Gazebo event to the request joint removal signal.
Definition: ModelEditorEvents.hh:398
static event::EventT< void(std::string, std::map< std::string, ignition::math::Vector3d >)> requestLinkScale
Request to scale a link.
Definition: ModelEditorEvents.hh:813
static void DisconnectSetSelectedJoint(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the set selected joint signal.
Definition: ModelEditorEvents.hh:584
static void DisconnectRequestLinkInsertion(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request link insertion signal.
Definition: ModelEditorEvents.hh:357
static event::EventT< void(std::string, ignition::math::Pose3d)> requestLinkMove
Request to move a link.
Definition: ModelEditorEvents.hh:817
static event::EventT< void(std::string)> requestLinkRemoval
Request to remove a link.
Definition: ModelEditorEvents.hh:732
static event::ConnectionPtr ConnectJointChanged(T _subscriber)
Connect a Gazebo event to the joint changed signal.
Definition: ModelEditorEvents.hh:318
static event::EventT< bool()> saveModelEditor
Request to save the model.
Definition: ModelEditorEvents.hh:680
static event::EventT< void(std::string)> showModelPluginContextMenu
Request to show the model plugin context menu.
Definition: ModelEditorEvents.hh:780
static void DisconnectRequestJointRemoval(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request joint removal signal.
Definition: ModelEditorEvents.hh:406
static event::EventT< void(std::string, bool)> setSelectedEntity
Request to select or deselect an entity.
Definition: ModelEditorEvents.hh:784
static event::ConnectionPtr ConnectModelNameChanged(T _subscriber)
Connect a Gazebo event to the name changed signal.
Definition: ModelEditorEvents.hh:130
static void DisconnectFinishModel(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a boost::slot to the finish model signal.
Definition: ModelEditorEvents.hh:46
static event::ConnectionPtr ConnectShowModelPluginContextMenu(T _subscriber)
Connect a Gazebo event to the show model plugin context menu signal.
Definition: ModelEditorEvents.hh:546
static event::EventT< void(std::string)> requestJointRemoval
Request to remove a joint.
Definition: ModelEditorEvents.hh:735
static void DisconnectModelChanged(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the model changed signal.
Definition: ModelEditorEvents.hh:121
static void DisconnectModelPluginRemoved(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the model plugin removed signal.
Definition: ModelEditorEvents.hh:635
static event::ConnectionPtr ConnectOpenJointInspector(T _subscriber)
Connect a Gazebo event to the open joint inspector signal.
Definition: ModelEditorEvents.hh:482
static event::EventT< void(std::string)> nestedModelRemoved
Notify that a nested model has been removed.
Definition: ModelEditorEvents.hh:714
static event::EventT< void(std::string, std::string)> jointNameChanged
Notify that the joint name has been changed.
Definition: ModelEditorEvents.hh:770
static void DisconnectSaveModel(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the save model signal.
Definition: ModelEditorEvents.hh:169
static void DisconnectSetSelectedModelPlugin(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the set selected model plugin signal.
Definition: ModelEditorEvents.hh:601
static event::EventT< void(sdf::ElementPtr)> requestNestedModelInsertion
Request to insert a nested model.
Definition: ModelEditorEvents.hh:729
static void DisconnectSetSelectedEntity(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the set selected entity signal.
Definition: ModelEditorEvents.hh:569
static event::EventT< void(std::string)> openLinkInspector
Request to open the link inspector.
Definition: ModelEditorEvents.hh:757
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:134
static event::ConnectionPtr ConnectRequestNestedModelRemoval(T _subscriber)
Connect a Gazebo event to the request nested model removal signal.
Definition: ModelEditorEvents.hh:194
static event::ConnectionPtr ConnectNewModel(T _subscriber)
Connect a Gazebo event to the new model signal.
Definition: ModelEditorEvents.hh:178
static event::ConnectionPtr ConnectOpenLinkInspector(T _subscriber)
Connect a Gazebo event to the open link inspector signal.
Definition: ModelEditorEvents.hh:447
static event::EventT< void(std::string)> openJointInspector
Request to open the joint inspector.
Definition: ModelEditorEvents.hh:760
static event::EventT< void(std::string, std::string, std::string, std::string, std::string)> jointChanged
Notify that a joint has been changed.
Definition: ModelEditorEvents.hh:754
static event::EventT< void(std::string, std::string, std::string, bool)> requestModelPluginInsertion
Request to insert a model plugin.
Definition: ModelEditorEvents.hh:809
#define GAZEBO_DEPRECATED(version)
Definition: system.hh:302
static event::ConnectionPtr ConnectSetSelectedModelPlugin(T _subscriber)
Connect a Gazebo event to the set selected model plugin signal.
Definition: ModelEditorEvents.hh:594
static void DisconnectShowJointContextMenu(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the show joint context menu signal.
Definition: ModelEditorEvents.hh:536
static event::ConnectionPtr ConnectJointInserted(T _subscriber)
Connect a Gazebo event to the joint inserted signal.
Definition: ModelEditorEvents.hh:303
static event::EventT< void(std::string, bool)> requestModelPluginRemoval
Request to remove a model plugin.
Definition: ModelEditorEvents.hh:803
static event::EventT< void()> exitModelEditor
Request to exit the editor.
Definition: ModelEditorEvents.hh:689
static event::EventT< void(sdf::ElementPtr)> requestLinkInsertion
Request to insert a link.
Definition: ModelEditorEvents.hh:721
static event::EventT< void(std::string)> modelPluginInserted
Notify that a model plugin has been inserted.
Definition: ModelEditorEvents.hh:794
static event::EventT< void(std::string, bool)> setSelectedJoint
Request to select or deselect a joint.
Definition: ModelEditorEvents.hh:787
static event::ConnectionPtr ConnectModelPropertiesChanged(T _subscriber)
Connect a Gazebo event to the model properties changed signal.
Definition: ModelEditorEvents.hh:147
static event::EventT< void(std::string)> modelNameChanged
Name was changed in the editor palette.
Definition: ModelEditorEvents.hh:695
static void DisconnectShowModelPluginContextMenu(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the show model plugin context menu signal.
Definition: ModelEditorEvents.hh:553
static event::EventT< void(std::string)> jointRemoved
Notify that a joint has been removed.
Definition: ModelEditorEvents.hh:748
static event::ConnectionPtr ConnectShowJointContextMenu(T _subscriber)
Connect a Gazebo event to the show joint context menu signal.
Definition: ModelEditorEvents.hh:529
static void DisconnectRequestModelPluginRemoval(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request model plugin removal signal.
Definition: ModelEditorEvents.hh:653
static void DisconnectExitModelEditor(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the exit signal.
Definition: ModelEditorEvents.hh:106
static event::ConnectionPtr ConnectJointNameChanged(T _subscriber)
Connect a Gazebo event to the joint name changed signal.
Definition: ModelEditorEvents.hh:498
static void DisconnectRequestJointInsertion(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request joint insertion signal.
Definition: ModelEditorEvents.hh:423
static event::ConnectionPtr ConnectLinkInserted(T _subscriber)
Connect a Gazebo event to the link inserted signal.
Definition: ModelEditorEvents.hh:288
static event::EventT< void(std::string, std::string, std::string, std::string, std::string)> jointInserted
Notify that a joint has been inserted.
Definition: ModelEditorEvents.hh:745
static void DisconnectRequestLinkRemoval(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request link removal signal.
Definition: ModelEditorEvents.hh:374
static void DisconnectModelPropertiesChanged(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the model properties changed signal.
Definition: ModelEditorEvents.hh:154
static event::ConnectionPtr ConnectLinkRemoved(T _subscriber)
Connect a Gazebo event to the link removed signal.
Definition: ModelEditorEvents.hh:383
static event::ConnectionPtr ConnectModelChanged(T _subscriber)
Connect a Gazebo event to the model changed signal.
Definition: ModelEditorEvents.hh:115
static event::ConnectionPtr ConnectRequestJointInsertion(T _subscriber)
Connect a Gazebo event to the request joint insertion signal.
Definition: ModelEditorEvents.hh:415
static void DisconnectOpenModelPluginInspector(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the open model plugin inspector signal.
Definition: ModelEditorEvents.hh:473
static void DisconnectNewModelEditor(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the new signal.
Definition: ModelEditorEvents.hh:91
static void DisconnectOpenLinkInspector(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the open link inspector signal.
Definition: ModelEditorEvents.hh:454
static event::EventT< void(std::string)> openModelPluginInspector
Request to open the model plugin inspector.
Definition: ModelEditorEvents.hh:764
static event::EventT< void(std::string)> saveModel
Notify that model has been saved.
Definition: ModelEditorEvents.hh:702
static void DisconnectNewModel(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the new model signal.
Definition: ModelEditorEvents.hh:184
static event::ConnectionPtr ConnectModelPluginInserted(T _subscriber)
Connect a Gazebo event to the model plugin inserted signal.
Definition: ModelEditorEvents.hh:610
static event::ConnectionPtr ConnectSaveModel(T _subscriber)
Connect a Gazebo event to the save model signal.
Definition: ModelEditorEvents.hh:163
static void DisconnectNestedModelInserted(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the nested model inserted signal.
Definition: ModelEditorEvents.hh:279
static event::ConnectionPtr ConnectRequestLinkRemoval(T _subscriber)
Connect a Gazebo event to the request link removal signal.
Definition: ModelEditorEvents.hh:366
static event::ConnectionPtr ConnectSetSelectedJoint(T _subscriber)
Connect a Gazebo event to the set selected joint signal.
Definition: ModelEditorEvents.hh:578
static event::EventT< bool()> saveAsModelEditor
Request to save the model as.
Definition: ModelEditorEvents.hh:683
static event::EventT< void(bool, bool)> modelPropertiesChanged
Notify that model properties have been changed.
Definition: ModelEditorEvents.hh:699
static void DisconnectLinkRemoved(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the link removed signal.
Definition: ModelEditorEvents.hh:389
static event::ConnectionPtr ConnectSetSelectedEntity(T _subscriber)
Connect a Gazebo event to the set selected entity signal.
Definition: ModelEditorEvents.hh:562
static void DisconnectRequestModelPluginInsertion(event::ConnectionPtr _subscriber) GAZEBO_DEPRECATED(8.0)
Disconnect a Gazebo event from the request model plugin insertion signal.
Definition: ModelEditorEvents.hh:671