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

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.

Member Data Documentation

event::EventT<void ()> addBuildingLevel
static

A new level has been added.

Referenced by Events::ConnectAddBuildingLevel().

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

Name was changed in the editor palette.

Referenced by Events::ConnectBuildingNameChanged().

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

The current zoom level has been changed.

Referenced by Events::ConnectChangeBuildingEditorZoom().

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

The current level has been changed.

Referenced by Events::ConnectChangeBuildingLevel().

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

A color has been selected.

Referenced by Events::ConnectColorSelected().

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

An editor item is to be created.

Referenced by Events::ConnectCreateBuildingEditorItem().

event::EventT<void ()> deleteBuildingLevel
static

A level has been deleted.

Referenced by Events::ConnectDeleteBuildingLevel().

event::EventT<void ()> exitBuildingEditor
static

Exit the editor mode with the option to save.

Referenced by Events::ConnectExitBuildingEditor().

event::EventT<void ()> finishBuildingModel
static

A model has been completed and uploaded onto the server.

Referenced by Events::ConnectFinishBuildingModel().

event::EventT<void ()> newBuildingEditor
static

Make a new model.

Referenced by Events::ConnectNewBuildingEditor().

event::EventT<void ()> newBuildingModel
static

A new model has been started.

Referenced by Events::ConnectNewBuildingModel().

event::EventT<bool ()> saveAsBuildingEditor
static

Save the model as.

Referenced by Events::ConnectSaveAsBuildingEditor().

event::EventT<bool ()> saveBuildingEditor
static

Save the model.

Referenced by Events::ConnectSaveBuildingEditor().

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

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

Referenced by Events::ConnectSaveBuildingModel().

event::EventT<void ()> showElements
static

Show or hide building elements.

Referenced by Events::ConnectShowElements().

event::EventT<void ()> showFloorplan
static

Show or hide floorplan.

Referenced by Events::ConnectShowFloorplan().

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

A texture has been selected.

Referenced by Events::ConnectTextureSelected().

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

Toggle if the edit mode was checked or not.

Referenced by Events::ConnectToggleEditMode().

event::EventT<void ()> triggerShowElements
static

Trigger show elements.

Referenced by Events::ConnectTriggerShowElements().

event::EventT<void ()> triggerShowFloorplan
static

Trigger show floorplan.

Referenced by Events::ConnectTriggerShowFloorplan().

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: