17 #ifndef _MODELRIGHTMENU_HH_ 18 #define _MODELRIGHTMENU_HH_ 70 public:
void Run(
const std::string &_entityName,
const QPoint &_pt,
74 private slots:
void OnMoveTo();
77 private slots:
void OnFollow();
80 private slots:
void OnEdit();
83 private slots:
void OnApplyWrench();
87 private slots:
void OnDelete(
const std::string &_name=
"");
101 private:
void OnRequest(ConstRequestPtr &_msg);
105 private:
void OnWindowMode(
const std::string &_mode);
114 private: std::string entityName;
117 private: QAction *moveToAct;
120 private: QAction *followAct;
123 private: QAction *editAct;
126 private: QAction *applyWrenchAct;
129 private: std::vector<event::ConnectionPtr> connections;
132 private: std::string windowMode;
140 private: std::vector<ViewState*> viewStates;
158 const std::string &_checkRequest,
159 const std::string &_uncheckRequest);
180 public slots:
void Callback();
std::map< std::string, bool > modelStates
State of all the models for this view.
Definition: ModelRightMenu.hh:162
Forward declarations for the common classes.
Definition: Animation.hh:33
Generic description of a keyboard event.
Definition: KeyEvent.hh:32
Forward declarations for transport.
boost::shared_ptr< Subscriber > SubscriberPtr
Definition: TransportTypes.hh:53
ModelRightMenu * parent
Pointer to the ModelRightMenu.
Definition: ModelRightMenu.hh:171
std::string checkRequest
Name of the request to send when checked.
Definition: ModelRightMenu.hh:174
boost::shared_ptr< Node > NodePtr
Definition: TransportTypes.hh:57
std::string uncheckRequest
Name of the request to send when unchecked.
Definition: ModelRightMenu.hh:177
A class for managing view visualization states.
Definition: ModelRightMenu.hh:149
QAction * action
Action for this view.
Definition: ModelRightMenu.hh:165
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
bool globalEnable
True if the view visualization is enabled globally.
Definition: ModelRightMenu.hh:168