17 #ifndef _BUILDING_EDITOR_EVENTS_HH_
18 #define _BUILDING_EDITOR_EVENTS_HH_
35 public:
template<
typename T>
38 {
return createBuildingEditorItem.Connect(_subscriber); }
44 { createBuildingEditorItem.Disconnect(_subscriber); }
49 public:
template<
typename T>
51 {
return saveBuildingModel.Connect(_subscriber); }
57 { saveBuildingModel.Disconnect(_subscriber); }
62 public:
template<
typename T>
65 {
return finishBuildingModel.Connect(_subscriber); }
71 { finishBuildingModel.Disconnect(_subscriber); }
76 public:
template<
typename T>
79 {
return discardBuildingModel.Connect(_subscriber); }
85 { discardBuildingModel.Disconnect(_subscriber); }
90 public:
template<
typename T>
93 {
return changeBuildingLevel.Connect(_subscriber); }
99 { changeBuildingLevel.Disconnect(_subscriber); }
104 public:
template<
typename T>
106 {
return addBuildingLevel.Connect(_subscriber); }
112 { addBuildingLevel.Disconnect(_subscriber); }
117 public:
template<
typename T>
120 {
return deleteBuildingLevel.Connect(_subscriber); }
126 { deleteBuildingLevel.Disconnect(_subscriber); }
131 public:
template<
typename T>
134 {
return changeBuildingLevelName.Connect(_subscriber); }
140 { changeBuildingLevelName.Disconnect(_subscriber); }
145 public:
template<
typename T>
148 {
return changeBuildingEditorZoom.Connect(_subscriber); }
154 { changeBuildingEditorZoom.Disconnect(_subscriber); }
159 public:
template<
typename T>
161 {
return saveBuildingEditor.Connect(_subscriber); }
167 { saveBuildingEditor.Disconnect(_subscriber); }
172 public:
template<
typename T>
174 {
return doneBuildingEditor.Connect(_subscriber); }
180 { doneBuildingEditor.Disconnect(_subscriber); }
185 public:
template<
typename T>
188 {
return discardBuildingEditor.Connect(_subscriber); }
194 { discardBuildingEditor.Disconnect(_subscriber); }
199 public:
template<
typename T>
201 {
return exitBuildingEditor.Connect(_subscriber); }
207 { exitBuildingEditor.Disconnect(_subscriber); }
static event::EventT< void(double)> changeBuildingEditorZoom
The current zoom level has been changed.
Definition: BuildingEditorEvents.hh:237
static event::EventT< void()> addBuildingLevel
A new level has been added.
Definition: BuildingEditorEvents.hh:227
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:144
static event::ConnectionPtr ConnectSaveBuildingEditor(T _subscriber)
Connect a boost::slot to the save signal.
Definition: BuildingEditorEvents.hh:160
static event::ConnectionPtr ConnectDeleteBuildingLevel(T _subscriber)
Connect a boost::slot to the delete level signal.
Definition: BuildingEditorEvents.hh:119
static void DisconnectChangeBuildingEditorZoom(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the change zoom level signal.
Definition: BuildingEditorEvents.hh:152
static event::EventT< void(int)> changeBuildingLevel
The current level has been changed.
Definition: BuildingEditorEvents.hh:224
static event::EventT< void(int)> deleteBuildingLevel
A new level has been deleted.
Definition: BuildingEditorEvents.hh:230
static event::EventT< void(std::string, std::string)> saveBuildingModel
A model has been saved with a name and a location.
Definition: BuildingEditorEvents.hh:215
static event::EventT< void(std::string)> createBuildingEditorItem
An editor item is to be created.
Definition: BuildingEditorEvents.hh:211
static event::ConnectionPtr ConnectChangeBuildingLevel(T _subscriber)
Connect a boost::slot to the change model signal.
Definition: BuildingEditorEvents.hh:92
static void DisconnectFinishBuildingModel(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the finish model signal.
Definition: BuildingEditorEvents.hh:69
static event::ConnectionPtr ConnectDiscardBuildingModel(T _subscriber)
Connect a boost::slot to the discard model signal.
Definition: BuildingEditorEvents.hh:78
static event::EventT< void()> finishBuildingModel
A model has been completed and uploaded onto the server.
Definition: BuildingEditorEvents.hh:218
static event::EventT< void(int, std::string)> changeBuildingLevelName
The current level name has been changed.
Definition: BuildingEditorEvents.hh:234
static event::ConnectionPtr ConnectFinishBuildingModel(T _subscriber)
Connect a boost::slot to the finish model signal.
Definition: BuildingEditorEvents.hh:64
static event::ConnectionPtr ConnectAddBuildingLevel(T _subscriber)
Connect a boost::slot to the add level signal.
Definition: BuildingEditorEvents.hh:105
static event::ConnectionPtr ConnectDiscardBuildingEditor(T _subscriber)
Connect a boost::slot to the discard signal.
Definition: BuildingEditorEvents.hh:187
static void DisconnectDoneBuildingEditor(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the done signal.
Definition: BuildingEditorEvents.hh:178
static event::ConnectionPtr ConnectExitBuildingEditor(T _subscriber)
Connect a boost::slot to the exit signal.
Definition: BuildingEditorEvents.hh:200
static void DisconnectExitBuildingEditor(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the exit signal.
Definition: BuildingEditorEvents.hh:205
static void DisconnectCreateBuildingEditorItem(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the create editor item signal.
Definition: BuildingEditorEvents.hh:42
static void DisconnectChangeBuildingLevel(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the change level signal.
Definition: BuildingEditorEvents.hh:97
static event::EventT< void()> discardBuildingEditor
Discard the model.
Definition: BuildingEditorEvents.hh:243
Definition: BuildingEditorEvents.hh:30
static event::EventT< void()> saveBuildingEditor
Save the model.
Definition: BuildingEditorEvents.hh:240
static event::ConnectionPtr ConnectDoneBuildingEditor(T _subscriber)
Connect a boost::slot to the done signal.
Definition: BuildingEditorEvents.hh:173
static void DisconnectChangeBuildingLevelName(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the change level name signal.
Definition: BuildingEditorEvents.hh:138
static event::ConnectionPtr ConnectCreateBuildingEditorItem(T _subscriber)
Connect a boost::slot to the create editor item signal.
Definition: BuildingEditorEvents.hh:37
static event::ConnectionPtr ConnectSaveBuildingModel(T _subscriber)
Connect a boost::slot to the save model signal.
Definition: BuildingEditorEvents.hh:50
static void DisconnectSaveBuildingModel(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the save model signal.
Definition: BuildingEditorEvents.hh:55
static void DisconnectDeleteBuildingLevel(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the delete level signal.
Definition: BuildingEditorEvents.hh:124
static void DisconnectDiscardBuildingModel(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the discard model signal.
Definition: BuildingEditorEvents.hh:83
static event::ConnectionPtr ConnectChangeBuildingEditorZoom(T _subscriber)
Connect a boost::slot to the change zoom signal.
Definition: BuildingEditorEvents.hh:147
static void DisconnectAddBuildingLevel(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the add level signal.
Definition: BuildingEditorEvents.hh:110
static event::EventT< void()> discardBuildingModel
A model has been discarded.
Definition: BuildingEditorEvents.hh:221
static event::EventT< void()> doneBuildingEditor
Finish creating the model, save, and exit.
Definition: BuildingEditorEvents.hh:246
static void DisconnectDiscardBuildingEditor(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the discard signal.
Definition: BuildingEditorEvents.hh:192
static event::ConnectionPtr ConnectChangeBuildingLevelName(T _subscriber)
Connect a boost::slot to the change level name signal.
Definition: BuildingEditorEvents.hh:133
static event::EventT< void()> exitBuildingEditor
Exit the editor mode with the option to save.
Definition: BuildingEditorEvents.hh:249
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
static void DisconnectSaveBuildingEditor(event::ConnectionPtr _subscriber)
Disconnect a boost::slot to the save signal.
Definition: BuildingEditorEvents.hh:165