ModelEditorEvents.hh
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2013-2016 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 <string>
21 #include <sdf/sdf.hh>
22 
23 #include "gazebo/common/Event.hh"
24 
25 #include "gazebo/util/system.hh"
26 
27 namespace gazebo
28 {
29  namespace gui
30  {
31  namespace model
32  {
33  class GZ_GUI_VISIBLE Events
34  {
38  public: template<typename T>
40  { return finishModel.Connect(_subscriber); }
41 
44  public: static void DisconnectFinishModel(
45  event::ConnectionPtr _subscriber)
46  { finishModel.Disconnect(_subscriber); }
47 
51  public: template<typename T>
53  { return saveModelEditor.Connect(_subscriber); }
54 
57  public: static void DisconnectSaveModelEditor(
58  event::ConnectionPtr _subscriber)
59  { saveModelEditor.Disconnect(_subscriber); }
60 
64  public: template<typename T>
66  { return saveAsModelEditor.Connect(_subscriber); }
67 
70  public: static void DisconnectSaveAsModelEditor(
71  event::ConnectionPtr _subscriber)
72  { saveAsModelEditor.Disconnect(_subscriber); }
73 
77  public: template<typename T>
79  { return newModelEditor.Connect(_subscriber); }
80 
83  public: static void DisconnectNewModelEditor(
84  event::ConnectionPtr _subscriber)
85  { newModelEditor.Disconnect(_subscriber); }
86 
90  public: template<typename T>
92  { return exitModelEditor.Connect(_subscriber); }
93 
96  public: static void DisconnectExitModelEditor(
97  event::ConnectionPtr _subscriber)
98  { exitModelEditor.Disconnect(_subscriber); }
99 
103  public: template<typename T>
105  { return modelChanged.Connect(_subscriber); }
106 
109  public: static void DisconnectModelChanged(
110  event::ConnectionPtr _subscriber)
111  { modelChanged.Disconnect(_subscriber); }
112 
116  public: template<typename T>
118  { return modelNameChanged.Connect(_subscriber); }
119 
122  public: static void DisconnectModelNameChanged(
123  event::ConnectionPtr _subscriber)
124  { modelNameChanged.Disconnect(_subscriber); }
125 
130  public: template<typename T>
131  static event::ConnectionPtr
133  { return modelPropertiesChanged.Connect(_subscriber); }
134 
138  public: static void DisconnectModelPropertiesChanged(
139  event::ConnectionPtr _subscriber)
140  { modelPropertiesChanged.Disconnect(_subscriber); }
141 
145  public: template<typename T>
147  { return saveModel.Connect(_subscriber); }
148 
151  public: static void DisconnectSaveModel(
152  event::ConnectionPtr _subscriber)
153  { saveModel.Disconnect(_subscriber); }
154 
158  public: template<typename T>
159  static event::ConnectionPtr ConnectNewModel(T _subscriber)
160  { return newModel.Connect(_subscriber); }
161 
164  public: static void DisconnectNewModel(
165  event::ConnectionPtr _subscriber)
166  { newModel.Disconnect(_subscriber); }
167 
172  public: template<typename T>
174  T _subscriber)
175  { return requestNestedModelRemoval.Connect(_subscriber); }
176 
181  event::ConnectionPtr _subscriber)
182  { requestNestedModelRemoval.Disconnect(_subscriber); }
183 
188  public: template<typename T>
190  T _subscriber)
191  { return requestNestedModelInsertion.Connect(_subscriber); }
192 
197  event::ConnectionPtr _subscriber)
198  { requestNestedModelInsertion.Disconnect(_subscriber); }
199 
203  public: template<typename T>
204  static event::ConnectionPtr
206  { return nestedModelInserted.Connect(_subscriber); }
207 
211  public: static void DisconnectNestedModelInserted(
212  event::ConnectionPtr _subscriber)
213  { nestedModelInserted.Disconnect(_subscriber); }
214 
218  public: template<typename T>
220  { return linkInserted.Connect(_subscriber); }
221 
224  public: static void DisconnectLinkInserted(
225  event::ConnectionPtr _subscriber)
226  { linkInserted.Disconnect(_subscriber); }
227 
231  public: template<typename T>
233  { return jointInserted.Connect(_subscriber); }
234 
237  public: static void DisconnectJointInserted(
238  event::ConnectionPtr _subscriber)
239  { jointInserted.Disconnect(_subscriber); }
240 
244  public: template<typename T>
246  { return jointChanged.Connect(_subscriber); }
247 
250  public: static void DisconnectJointChanged(
251  event::ConnectionPtr _subscriber)
252  { jointChanged.Disconnect(_subscriber); }
253 
257  public: template<typename T>
259  { return nestedModelRemoved.Connect(_subscriber); }
260 
264  public: static void DisconnectNestedModelRemoved(
265  event::ConnectionPtr _subscriber)
266  { nestedModelRemoved.Disconnect(_subscriber); }
267 
271  public: template<typename T>
273  T _subscriber)
274  { return requestLinkInsertion.Connect(_subscriber); }
275 
279  public: static void DisconnectRequestLinkInsertion(
280  event::ConnectionPtr _subscriber)
281  { requestLinkInsertion.Disconnect(_subscriber); }
282 
286  public: template<typename T>
288  T _subscriber)
289  { return requestLinkRemoval.Connect(_subscriber); }
290 
294  public: static void DisconnectRequestLinkRemoval(
295  event::ConnectionPtr _subscriber)
296  { requestLinkRemoval.Disconnect(_subscriber); }
297 
301  public: template<typename T>
303  { return linkRemoved.Connect(_subscriber); }
304 
307  public: static void DisconnectLinkRemoved(
308  event::ConnectionPtr _subscriber)
309  { linkRemoved.Disconnect(_subscriber); }
310 
314  public: template<typename T>
316  T _subscriber)
317  { return requestJointRemoval.Connect(_subscriber); }
318 
322  public: static void DisconnectRequestJointRemoval(
323  event::ConnectionPtr _subscriber)
324  { requestJointRemoval.Disconnect(_subscriber); }
325 
329  public: template<typename T>
331  T _subscriber)
332  { return requestJointInsertion.Connect(_subscriber); }
333 
337  public: static void DisconnectRequestJointInsertion(
338  event::ConnectionPtr _subscriber)
339  { requestJointInsertion.Disconnect(_subscriber); }
340 
344  public: template<typename T>
346  { return jointRemoved.Connect(_subscriber); }
347 
350  public: static void DisconnectJointRemoved(
351  event::ConnectionPtr _subscriber)
352  { jointRemoved.Disconnect(_subscriber); }
353 
357  public: template<typename T>
359  { return openLinkInspector.Connect(_subscriber); }
360 
364  public: static void DisconnectOpenLinkInspector(
365  event::ConnectionPtr _subscriber)
366  { openLinkInspector.Disconnect(_subscriber); }
367 
372  public: template<typename T>
374  T _subscriber)
375  { return openModelPluginInspector.Connect(_subscriber); }
376 
382  event::ConnectionPtr _subscriber)
383  { openModelPluginInspector.Disconnect(_subscriber); }
384 
388  public: template<typename T>
390  { return openJointInspector.Connect(_subscriber); }
391 
395  public: static void DisconnectOpenJointInspector(
396  event::ConnectionPtr _subscriber)
397  { openJointInspector.Disconnect(_subscriber); }
398 
402  public: template<typename T>
404  { return jointNameChanged.Connect(_subscriber); }
405 
408  public: static void DisconnectJointNameChanged(
409  event::ConnectionPtr _subscriber)
410  { jointNameChanged.Disconnect(_subscriber); }
411 
415  public: template<typename T> static event::ConnectionPtr
417  { return showLinkContextMenu.Connect(_subscriber); }
418 
422  public: static void DisconnectShowLinkContextMenu(
423  event::ConnectionPtr _subscriber)
424  { showLinkContextMenu.Disconnect(_subscriber); }
425 
429  public: template<typename T> static event::ConnectionPtr
431  { return showJointContextMenu.Connect(_subscriber); }
432 
436  public: static void DisconnectShowJointContextMenu(
437  event::ConnectionPtr _subscriber)
438  { showJointContextMenu.Disconnect(_subscriber); }
439 
444  public: template<typename T> static event::ConnectionPtr
446  { return showModelPluginContextMenu.Connect(_subscriber); }
447 
452  event::ConnectionPtr _subscriber)
453  { showModelPluginContextMenu.Disconnect(_subscriber); }
454 
458  public: template<typename T> static event::ConnectionPtr
459  ConnectSetSelectedLink(T _subscriber)
460  { return setSelectedLink.Connect(_subscriber); }
461 
464  public: static void DisconnectSetSelectedLink(
465  event::ConnectionPtr _subscriber)
466  { setSelectedLink.Disconnect(_subscriber); }
467 
471  public: template<typename T> static event::ConnectionPtr
472  ConnectSetSelectedJoint(T _subscriber)
473  { return setSelectedJoint.Connect(_subscriber); }
474 
477  public: static void DisconnectSetSelectedJoint(
478  event::ConnectionPtr _subscriber)
479  { setSelectedJoint.Disconnect(_subscriber); }
480 
485  public: template<typename T> static event::ConnectionPtr
487  { return setSelectedModelPlugin.Connect(_subscriber); }
488 
492  public: static void DisconnectSetSelectedModelPlugin(
493  event::ConnectionPtr _subscriber)
494  { setSelectedModelPlugin.Disconnect(_subscriber); }
495 
499  public: template<typename T>
501  T _subscriber)
502  { return modelPluginInserted.Connect(_subscriber); }
503 
507  public: static void DisconnectModelPluginInserted(
508  event::ConnectionPtr _subscriber)
509  { modelPluginInserted.Disconnect(_subscriber); }
510 
514  public: template<typename T>
516  T _subscriber)
517  { return modelPluginRemoved.Connect(_subscriber); }
518 
522  public: static void DisconnectModelPluginRemoved(
523  event::ConnectionPtr _subscriber)
524  { modelPluginRemoved.Disconnect(_subscriber); }
525 
530  public: template<typename T>
532  T _subscriber)
533  { return requestModelPluginRemoval.Connect(_subscriber); }
534 
539  event::ConnectionPtr _subscriber)
540  { requestModelPluginRemoval.Disconnect(_subscriber); }
541 
546  public: template<typename T>
548  T _subscriber)
549  { return requestModelPluginInsertion.Connect(_subscriber); }
550 
555  event::ConnectionPtr _subscriber)
556  { requestModelPluginInsertion.Disconnect(_subscriber); }
557 
560 
563 
566 
569 
572 
575 
578 
580  // The properties are: is_static, auto_disable.
582 
585 
588 
591 
594 
597 
600 
604 
606  public: static event::EventT<void (std::string)>
608 
612 
615 
618 
622 
626  public: static event::EventT<void (std::string, std::string,
627  std::string, std::string, std::string)> jointInserted;
628 
631 
635  public: static event::EventT<void (std::string, std::string,
636  std::string, std::string, std::string)> jointChanged;
637 
640 
643 
645  public: static event::EventT<void (std::string)>
647 
653 
656 
659 
661  public: static event::EventT<void (std::string)>
663 
666 
669 
673 
676 
679 
681  public: static event::EventT<void (std::string)>
683 
685  public: static event::EventT<void (std::string, std::string,
687  };
688  }
689  }
690 }
691 #endif
static void DisconnectJointChanged(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the joint changed signal.
Definition: ModelEditorEvents.hh:250
static void DisconnectRequestModelPluginInsertion(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the request model plugin insertion signal.
Definition: ModelEditorEvents.hh:554
static event::EventT< void()> newModel
Notify that model has been newed.
Definition: ModelEditorEvents.hh:587
static event::ConnectionPtr ConnectModelPluginRemoved(T _subscriber)
Connect a Gazebo event to the model plugin removed signal.
Definition: ModelEditorEvents.hh:515
static void DisconnectOpenModelPluginInspector(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the open model plugin inspector signal.
Definition: ModelEditorEvents.hh:381
static void DisconnectJointNameChanged(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the joint name changed signal.
Definition: ModelEditorEvents.hh:408
static void DisconnectExitModelEditor(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the exit signal.
Definition: ModelEditorEvents.hh:96
static event::EventT< void()> finishModel
A model has been completed and uploaded onto the server.
Definition: ModelEditorEvents.hh:559
static event::EventT< void(std::string)> showLinkContextMenu
Request to show the link context menu.
Definition: ModelEditorEvents.hh:655
static event::EventT< void(std::string)> nestedModelInserted
Notify that a nested model has been inserted.
Definition: ModelEditorEvents.hh:590
static event::EventT< void()> newModelEditor
Request to start a new model.
Definition: ModelEditorEvents.hh:568
static void DisconnectSaveModelEditor(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the save signal.
Definition: ModelEditorEvents.hh:57
static void DisconnectOpenJointInspector(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the open joint inspector signal.
Definition: ModelEditorEvents.hh:395
static event::ConnectionPtr ConnectOpenModelPluginInspector(T _subscriber)
Connect a Gazebo event to the open model plugin inspector signal.
Definition: ModelEditorEvents.hh:373
static void DisconnectLinkRemoved(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the link removed signal.
Definition: ModelEditorEvents.hh:307
static event::EventT< void(std::string)> linkRemoved
Notify that a link has been removed.
Definition: ModelEditorEvents.hh:599
static event::ConnectionPtr ConnectFinishModel(T _subscriber)
Connect a boost::slot to the finish model signal.
Definition: ModelEditorEvents.hh:39
static event::EventT< void(std::string)> linkInserted
Notify that a link has been inserted.
Definition: ModelEditorEvents.hh:593
static event::ConnectionPtr ConnectExitModelEditor(T _subscriber)
Connect a Gazebo event to the exit signal.
Definition: ModelEditorEvents.hh:91
static void DisconnectRequestJointRemoval(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the request joint removal signal.
Definition: ModelEditorEvents.hh:322
static void DisconnectJointInserted(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the joint inserted signal.
Definition: ModelEditorEvents.hh:237
static event::ConnectionPtr ConnectNestedModelRemoved(T _subscriber)
Connect a Gazebo event to the nested model removed signal.
Definition: ModelEditorEvents.hh:258
static event::ConnectionPtr ConnectRequestModelPluginRemoval(T _subscriber)
Connect a Gazebo event to the request model plugin removal signal.
Definition: ModelEditorEvents.hh:531
static event::ConnectionPtr ConnectRequestModelPluginInsertion(T _subscriber)
Connect a Gazebo event to the request model plugin insertion signal.
Definition: ModelEditorEvents.hh:547
static event::ConnectionPtr ConnectRequestLinkInsertion(T _subscriber)
Connect a Gazebo event to the request link insertion signal.
Definition: ModelEditorEvents.hh:272
static event::EventT< void(std::string, bool)> setSelectedModelPlugin
Request to select or deselect a model plugin.
Definition: ModelEditorEvents.hh:672
static void DisconnectRequestNestedModelInsertion(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the request nested model insertion signal.
Definition: ModelEditorEvents.hh:196
static void DisconnectRequestLinkInsertion(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the request link insertion signal.
Definition: ModelEditorEvents.hh:279
static event::EventT< void(std::string)> modelPluginRemoved
Notify that a model plugin has been removed.
Definition: ModelEditorEvents.hh:678
static void DisconnectSaveModel(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the save model signal.
Definition: ModelEditorEvents.hh:151
static event::ConnectionPtr ConnectNewModelEditor(T _subscriber)
Connect a Gazebo event to the new signal.
Definition: ModelEditorEvents.hh:78
Definition: ModelEditorEvents.hh:33
static event::ConnectionPtr ConnectSaveAsModelEditor(T _subscriber)
Connect a Gazebo event to the save as signal.
Definition: ModelEditorEvents.hh:65
static event::EventT< void(sdf::ElementPtr, std::string)> requestJointInsertion
Request to insert a joint.
Definition: ModelEditorEvents.hh:621
static event::ConnectionPtr ConnectShowLinkContextMenu(T _subscriber)
Connect a Gazebo event to the show link context menu signal.
Definition: ModelEditorEvents.hh:416
static event::EventT< void()> modelChanged
Model has been changed.
Definition: ModelEditorEvents.hh:574
static event::ConnectionPtr ConnectNestedModelInserted(T _subscriber)
Connect a Gazebo event to the nested model inserted signal.
Definition: ModelEditorEvents.hh:205
static void DisconnectNestedModelRemoved(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the nested model removed signal.
Definition: ModelEditorEvents.hh:264
static event::ConnectionPtr ConnectSaveModelEditor(T _subscriber)
Connect a Gazebo event to the save signal.
Definition: ModelEditorEvents.hh:52
static event::EventT< void(std::string)> requestNestedModelRemoval
Request to remove a nested model.
Definition: ModelEditorEvents.hh:607
static void DisconnectRequestLinkRemoval(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the request link removal signal.
Definition: ModelEditorEvents.hh:294
static event::ConnectionPtr ConnectJointRemoved(T _subscriber)
Connect a Gazebo event to the joint removed signal.
Definition: ModelEditorEvents.hh:345
static void DisconnectSetSelectedLink(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the set selected link signal.
Definition: ModelEditorEvents.hh:464
static void DisconnectModelPluginInserted(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the model plugin inserted signal.
Definition: ModelEditorEvents.hh:507
static event::EventT< void(std::string)> showJointContextMenu
Request to show the joint context menu.
Definition: ModelEditorEvents.hh:658
static void DisconnectRequestModelPluginRemoval(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the request model plugin removal signal.
Definition: ModelEditorEvents.hh:538
static event::ConnectionPtr ConnectRequestNestedModelInsertion(T _subscriber)
Connect a Gazebo event to the request nested model insertion signal.
Definition: ModelEditorEvents.hh:189
static void DisconnectModelPropertiesChanged(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the model properties changed signal.
Definition: ModelEditorEvents.hh:138
static event::ConnectionPtr ConnectRequestJointRemoval(T _subscriber)
Connect a Gazebo event to the request joint removal signal.
Definition: ModelEditorEvents.hh:315
static void DisconnectShowModelPluginContextMenu(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the show model plugin context menu signal.
Definition: ModelEditorEvents.hh:451
static event::EventT< void(std::string, bool)> setSelectedLink
Request to select or deselect a link.
Definition: ModelEditorEvents.hh:665
static event::EventT< void(std::string)> requestLinkRemoval
Request to remove a link.
Definition: ModelEditorEvents.hh:614
static event::ConnectionPtr ConnectJointChanged(T _subscriber)
Connect a Gazebo event to the joint changed signal.
Definition: ModelEditorEvents.hh:245
static void DisconnectModelChanged(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the model changed signal.
Definition: ModelEditorEvents.hh:109
static void DisconnectModelPluginRemoved(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the model plugin removed signal.
Definition: ModelEditorEvents.hh:522
static event::EventT< bool()> saveModelEditor
Request to save the model.
Definition: ModelEditorEvents.hh:562
static event::EventT< void(std::string)> showModelPluginContextMenu
Request to show the model plugin context menu.
Definition: ModelEditorEvents.hh:662
static void DisconnectSaveAsModelEditor(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the save as signal.
Definition: ModelEditorEvents.hh:70
static void DisconnectNewModelEditor(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the new signal.
Definition: ModelEditorEvents.hh:83
static event::ConnectionPtr ConnectModelNameChanged(T _subscriber)
Connect a Gazebo event to the name changed signal.
Definition: ModelEditorEvents.hh:117
static event::ConnectionPtr ConnectShowModelPluginContextMenu(T _subscriber)
Connect a Gazebo event to the show model plugin context menu signal.
Definition: ModelEditorEvents.hh:445
static event::EventT< void(std::string)> requestJointRemoval
Request to remove a joint.
Definition: ModelEditorEvents.hh:617
static event::ConnectionPtr ConnectOpenJointInspector(T _subscriber)
Connect a Gazebo event to the open joint inspector signal.
Definition: ModelEditorEvents.hh:389
static event::EventT< void(std::string)> nestedModelRemoved
Notify that a nested model has been removed.
Definition: ModelEditorEvents.hh:596
static void DisconnectNestedModelInserted(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the nested model inserted signal.
Definition: ModelEditorEvents.hh:211
static event::EventT< void(std::string, std::string)> jointNameChanged
Notify that the joint name has been changed.
Definition: ModelEditorEvents.hh:652
static event::EventT< void(sdf::ElementPtr)> requestNestedModelInsertion
Request to insert a nested model.
Definition: ModelEditorEvents.hh:611
static void DisconnectJointRemoved(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the joint removed signal.
Definition: ModelEditorEvents.hh:350
static void DisconnectRequestJointInsertion(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the request joint insertion signal.
Definition: ModelEditorEvents.hh:337
static event::EventT< void(std::string)> openLinkInspector
Request to open the link inspector.
Definition: ModelEditorEvents.hh:639
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:153
static event::ConnectionPtr ConnectRequestNestedModelRemoval(T _subscriber)
Connect a Gazebo event to the request nested model removal signal.
Definition: ModelEditorEvents.hh:173
static void DisconnectSetSelectedJoint(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the set selected joint signal.
Definition: ModelEditorEvents.hh:477
static event::ConnectionPtr ConnectNewModel(T _subscriber)
Connect a Gazebo event to the new model signal.
Definition: ModelEditorEvents.hh:159
static event::ConnectionPtr ConnectOpenLinkInspector(T _subscriber)
Connect a Gazebo event to the open link inspector signal.
Definition: ModelEditorEvents.hh:358
static void DisconnectShowJointContextMenu(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the show joint context menu signal.
Definition: ModelEditorEvents.hh:436
static event::EventT< void(std::string)> openJointInspector
Request to open the joint inspector.
Definition: ModelEditorEvents.hh:642
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:636
static event::ConnectionPtr ConnectSetSelectedModelPlugin(T _subscriber)
Connect a Gazebo event to the set selected model plugin signal.
Definition: ModelEditorEvents.hh:486
static event::ConnectionPtr ConnectJointInserted(T _subscriber)
Connect a Gazebo event to the joint inserted signal.
Definition: ModelEditorEvents.hh:232
static event::EventT< void()> exitModelEditor
Request to exit the editor.
Definition: ModelEditorEvents.hh:571
static void DisconnectFinishModel(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the finish model signal.
Definition: ModelEditorEvents.hh:44
static event::EventT< void(sdf::ElementPtr)> requestLinkInsertion
Request to insert a link.
Definition: ModelEditorEvents.hh:603
static void DisconnectShowLinkContextMenu(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the show link context menu signal.
Definition: ModelEditorEvents.hh:422
static event::EventT< void(std::string)> modelPluginInserted
Notify that a model plugin has been inserted.
Definition: ModelEditorEvents.hh:675
static event::EventT< void(std::string, bool)> setSelectedJoint
Request to select or deselect a joint.
Definition: ModelEditorEvents.hh:668
static event::ConnectionPtr ConnectModelPropertiesChanged(T _subscriber)
Connect a Gazebo event to the model properties changed signal.
Definition: ModelEditorEvents.hh:132
static event::EventT< void(std::string)> modelNameChanged
Name was changed in the editor palette.
Definition: ModelEditorEvents.hh:577
static void DisconnectModelNameChanged(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the name changed signal.
Definition: ModelEditorEvents.hh:122
static event::EventT< void(std::string)> jointRemoved
Notify that a joint has been removed.
Definition: ModelEditorEvents.hh:630
static event::ConnectionPtr ConnectShowJointContextMenu(T _subscriber)
Connect a Gazebo event to the show joint context menu signal.
Definition: ModelEditorEvents.hh:430
static void DisconnectLinkInserted(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the link inserted signal.
Definition: ModelEditorEvents.hh:224
static void DisconnectSetSelectedModelPlugin(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the set selected model plugin signal.
Definition: ModelEditorEvents.hh:492
static void DisconnectOpenLinkInspector(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the open link inspector signal.
Definition: ModelEditorEvents.hh:364
static event::EventT< void(std::string)> requestModelPluginRemoval
Request to remove a model plugin.
Definition: ModelEditorEvents.hh:682
static void DisconnectNewModel(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the new model signal.
Definition: ModelEditorEvents.hh:164
static event::ConnectionPtr ConnectJointNameChanged(T _subscriber)
Connect a Gazebo event to the joint name changed signal.
Definition: ModelEditorEvents.hh:403
static event::ConnectionPtr ConnectLinkInserted(T _subscriber)
Connect a Gazebo event to the link inserted signal.
Definition: ModelEditorEvents.hh:219
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:627
static event::ConnectionPtr ConnectSetSelectedLink(T _subscriber)
Connect a Gazebo event to the set selected link signal.
Definition: ModelEditorEvents.hh:459
static event::ConnectionPtr ConnectLinkRemoved(T _subscriber)
Connect a Gazebo event to the link removed signal.
Definition: ModelEditorEvents.hh:302
static event::ConnectionPtr ConnectModelChanged(T _subscriber)
Connect a Gazebo event to the model changed signal.
Definition: ModelEditorEvents.hh:104
static event::ConnectionPtr ConnectRequestJointInsertion(T _subscriber)
Connect a Gazebo event to the request joint insertion signal.
Definition: ModelEditorEvents.hh:330
static event::EventT< void(std::string)> openModelPluginInspector
Request to open the model plugin inspector.
Definition: ModelEditorEvents.hh:646
static event::EventT< void(std::string)> saveModel
Notify that model has been saved.
Definition: ModelEditorEvents.hh:584
static event::ConnectionPtr ConnectModelPluginInserted(T _subscriber)
Connect a Gazebo event to the model plugin inserted signal.
Definition: ModelEditorEvents.hh:500
static event::ConnectionPtr ConnectSaveModel(T _subscriber)
Connect a Gazebo event to the save model signal.
Definition: ModelEditorEvents.hh:146
static void DisconnectRequestNestedModelRemoval(event::ConnectionPtr _subscriber)
Disconnect a Gazebo event from the request nested model removal signal.
Definition: ModelEditorEvents.hh:180
static event::ConnectionPtr ConnectRequestLinkRemoval(T _subscriber)
Connect a Gazebo event to the request link removal signal.
Definition: ModelEditorEvents.hh:287
static event::ConnectionPtr ConnectSetSelectedJoint(T _subscriber)
Connect a Gazebo event to the set selected joint signal.
Definition: ModelEditorEvents.hh:472
static event::EventT< bool()> saveAsModelEditor
Request to save the model as.
Definition: ModelEditorEvents.hh:565
static event::EventT< void(bool, bool)> modelPropertiesChanged
Notify that model properties have been changed.
Definition: ModelEditorEvents.hh:581
static event::EventT< void(std::string, std::string, std::string)> requestModelPluginInsertion
Request to insert a model plugin.
Definition: ModelEditorEvents.hh:686