param_root_chooser.h
Go to the documentation of this file.
1 #ifndef PARAM_ROOT_CHOOSER_h
2 #define PARAM_ROOT_CHOOSER_h
3 
4 #include <QDialog>
5 #include <string>
6 #include <vector>
7 #include "ui_param_root_chooser.h"
8 
9 class ParamRootChooser : public QDialog
10 {
11  Q_OBJECT
12 
13  public:
14  ParamRootChooser(QWidget* parent = 0);
15 
16  std::string selectedParamRoot() const;
17 
18  private Q_SLOTS:
19  void on_paramRootCombo_currentIndexChanged(const QString & text);
20 
21  private:
23  std::vector<std::string> getParamNamesFromMaster() const;
24 
26 
32  std::vector<std::string> getParameterRoots(const std::vector<std::string> paramNames) const;
33 
34  private:
35  Ui::ParamRootChooserDialog ui;
36 
37  std::string _selectedParam;
38 };
39 
40 #endif
41 
ParamRootChooser(QWidget *parent=0)
std::vector< std::string > getParameterRoots(const std::vector< std::string > paramNames) const
Extracts a list of all possible parameter roots from a list of parameter names.
std::vector< std::string > getParamNamesFromMaster() const
Retrieves the names of all parameters from master server.
std::string _selectedParam
std::string selectedParamRoot() const
void on_paramRootCombo_currentIndexChanged(const QString &text)
Ui::ParamRootChooserDialog ui


rqt_paramedit
Author(s): Christian Dornhege
autogenerated on Mon Feb 28 2022 23:37:53