#include <yes_no_button_interface.h>
Public Member Functions | |
virtual void | load (const rviz::Config &config) |
virtual void | onInitialize () |
virtual void | save (rviz::Config config) const |
YesNoButtonInterface (QWidget *parent=0) | |
Protected Slots | |
void | respondNo () |
void | respondYes () |
Protected Member Functions | |
virtual bool | requested (jsk_gui_msgs::YesNo::Request &req, jsk_gui_msgs::YesNo::Response &res) |
Protected Attributes | |
QHBoxLayout * | layout_ |
boost::mutex | mutex_ |
bool | need_user_input_ |
QPushButton * | no_button_ |
bool | yes_ |
QPushButton * | yes_button_ |
ros::ServiceServer | yes_no_button_service_ |
Definition at line 21 of file yes_no_button_interface.h.
jsk_rviz_plugins::YesNoButtonInterface::YesNoButtonInterface | ( | QWidget * | parent = 0 | ) |
Definition at line 15 of file yes_no_button_interface.cpp.
void jsk_rviz_plugins::YesNoButtonInterface::load | ( | const rviz::Config & | config | ) | [virtual] |
Reimplemented from rviz::Panel.
Definition at line 80 of file yes_no_button_interface.cpp.
void jsk_rviz_plugins::YesNoButtonInterface::onInitialize | ( | ) | [virtual] |
Reimplemented from rviz::Panel.
Definition at line 34 of file yes_no_button_interface.cpp.
bool jsk_rviz_plugins::YesNoButtonInterface::requested | ( | jsk_gui_msgs::YesNo::Request & | req, |
jsk_gui_msgs::YesNo::Response & | res | ||
) | [protected, virtual] |
Definition at line 45 of file yes_no_button_interface.cpp.
void jsk_rviz_plugins::YesNoButtonInterface::respondNo | ( | ) | [protected, slot] |
Definition at line 68 of file yes_no_button_interface.cpp.
void jsk_rviz_plugins::YesNoButtonInterface::respondYes | ( | ) | [protected, slot] |
Definition at line 61 of file yes_no_button_interface.cpp.
void jsk_rviz_plugins::YesNoButtonInterface::save | ( | rviz::Config | config | ) | const [virtual] |
Reimplemented from rviz::Panel.
Definition at line 75 of file yes_no_button_interface.cpp.
QHBoxLayout* jsk_rviz_plugins::YesNoButtonInterface::layout_ [protected] |
Definition at line 38 of file yes_no_button_interface.h.
boost::mutex jsk_rviz_plugins::YesNoButtonInterface::mutex_ [protected] |
Definition at line 43 of file yes_no_button_interface.h.
bool jsk_rviz_plugins::YesNoButtonInterface::need_user_input_ [protected] |
Definition at line 42 of file yes_no_button_interface.h.
QPushButton* jsk_rviz_plugins::YesNoButtonInterface::no_button_ [protected] |
Definition at line 40 of file yes_no_button_interface.h.
bool jsk_rviz_plugins::YesNoButtonInterface::yes_ [protected] |
Definition at line 41 of file yes_no_button_interface.h.
QPushButton* jsk_rviz_plugins::YesNoButtonInterface::yes_button_ [protected] |
Definition at line 39 of file yes_no_button_interface.h.
Definition at line 44 of file yes_no_button_interface.h.