Events Class Reference

#include <GuiEvents.hh>

Static Public Member Functions

template<typename T >
static event::ConnectionPtr ConnectAlignMode (T _subscriber)
 Connect a signal to the align mode signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectCreateEntity (T _subscriber)
 Connect a signal the add entity signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectEditModel (T _subscriber)
 Connect a signal to the edit model signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectFollow (T _subscriber)
 Connect a signal to the follow signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectFPS (T _subscriber)
 Connect a signal to the view FPS signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectFullScreen (T _subscriber)
 Connect a signal to the fullscreen signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectInputStepSize (T _subscriber)
 Connect a signal to the input step size signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectKeyPress (T _subscriber)
 Connect a signal to the view KeyPress signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectLeftPaneVisibility (T _subscriber)
 Connect a signal to toggle the GUI's left hand pane signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectLightUpdate (T _subscriber)
 Connect a signal to the light update signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectMainWindowReady (T _subscriber)
 Connect a signal to the main window ready signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectManipMode (T _subscriber)
 Connect a signal to the manip mode signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectModelUpdate (T _subscriber)
 Connect a signal to the model update signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectMoveMode (T _subscriber)
 Connect a signal to the move mode signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectOrbit (T _subscriber)
 Connect a signal to the view Orbit signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectScaleEntity (T _subscriber)
 Connect a signal to the scale entity signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectShowToolbars (T _subscriber)
 Connect a signal to the show toolbars signal. More...
 
template<typename T >
static event::ConnectionPtr ConnectWindowMode (T _subscriber)
 Connect a signal to the window mode signal. More...
 
static void DisconnectAlignMode (event::ConnectionPtr _subscriber)
 Disconnect a signal from the align mode signal. More...
 
static void DisconnectCreateEntity (event::ConnectionPtr _subscriber)
 Disconnect a signal from add entity signal. More...
 
static void DisconnectEditModel (event::ConnectionPtr _subscriber)
 Disconnect a signal from the edit model signal. More...
 
static void DisconnectFollow (event::ConnectionPtr _subscriber)
 Disconnect a signal from the follow signal. More...
 
static void DisconnectFPS (event::ConnectionPtr _subscriber)
 Disconnect a signal from the view FPS signal. More...
 
static void DisconnectFullScreen (event::ConnectionPtr _subscriber)
 Disconnect a signal from the fullscreen signal. More...
 
static void DisconnectInputStepSize (event::ConnectionPtr _subscriber)
 Disconnect a signal from the input step size signal. More...
 
static void DisconnectKeyPress (event::ConnectionPtr _subscriber)
 Disconnect a signal from the view KeyPress signal. More...
 
static void DisconnectLeftPaneVisibility (event::ConnectionPtr _subscriber)
 Disconnect a signal to toggle the GUI's left hand pane signal. More...
 
static void DisconnectLightUpdate (event::ConnectionPtr _subscriber)
 Disconnect a signal from the light update signal. More...
 
static void DisconnectMainWindowReady (event::ConnectionPtr _subscriber)
 Disconnect a signal from the main window ready signal. More...
 
static void DisconnectManipMode (event::ConnectionPtr _subscriber)
 Disconnect a signal from the manip mode signal. More...
 
static void DisconnectModelUpdate (event::ConnectionPtr _subscriber)
 Disconnect a signal from the model update signal. More...
 
static void DisconnectMoveMode (event::ConnectionPtr _subscriber)
 Disconnect a signal from the move mode signal. More...
 
static void DisconnectOrbit (event::ConnectionPtr _subscriber)
 Disconnect a signal from the view Orbit signal. More...
 
static void DisconnectScaleEntity (event::ConnectionPtr _subscriber)
 Disconnect a signal from the scale entity signal. More...
 
static void DisconnectShowToolbars (event::ConnectionPtr _subscriber)
 Disconnect a signal from the show toolbars signal. More...
 
static void DisconnectWindowMode (event::ConnectionPtr _subscriber)
 Disconnect a signal from the window mode signal. More...
 

Static Public Attributes

static event::EventT< void(std::string, std::string, std::string, bool, bool)> alignMode
 indicates the user is aligning objects More...
 
static event::EventT< void(std::string, std::string)> createEntity
 indicates an entity has been created More...
 
static event::EventT< void(const std::string &)> editModel
 Event triggered when the user selects edit a model. More...
 
static event::EventT< void(const std::string &)> follow
 Event triggered when the user follows a model. More...
 
static event::EventT< void()> fps
 An event to enable first-person-shooter view control. More...
 
static event::EventT< void(bool)> fullScreen
 An event to trigger full screen mode. More...
 
static event::EventT< void(int)> inputStepSize
 Step size changed event. More...
 
static event::EventT< void(std::string)> keyPress
 Event triggered when a key is pressed. More...
 
static event::EventT< void(bool)> leftPaneVisibility
 Used to set whether the GUI's left pane is visible. More...
 
static event::EventT< void(const msgs::Light &)> lightUpdate
 An event to notify light updates. More...
 
static event::EventT< void()> mainWindowReady
 Main window ready event. More...
 
static event::EventT< void(std::string)> manipMode
 indicates the user is manipulating an object More...
 
static event::EventT< void(const msgs::Model &)> modelUpdate
 indicates a model has been updated More...
 
static event::EventT< void(bool)> moveMode
 Indicates the user is moving the camera. More...
 
static event::EventT< void()> orbit
 An event to enable orbit view control. More...
 
static event::EventT< void(const std::string &, const math::Vector3 &)> scaleEntity
 Scale entity event. More...
 
static event::EventT< void(bool)> showToolbars
 An event to trigger show toolbars. More...
 
static event::EventT< void(const std::string &)> windowMode
 Event triggered when changing window mode. More...
 

Member Function Documentation

§ ConnectAlignMode()

static event::ConnectionPtr ConnectAlignMode ( _subscriber)
inlinestatic

Connect a signal to the align mode signal.

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

§ ConnectCreateEntity()

static event::ConnectionPtr ConnectCreateEntity ( _subscriber)
inlinestatic

Connect a signal the add entity signal.

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

§ ConnectEditModel()

static event::ConnectionPtr ConnectEditModel ( _subscriber)
inlinestatic

Connect a signal to the edit model signal.

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

§ ConnectFollow()

static event::ConnectionPtr ConnectFollow ( _subscriber)
inlinestatic

Connect a signal to the follow signal.

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

§ ConnectFPS()

static event::ConnectionPtr ConnectFPS ( _subscriber)
inlinestatic

Connect a signal to the view FPS signal.

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

§ ConnectFullScreen()

static event::ConnectionPtr ConnectFullScreen ( _subscriber)
inlinestatic

Connect a signal to the fullscreen signal.

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

§ ConnectInputStepSize()

static event::ConnectionPtr ConnectInputStepSize ( _subscriber)
inlinestatic

Connect a signal to the input step size signal.

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

§ ConnectKeyPress()

static event::ConnectionPtr ConnectKeyPress ( _subscriber)
inlinestatic

Connect a signal to the view KeyPress signal.

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

§ ConnectLeftPaneVisibility()

static event::ConnectionPtr ConnectLeftPaneVisibility ( _subscriber)
inlinestatic

Connect a signal to toggle the GUI's left hand pane signal.

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

Referenced by Events::DisconnectMainWindowReady().

§ ConnectLightUpdate()

static event::ConnectionPtr ConnectLightUpdate ( _subscriber)
inlinestatic

Connect a signal to the light update signal.

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

§ ConnectMainWindowReady()

static event::ConnectionPtr ConnectMainWindowReady ( _subscriber)
inlinestatic

Connect a signal to the main window ready signal.

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

§ ConnectManipMode()

static event::ConnectionPtr ConnectManipMode ( _subscriber)
inlinestatic

Connect a signal to the manip mode signal.

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

§ ConnectModelUpdate()

static event::ConnectionPtr ConnectModelUpdate ( _subscriber)
inlinestatic

Connect a signal to the model update signal.

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

§ ConnectMoveMode()

static event::ConnectionPtr ConnectMoveMode ( _subscriber)
inlinestatic

Connect a signal to the move mode signal.

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

§ ConnectOrbit()

static event::ConnectionPtr ConnectOrbit ( _subscriber)
inlinestatic

Connect a signal to the view Orbit signal.

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

§ ConnectScaleEntity()

static event::ConnectionPtr ConnectScaleEntity ( _subscriber)
inlinestatic

Connect a signal to the scale entity signal.

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

§ ConnectShowToolbars()

static event::ConnectionPtr ConnectShowToolbars ( _subscriber)
inlinestatic

Connect a signal to the show toolbars signal.

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

§ ConnectWindowMode()

static event::ConnectionPtr ConnectWindowMode ( _subscriber)
inlinestatic

Connect a signal to the window mode signal.

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

§ DisconnectAlignMode()

static void DisconnectAlignMode ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the align mode signal.

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

§ DisconnectCreateEntity()

static void DisconnectCreateEntity ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from add entity signal.

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

§ DisconnectEditModel()

static void DisconnectEditModel ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the edit model signal.

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

§ DisconnectFollow()

static void DisconnectFollow ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the follow signal.

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

§ DisconnectFPS()

static void DisconnectFPS ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the view FPS signal.

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

§ DisconnectFullScreen()

static void DisconnectFullScreen ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the fullscreen signal.

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

§ DisconnectInputStepSize()

static void DisconnectInputStepSize ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the input step size signal.

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

§ DisconnectKeyPress()

static void DisconnectKeyPress ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the view KeyPress signal.

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

§ DisconnectLeftPaneVisibility()

static void DisconnectLeftPaneVisibility ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal to toggle the GUI's left hand pane signal.

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

§ DisconnectLightUpdate()

static void DisconnectLightUpdate ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the light update signal.

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

§ DisconnectMainWindowReady()

static void DisconnectMainWindowReady ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the main window ready signal.

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

§ DisconnectManipMode()

static void DisconnectManipMode ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the manip mode signal.

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

§ DisconnectModelUpdate()

static void DisconnectModelUpdate ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the model update signal.

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

§ DisconnectMoveMode()

static void DisconnectMoveMode ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the move mode signal.

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

§ DisconnectOrbit()

static void DisconnectOrbit ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the view Orbit signal.

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

§ DisconnectScaleEntity()

static void DisconnectScaleEntity ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the scale entity signal.

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

§ DisconnectShowToolbars()

static void DisconnectShowToolbars ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the show toolbars signal.

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

§ DisconnectWindowMode()

static void DisconnectWindowMode ( event::ConnectionPtr  _subscriber)
inlinestatic

Disconnect a signal from the window mode signal.

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

Member Data Documentation

§ alignMode

event::EventT<void (std::string, std::string, std::string, bool, bool)> alignMode
static

indicates the user is aligning objects

Referenced by Events::ConnectAlignMode(), and Events::DisconnectAlignMode().

§ createEntity

event::EventT<void (std::string, std::string)> createEntity
static

indicates an entity has been created

Referenced by Events::ConnectCreateEntity(), and Events::DisconnectCreateEntity().

§ editModel

event::EventT<void (const std::string &)> editModel
static

Event triggered when the user selects edit a model.

The model name is given as the function parameter.

Referenced by Events::ConnectEditModel(), and Events::DisconnectEditModel().

§ follow

event::EventT<void (const std::string &)> follow
static

Event triggered when the user follows a model.

The model name is given as the function parameter.

Referenced by Events::ConnectFollow(), and Events::DisconnectFollow().

§ fps

event::EventT<void ()> fps
static

An event to enable first-person-shooter view control.

Referenced by Events::ConnectFPS(), and Events::DisconnectFPS().

§ fullScreen

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

An event to trigger full screen mode.

Referenced by Events::ConnectFullScreen(), and Events::DisconnectFullScreen().

§ inputStepSize

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

Step size changed event.

Referenced by Events::ConnectInputStepSize(), and Events::DisconnectInputStepSize().

§ keyPress

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

Event triggered when a key is pressed.

Referenced by Events::ConnectKeyPress(), and Events::DisconnectKeyPress().

§ leftPaneVisibility

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

Used to set whether the GUI's left pane is visible.

Referenced by Events::ConnectLeftPaneVisibility(), and Events::DisconnectLeftPaneVisibility().

§ lightUpdate

event::EventT<void (const msgs::Light &)> lightUpdate
static

An event to notify light updates.

Referenced by Events::ConnectLightUpdate(), and Events::DisconnectLightUpdate().

§ mainWindowReady

event::EventT<void ()> mainWindowReady
static

Main window ready event.

Referenced by Events::ConnectMainWindowReady(), and Events::DisconnectMainWindowReady().

§ manipMode

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

indicates the user is manipulating an object

Referenced by Events::ConnectManipMode(), and Events::DisconnectManipMode().

§ modelUpdate

event::EventT<void (const msgs::Model &)> modelUpdate
static

indicates a model has been updated

Referenced by Events::ConnectModelUpdate(), and Events::DisconnectModelUpdate().

§ moveMode

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

Indicates the user is moving the camera.

Referenced by Events::ConnectMoveMode(), and Events::DisconnectMoveMode().

§ orbit

event::EventT<void ()> orbit
static

An event to enable orbit view control.

Referenced by Events::ConnectOrbit(), and Events::DisconnectOrbit().

§ scaleEntity

event::EventT<void (const std::string &, const math::Vector3 &)> scaleEntity
static

Scale entity event.

Referenced by Events::ConnectScaleEntity(), and Events::DisconnectScaleEntity().

§ showToolbars

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

An event to trigger show toolbars.

Referenced by Events::ConnectShowToolbars(), and Events::DisconnectShowToolbars().

§ windowMode

event::EventT<void (const std::string &)> windowMode
static

Event triggered when changing window mode.

Possible modes are: "Simulation", "ModelEditor", "LogPlayback"

Referenced by Events::ConnectWindowMode(), and Events::DisconnectWindowMode().


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