empty_service_call_interface.h
Go to the documentation of this file.
1 #ifndef EMPTY_SERCICE_CALL_INTERFACE_H
2 #define EMPTY_SERCICE_CALL_INTERFACE_H
3 
4 #ifndef Q_MOC_RUN
5 #include <ros/ros.h>
6 #include <rviz/panel.h>
7 #include <std_srvs/Empty.h>
8 #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
9 # include <QtWidgets>
10 #else
11 # include <QtGui>
12 #endif
13 #endif
14 
15 namespace jsk_rviz_plugins
16 {
18  {
19  std::string icon_file_path;
20  std::string service_name;
21  std::string text;
22  };
23 
25  {
26  Q_OBJECT
27  public:
28  EmptyServiceCallInterfaceAction( QWidget* parent = 0 );
29 
30  virtual void load( const rviz::Config& config );
31  virtual void save( rviz::Config config ) const;
32 
33  protected Q_SLOTS:
34  void callRequestEmptyCommand(int button_id);
35  void parseROSParameters();
36  protected:
38  std::vector<ServiceCallButtonInfo> service_call_button_infos_;
39  QVBoxLayout* layout;
40  QHBoxLayout* h_layout;
41  QSignalMapper* signal_mapper;
42  };
43 }
44 
45 #endif
config
std::vector< ServiceCallButtonInfo > service_call_button_infos_


jsk_rviz_plugins
Author(s): Kei Okada , Yohei Kakiuchi , Shohei Fujii , Ryohei Ueda
autogenerated on Sat Mar 20 2021 03:03:18