Events Class Reference

#include <BuildingEditorEvents.hh>

Static Public Member Functions

template<typename T >
static event::ConnectionPtr ConnectAddBuildingLevel (T _subscriber)
 Connect a Gazebo event to the add level signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectBuildingNameChanged (T _subscriber)
 Connect a Gazebo event to the name changed signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectChangeBuildingEditorZoom (T _subscriber)
 Connect a Gazebo event to the change zoom signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectChangeBuildingLevel (T _subscriber)
 Connect a Gazebo event to the change model signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectColorSelected (T _subscriber)
 Connect a Gazebo event to the color selected signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectCreateBuildingEditorItem (T _subscriber)
 Connect a Gazebo event to the create editor item signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectDeleteBuildingLevel (T _subscriber)
 Connect a Gazebo event to the delete level signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectExitBuildingEditor (T _subscriber)
 Connect a Gazebo event to the exit signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectFinishBuildingModel (T _subscriber)
 Connect a Gazebo event to the finish model signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectNewBuildingEditor (T _subscriber)
 Connect a Gazebo event to the new signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectNewBuildingModel (T _subscriber)
 Connect a Gazebo event to the new model signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectSaveAsBuildingEditor (T _subscriber)
 Connect a Gazebo event to the save as signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectSaveBuildingEditor (T _subscriber)
 Connect a Gazebo event to the save signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectSaveBuildingModel (T _subscriber)
 Connect a Gazebo event to the save model signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectShowElements (T _subscriber)
 Connect a Gazebo event to the show elements signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectShowFloorplan (T _subscriber)
 Connect a Gazebo event to the show floorplan signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectTextureSelected (T _subscriber)
 Connect a Gazebo event to the texture selected signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectToggleEditMode (T _subscriber)
 Connect a Gazebo event to the toggle edit mode signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectTriggerShowElements (T _subscriber)
 Connect a Gazebo event to the trigger show elements signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectTriggerShowFloorplan (T _subscriber)
 Connect a Gazebo event to the trigger show floorplan signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectUpdateLevelWidget (T _subscriber)
 Connect a Gazebo event to the update level widget signal. More...
 
static void DisconnectAddBuildingLevel (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the add level signal. More...
 
static void DisconnectBuildingNameChanged (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the name changed signal. More...
 
static void DisconnectChangeBuildingEditorZoom (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the change zoom level signal. More...
 
static void DisconnectChangeBuildingLevel (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the change level signal. More...
 
static void DisconnectColorSelected (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the color selected signal. More...
 
static void DisconnectCreateBuildingEditorItem (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the create editor item signal. More...
 
static void DisconnectDeleteBuildingLevel (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the delete level signal. More...
 
static void DisconnectExitBuildingEditor (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the exit signal. More...
 
static void DisconnectFinishBuildingModel (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the finish model signal. More...
 
static void DisconnectNewBuildingEditor (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the new signal. More...
 
static void DisconnectNewBuildingModel (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the new model signal. More...
 
static void DisconnectSaveAsBuildingEditor (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the save as signal. More...
 
static void DisconnectSaveBuildingEditor (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the save signal. More...
 
static void DisconnectSaveBuildingModel (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the save model signal. More...
 
static void DisconnectShowElements (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the show elements signal. More...
 
static void DisconnectShowFloorplan (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the show floorplan signal. More...
 
static void DisconnectTextureSelected (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the texture selected signal. More...
 
static void DisconnectToggleEditMode (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the toggle edit mode signal. More...
 
static void DisconnectTriggerShowElements (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the trigger show elements signal. More...
 
static void DisconnectTriggerShowFloorplan (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the trigger show floorplan signal. More...
 
static void DisconnectUpdateLevelWidget (event::ConnectionPtr _subscriber)
 Disconnect a Gazebo event from the update level widget signal. More...
 

Static Public Attributes

static event::EventT< void()> addBuildingLevel
 A new level has been added. More...
 
static event::EventT< void(std::string)> buildingNameChanged
 Name was changed in the editor palette. More...
 
static event::EventT< void(double)> changeBuildingEditorZoom
 The current zoom level has been changed. More...
 
static event::EventT< void(int)> changeBuildingLevel
 The current level has been changed. More...
 
static event::EventT< void(QColor)> colorSelected
 A color has been selected. More...
 
static event::EventT< void(std::string)> createBuildingEditorItem
 An editor item is to be created. More...
 
static event::EventT< void()> deleteBuildingLevel
 A level has been deleted. More...
 
static event::EventT< void()> exitBuildingEditor
 Exit the editor mode with the option to save. More...
 
static event::EventT< void()> finishBuildingModel
 A model has been completed and uploaded onto the server. More...
 
static event::EventT< void()> newBuildingEditor
 Make a new model. More...
 
static event::EventT< void()> newBuildingModel
 A new model has been started. More...
 
static event::EventT< bool()> saveAsBuildingEditor
 Save the model as. More...
 
static event::EventT< bool()> saveBuildingEditor
 Save the model. More...
 
static event::EventT< void(std::string)> saveBuildingModel
 A model has been saved with a name and a location. More...
 
static event::EventT< void()> showElements
 Show or hide building elements. More...
 
static event::EventT< void()> showFloorplan
 Show or hide floorplan. More...
 
static event::EventT< void(QString)> textureSelected
 A texture has been selected. More...
 
static event::EventT< void(bool)> toggleEditMode
 Toggle if the edit mode was checked or not. More...
 
static event::EventT< void()> triggerShowElements
 Trigger show elements. More...
 
static event::EventT< void()> triggerShowFloorplan
 Trigger show floorplan. More...
 
static event::EventT< void(int,
std::string)> 
updateLevelWidget
 The levels have been changed. More...
 

Member Function Documentation

static event::ConnectionPtr ConnectAddBuildingLevel ( _subscriber)
inlinestatic

Connect a Gazebo event to the add level signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References Events::addBuildingLevel, and EventT< T >::Connect().

static event::ConnectionPtr ConnectBuildingNameChanged ( _subscriber)
inlinestatic

Connect a Gazebo event to the name changed signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References Events::buildingNameChanged, and EventT< T >::Connect().

static event::ConnectionPtr ConnectChangeBuildingEditorZoom ( _subscriber)
inlinestatic

Connect a Gazebo event to the change zoom signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References Events::changeBuildingEditorZoom, and EventT< T >::Connect().

static event::ConnectionPtr ConnectChangeBuildingLevel ( _subscriber)
inlinestatic

Connect a Gazebo event to the change model signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References Events::changeBuildingLevel, and EventT< T >::Connect().

static event::ConnectionPtr ConnectColorSelected ( _subscriber)
inlinestatic

Connect a Gazebo event to the color selected signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References Events::colorSelected, and EventT< T >::Connect().

static event::ConnectionPtr ConnectCreateBuildingEditorItem ( _subscriber)
inlinestatic

Connect a Gazebo event to the create editor item signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::createBuildingEditorItem.

static event::ConnectionPtr ConnectDeleteBuildingLevel ( _subscriber)
inlinestatic

Connect a Gazebo event to the delete level signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::deleteBuildingLevel.

static event::ConnectionPtr ConnectExitBuildingEditor ( _subscriber)
inlinestatic

Connect a Gazebo event to the exit signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::exitBuildingEditor.

static event::ConnectionPtr ConnectFinishBuildingModel ( _subscriber)
inlinestatic

Connect a Gazebo event to the finish model signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::finishBuildingModel.

static event::ConnectionPtr ConnectNewBuildingEditor ( _subscriber)
inlinestatic

Connect a Gazebo event to the new signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::newBuildingEditor.

static event::ConnectionPtr ConnectNewBuildingModel ( _subscriber)
inlinestatic

Connect a Gazebo event to the new model signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::newBuildingModel.

static event::ConnectionPtr ConnectSaveAsBuildingEditor ( _subscriber)
inlinestatic

Connect a Gazebo event to the save as signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::saveAsBuildingEditor.

static event::ConnectionPtr ConnectSaveBuildingEditor ( _subscriber)
inlinestatic

Connect a Gazebo event to the save signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::saveBuildingEditor.

static event::ConnectionPtr ConnectSaveBuildingModel ( _subscriber)
inlinestatic

Connect a Gazebo event to the save model signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::saveBuildingModel.

static event::ConnectionPtr ConnectShowElements ( _subscriber)
inlinestatic

Connect a Gazebo event to the show elements signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::showElements.

static event::ConnectionPtr ConnectShowFloorplan ( _subscriber)
inlinestatic

Connect a Gazebo event to the show floorplan signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::showFloorplan.

static event::ConnectionPtr ConnectTextureSelected ( _subscriber)
inlinestatic

Connect a Gazebo event to the texture selected signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::textureSelected.

static event::ConnectionPtr ConnectToggleEditMode ( _subscriber)
inlinestatic

Connect a Gazebo event to the toggle edit mode signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::toggleEditMode.

static event::ConnectionPtr ConnectTriggerShowElements ( _subscriber)
inlinestatic

Connect a Gazebo event to the trigger show elements signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::triggerShowElements.

static event::ConnectionPtr ConnectTriggerShowFloorplan ( _subscriber)
inlinestatic

Connect a Gazebo event to the trigger show floorplan signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::triggerShowFloorplan.

static event::ConnectionPtr ConnectUpdateLevelWidget ( _subscriber)
inlinestatic

Connect a Gazebo event to the update level widget signal.

Parameters
[in]_subscriberthe subscriber to this event
Returns
a connection

References EventT< T >::Connect(), and Events::updateLevelWidget.

static void DisconnectAddBuildingLevel ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the add level signal.

Parameters
[in]_subscriberthe subscriber to this event

References Events::addBuildingLevel, and EventT< T >::Disconnect().

static void DisconnectBuildingNameChanged ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the name changed signal.

Parameters
[in]_subscriberthe subscriber to this event

References Events::buildingNameChanged, and EventT< T >::Disconnect().

static void DisconnectChangeBuildingEditorZoom ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the change zoom level signal.

Parameters
[in]_subscriberthe subscriber to this event

References Events::changeBuildingEditorZoom, and EventT< T >::Disconnect().

static void DisconnectChangeBuildingLevel ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the change level signal.

Parameters
[in]_subscriberthe subscriber to this event

References Events::changeBuildingLevel, and EventT< T >::Disconnect().

static void DisconnectColorSelected ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the color selected signal.

Parameters
[in]_subscriberthe subscriber to this event

References Events::colorSelected, and EventT< T >::Disconnect().

static void DisconnectCreateBuildingEditorItem ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the create editor item signal.

Parameters
[in]_subscriberthe subscriber to this event

References Events::createBuildingEditorItem, and EventT< T >::Disconnect().

static void DisconnectDeleteBuildingLevel ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the delete level signal.

Parameters
[in]_subscriberthe subscriber to this event

References Events::deleteBuildingLevel, and EventT< T >::Disconnect().

static void DisconnectExitBuildingEditor ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the exit signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::exitBuildingEditor.

static void DisconnectFinishBuildingModel ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the finish model signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::finishBuildingModel.

static void DisconnectNewBuildingEditor ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the new signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::newBuildingEditor.

static void DisconnectNewBuildingModel ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the new model signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::newBuildingModel.

static void DisconnectSaveAsBuildingEditor ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the save as signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::saveAsBuildingEditor.

static void DisconnectSaveBuildingEditor ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the save signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::saveBuildingEditor.

static void DisconnectSaveBuildingModel ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the save model signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::saveBuildingModel.

static void DisconnectShowElements ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the show elements signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::showElements.

static void DisconnectShowFloorplan ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the show floorplan signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::showFloorplan.

static void DisconnectTextureSelected ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the texture selected signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::textureSelected.

static void DisconnectToggleEditMode ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the toggle edit mode signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::toggleEditMode.

static void DisconnectTriggerShowElements ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the trigger show elements signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::triggerShowElements.

static void DisconnectTriggerShowFloorplan ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the trigger show floorplan signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::triggerShowFloorplan.

static void DisconnectUpdateLevelWidget ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a Gazebo event from the update level widget signal.

Parameters
[in]_subscriberthe subscriber to this event

References EventT< T >::Disconnect(), and Events::updateLevelWidget.

Member Data Documentation

event::EventT<void ()> addBuildingLevel
static

A new level has been added.

Referenced by Events::ConnectAddBuildingLevel(), and Events::DisconnectAddBuildingLevel().

event::EventT<void (std::string)> buildingNameChanged
static

Name was changed in the editor palette.

Referenced by Events::ConnectBuildingNameChanged(), and Events::DisconnectBuildingNameChanged().

event::EventT<void (double)> changeBuildingEditorZoom
static

The current zoom level has been changed.

Referenced by Events::ConnectChangeBuildingEditorZoom(), and Events::DisconnectChangeBuildingEditorZoom().

event::EventT<void (int)> changeBuildingLevel
static

The current level has been changed.

Referenced by Events::ConnectChangeBuildingLevel(), and Events::DisconnectChangeBuildingLevel().

event::EventT<void (QColor)> colorSelected
static

A color has been selected.

Referenced by Events::ConnectColorSelected(), and Events::DisconnectColorSelected().

event::EventT<void (std::string)> createBuildingEditorItem
static
event::EventT<void ()> deleteBuildingLevel
static
event::EventT<void ()> exitBuildingEditor
static

Exit the editor mode with the option to save.

Referenced by Events::ConnectExitBuildingEditor(), and Events::DisconnectExitBuildingEditor().

event::EventT<void ()> finishBuildingModel
static

A model has been completed and uploaded onto the server.

Referenced by Events::ConnectFinishBuildingModel(), and Events::DisconnectFinishBuildingModel().

event::EventT<void ()> newBuildingEditor
static
event::EventT<void ()> newBuildingModel
static

A new model has been started.

Referenced by Events::ConnectNewBuildingModel(), and Events::DisconnectNewBuildingModel().

event::EventT<bool ()> saveAsBuildingEditor
static
event::EventT<bool ()> saveBuildingEditor
static
event::EventT<void (std::string)> saveBuildingModel
static

A model has been saved with a name and a location.

Referenced by Events::ConnectSaveBuildingModel(), and Events::DisconnectSaveBuildingModel().

event::EventT<void ()> showElements
static

Show or hide building elements.

Referenced by Events::ConnectShowElements(), and Events::DisconnectShowElements().

event::EventT<void ()> showFloorplan
static

Show or hide floorplan.

Referenced by Events::ConnectShowFloorplan(), and Events::DisconnectShowFloorplan().

event::EventT<void (QString)> textureSelected
static

A texture has been selected.

Referenced by Events::ConnectTextureSelected(), and Events::DisconnectTextureSelected().

event::EventT<void (bool)> toggleEditMode
static

Toggle if the edit mode was checked or not.

Referenced by Events::ConnectToggleEditMode(), and Events::DisconnectToggleEditMode().

event::EventT<void ()> triggerShowElements
static
event::EventT<void ()> triggerShowFloorplan
static
event::EventT<void (int, std::string)> updateLevelWidget
static

The levels have been changed.

Referenced by Events::ConnectUpdateLevelWidget(), and Events::DisconnectUpdateLevelWidget().


The documentation for this class was generated from the following file: