##

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 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

## ConnectAddBuildingLevel()

static event::ConnectionPtr ConnectAddBuildingLevel | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the add level signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectBuildingNameChanged()

static event::ConnectionPtr ConnectBuildingNameChanged | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the name changed signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectChangeBuildingEditorZoom()

static event::ConnectionPtr ConnectChangeBuildingEditorZoom | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the change zoom signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectChangeBuildingLevel()

static event::ConnectionPtr ConnectChangeBuildingLevel | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the change model signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectColorSelected()

static event::ConnectionPtr ConnectColorSelected | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the color selected signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectCreateBuildingEditorItem()

static event::ConnectionPtr ConnectCreateBuildingEditorItem | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the create editor item signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectDeleteBuildingLevel()

static event::ConnectionPtr ConnectDeleteBuildingLevel | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the delete level signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectExitBuildingEditor()

static event::ConnectionPtr ConnectExitBuildingEditor | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the exit signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectFinishBuildingModel()

static event::ConnectionPtr ConnectFinishBuildingModel | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the finish model signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectNewBuildingEditor()

static event::ConnectionPtr ConnectNewBuildingEditor | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the new signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectNewBuildingModel()

static event::ConnectionPtr ConnectNewBuildingModel | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the new model signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectSaveAsBuildingEditor()

static event::ConnectionPtr ConnectSaveAsBuildingEditor | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the save as signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectSaveBuildingEditor()

static event::ConnectionPtr ConnectSaveBuildingEditor | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the save signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectSaveBuildingModel()

static event::ConnectionPtr ConnectSaveBuildingModel | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the save model signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectShowElements()

static event::ConnectionPtr ConnectShowElements | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the show elements signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectShowFloorplan()

static event::ConnectionPtr ConnectShowFloorplan | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the show floorplan signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectTextureSelected()

static event::ConnectionPtr ConnectTextureSelected | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the texture selected signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectToggleEditMode()

static event::ConnectionPtr ConnectToggleEditMode | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the toggle edit mode signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectTriggerShowElements()

static event::ConnectionPtr ConnectTriggerShowElements | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the trigger show elements signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectTriggerShowFloorplan()

static event::ConnectionPtr ConnectTriggerShowFloorplan | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the trigger show floorplan signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## ConnectUpdateLevelWidget()

static event::ConnectionPtr ConnectUpdateLevelWidget | ( | T | _subscriber | ) |

inline static

Connect a Gazebo event to the update level widget signal.

Parameters

  [in] | _subscriber | the subscriber to this event

Returns
  a connection

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

## Member Data Documentation

## addBuildingLevel

event::EventT<void ()> addBuildingLevel

static

A new level has been added.

Referenced by Events::ConnectAddBuildingLevel().

## buildingNameChanged

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

static

Name was changed in the editor palette.

Referenced by Events::ConnectBuildingNameChanged().

## changeBuildingEditorZoom

event::EventT<void (double)> changeBuildingEditorZoom

static

The current zoom level has been changed.

Referenced by Events::ConnectChangeBuildingEditorZoom().

## changeBuildingLevel

event::EventT<void (int)> changeBuildingLevel

static

The current level has been changed.

Referenced by Events::ConnectChangeBuildingLevel().

## colorSelected

event::EventT<void (QColor)> colorSelected

static

A color has been selected.

Referenced by Events::ConnectColorSelected().

## createBuildingEditorItem

event::EventT<void (std::string)> createBuildingEditorItem

static

An editor item is to be created.

Referenced by Events::ConnectCreateBuildingEditorItem().

## deleteBuildingLevel

event::EventT<void ()> deleteBuildingLevel

static

A level has been deleted.

Referenced by Events::ConnectDeleteBuildingLevel().

## exitBuildingEditor

event::EventT<void ()> exitBuildingEditor

static

Exit the editor mode with the option to save.

Referenced by Events::ConnectExitBuildingEditor().

## finishBuildingModel

event::EventT<void ()> finishBuildingModel

static

A model has been completed and uploaded onto the server.

Referenced by Events::ConnectFinishBuildingModel().

## newBuildingEditor

event::EventT<void ()> newBuildingEditor

static

Make a new model.

Referenced by Events::ConnectNewBuildingEditor().

## newBuildingModel

event::EventT<void ()> newBuildingModel

static

A new model has been started.

Referenced by Events::ConnectNewBuildingModel().

## saveAsBuildingEditor

event::EventT<bool ()> saveAsBuildingEditor

static

Save the model as.

Referenced by Events::ConnectSaveAsBuildingEditor().

## saveBuildingEditor

event::EventT<bool ()> saveBuildingEditor

static

Save the model.

Referenced by Events::ConnectSaveBuildingEditor().

## saveBuildingModel

event::EventT<void (std::string)> saveBuildingModel

static

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

Referenced by Events::ConnectSaveBuildingModel().

## showElements

event::EventT<void ()> showElements

static

Show or hide building elements.

Referenced by Events::ConnectShowElements().

## showFloorplan

event::EventT<void ()> showFloorplan

static

Show or hide floorplan.

Referenced by Events::ConnectShowFloorplan().

## textureSelected

event::EventT<void (QString)> textureSelected

static

A texture has been selected.

Referenced by Events::ConnectTextureSelected().

## toggleEditMode

event::EventT<void (bool)> toggleEditMode

static

Toggle if the edit mode was checked or not.

Referenced by Events::ConnectToggleEditMode().

## triggerShowElements

event::EventT<void ()> triggerShowElements

static

Trigger show elements.

Referenced by Events::ConnectTriggerShowElements().

## triggerShowFloorplan

event::EventT<void ()> triggerShowFloorplan

static

Trigger show floorplan.

Referenced by Events::ConnectTriggerShowFloorplan().

## updateLevelWidget

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

static

The levels have been changed.

Referenced by Events::ConnectUpdateLevelWidget().

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

- BuildingEditorEvents.hh