17 #ifndef _GUI_EVENTS_HH_ 
   18 #define _GUI_EVENTS_HH_ 
   33       public: 
template<
typename T>
 
   35               { 
return createEntity.Connect(_subscriber); }
 
   38               { createEntity.Disconnect(_subscriber); }
 
   42       public: 
template<
typename T>
 
   44               { 
return moveMode.Connect(_subscriber); }
 
   46               { moveMode.Disconnect(_subscriber); }
 
   50       public: 
template<
typename T>
 
   52               {
return manipMode.Connect(_subscriber);}
 
   54               {manipMode.Disconnect(_subscriber);}
 
   58       public: 
template<
typename T>
 
   60               { 
return fullScreen.Connect(_subscriber); }
 
   62               { fullScreen.Disconnect(_subscriber); }
 
   65       public: 
template<
typename T>
 
   67               { 
return fps.Connect(_subscriber); }
 
   69               { fps.Disconnect(_subscriber); }
 
   72       public: 
template<
typename T>
 
   74               { 
return orbit.Connect(_subscriber); }
 
   76               { orbit.Disconnect(_subscriber); }
 
   79       public: 
template<
typename T>
 
   81               { 
return keyPress.Connect(_subscriber); }
 
   83               { keyPress.Disconnect(_subscriber); }
 
   87       public: 
template<
typename T>
 
   89               { 
return lightUpdate.Connect(_subscriber); }
 
   92               { lightUpdate.Disconnect(_subscriber); }
 
   95       public: 
template<
typename T>
 
   97               { 
return modelUpdate.Connect(_subscriber); }
 
  100               { modelUpdate.Disconnect(_subscriber); }
 
  104       public: 
template<
typename T>
 
  106               { 
return inputStepSize.Connect(_subscriber); }
 
  109               { inputStepSize.Disconnect(_subscriber); }
 
  113       public: 
template<
typename T>
 
  115               { 
return follow.Connect(_subscriber); }
 
  118               { follow.Disconnect(_subscriber); }
 
boost::shared_ptr< Connection > ConnectionPtr
Definition: CommonTypes.hh:144
static event::ConnectionPtr ConnectManipMode(T _subscriber)
Connect a boost::slot to the manip mode signal. 
Definition: GuiEvents.hh:51
static event::ConnectionPtr ConnectInputStepSize(T _subscriber)
Connect a boost::slot to the input step size signal. 
Definition: GuiEvents.hh:105
static event::ConnectionPtr ConnectOrbit(T _subscriber)
Connect a boost::slot to the view Orbit signal. 
Definition: GuiEvents.hh:73
static void DisconnectFollow(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:116
static void DisconnectFullScreen(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:61
static event::EventT< void()> fps
Definition: GuiEvents.hh:135
static void DisconnectCreateEntity(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:36
static event::EventT< void()> orbit
Definition: GuiEvents.hh:136
static void DisconnectManipMode(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:53
static event::ConnectionPtr ConnectFullScreen(T _subscriber)
Connect a boost::slot to the fullscreen signal. 
Definition: GuiEvents.hh:59
static event::EventT< void(const msgs::Model &)> modelUpdate
Definition: GuiEvents.hh:129
static event::ConnectionPtr ConnectLightUpdate(T _subscriber)
Connect a boost::slot to the light update signal. 
Definition: GuiEvents.hh:88
static event::EventT< void(const std::string &)> follow
Event triggered when the user follows a model. 
Definition: GuiEvents.hh:140
static event::ConnectionPtr ConnectCreateEntity(T _subscriber)
Connect a boost::slot the add entity signal. 
Definition: GuiEvents.hh:34
static event::EventT< void(std::string)> keyPress
Definition: GuiEvents.hh:142
static event::EventT< void(int)> inputStepSize
Step size changed event. 
Definition: GuiEvents.hh:145
static void DisconnectInputStepSize(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:107
static event::ConnectionPtr ConnectModelUpdate(T _subscriber)
Definition: GuiEvents.hh:96
static void DisconnectMoveMode(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:45
static event::EventT< void(std::string, std::string)> createEntity
Definition: GuiEvents.hh:127
static void DisconnectOrbit(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:75
static event::EventT< void(bool)> fullScreen
Definition: GuiEvents.hh:134
static void DisconnectLightUpdate(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:90
static event::ConnectionPtr ConnectKeyPress(T _subscriber)
Connect a boost::slot to the view KeyPress signal. 
Definition: GuiEvents.hh:80
static void DisconnectFPS(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:68
static void DisconnectModelUpdate(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:98
static event::EventT< void(std::string)> manipMode
that indicates the user is manipulating an object 
Definition: GuiEvents.hh:124
static event::EventT< void(const msgs::Light &)> lightUpdate
A event to notify light updates. 
Definition: GuiEvents.hh:132
static event::ConnectionPtr ConnectMoveMode(T _subscriber)
Connect a boost::slot to the move mode signal. 
Definition: GuiEvents.hh:43
Definition: GuiEvents.hh:29
static event::ConnectionPtr ConnectFPS(T _subscriber)
Connect a boost::slot to the view FPS signal. 
Definition: GuiEvents.hh:66
static event::EventT< void(bool)> moveMode
that indicates the user is moving the camera 
Definition: GuiEvents.hh:121
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported. 
Definition: system.hh:48
static event::ConnectionPtr ConnectFollow(T _subscriber)
Connect a boost::slot to the follow signal. 
Definition: GuiEvents.hh:114
static void DisconnectKeyPress(event::ConnectionPtr _subscriber)
Definition: GuiEvents.hh:82