Public Member Functions | Protected Slots | Protected Member Functions | Protected Attributes | List of all members
jsk_rviz_plugins::YesNoButtonInterface Class Reference

#include <yes_no_button_interface.h>

Inheritance diagram for jsk_rviz_plugins::YesNoButtonInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void load (const rviz::Config &config)
 
virtual void onInitialize ()
 
virtual void save (rviz::Config config) const
 
 YesNoButtonInterface (QWidget *parent=0)
 
- Public Member Functions inherited from rviz::Panel
virtual QString getClassId () const
 
virtual QString getDescription () const
 
virtual QString getName () const
 
void initialize (VisualizationManager *manager)
 
 Panel (QWidget *parent=nullptr)
 
virtual void setClassId (const QString &class_id)
 
virtual void setDescription (const QString &description)
 
virtual void setName (const QString &name)
 
 ~Panel () override
 

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_
 
- Protected Attributes inherited from rviz::Panel
VisualizationManagervis_manager_
 

Additional Inherited Members

- Signals inherited from rviz::Panel
void configChanged ()
 

Detailed Description

Definition at line 21 of file yes_no_button_interface.h.

Constructor & Destructor Documentation

◆ YesNoButtonInterface()

jsk_rviz_plugins::YesNoButtonInterface::YesNoButtonInterface ( QWidget *  parent = 0)

Definition at line 15 of file yes_no_button_interface.cpp.

Member Function Documentation

◆ load()

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.

◆ onInitialize()

void jsk_rviz_plugins::YesNoButtonInterface::onInitialize ( )
virtual

Reimplemented from rviz::Panel.

Definition at line 34 of file yes_no_button_interface.cpp.

◆ requested()

bool jsk_rviz_plugins::YesNoButtonInterface::requested ( jsk_gui_msgs::YesNo::Request &  req,
jsk_gui_msgs::YesNo::Response &  res 
)
protectedvirtual

Definition at line 45 of file yes_no_button_interface.cpp.

◆ respondNo

void jsk_rviz_plugins::YesNoButtonInterface::respondNo ( )
protectedslot

Definition at line 68 of file yes_no_button_interface.cpp.

◆ respondYes

void jsk_rviz_plugins::YesNoButtonInterface::respondYes ( )
protectedslot

Definition at line 61 of file yes_no_button_interface.cpp.

◆ save()

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.

Member Data Documentation

◆ layout_

QHBoxLayout* jsk_rviz_plugins::YesNoButtonInterface::layout_
protected

Definition at line 38 of file yes_no_button_interface.h.

◆ mutex_

boost::mutex jsk_rviz_plugins::YesNoButtonInterface::mutex_
protected

Definition at line 43 of file yes_no_button_interface.h.

◆ need_user_input_

bool jsk_rviz_plugins::YesNoButtonInterface::need_user_input_
protected

Definition at line 42 of file yes_no_button_interface.h.

◆ no_button_

QPushButton* jsk_rviz_plugins::YesNoButtonInterface::no_button_
protected

Definition at line 40 of file yes_no_button_interface.h.

◆ yes_

bool jsk_rviz_plugins::YesNoButtonInterface::yes_
protected

Definition at line 41 of file yes_no_button_interface.h.

◆ yes_button_

QPushButton* jsk_rviz_plugins::YesNoButtonInterface::yes_button_
protected

Definition at line 39 of file yes_no_button_interface.h.

◆ yes_no_button_service_

ros::ServiceServer jsk_rviz_plugins::YesNoButtonInterface::yes_no_button_service_
protected

Definition at line 44 of file yes_no_button_interface.h.


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


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Tue Dec 10 2024 03:48:25