#include <param_root_chooser.h>
Public Member Functions | |
ParamRootChooser (QWidget *parent=0) | |
std::string | selectedParamRoot () const |
Private Slots | |
void | on_paramRootCombo_currentIndexChanged (const QString &text) |
Private Member Functions | |
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. | |
Private Attributes | |
std::string | _selectedParam |
Ui::ParamRootChooserDialog | ui |
Definition at line 9 of file param_root_chooser.h.
ParamRootChooser::ParamRootChooser | ( | QWidget * | parent = 0 | ) |
Definition at line 8 of file param_root_chooser.cpp.
std::vector< std::string > ParamRootChooser::getParameterRoots | ( | const std::vector< std::string > | paramNames | ) | const [private] |
Extracts a list of all possible parameter roots from a list of parameter names.
The assumption is that parameter names in the deepest level are single parameters and not dictionaries.
E.g.: /test/param/a -> [/test, /test/param]
Definition at line 48 of file param_root_chooser.cpp.
std::vector< std::string > ParamRootChooser::getParamNamesFromMaster | ( | ) | const [private] |
Retrieves the names of all parameters from master server.
Definition at line 31 of file param_root_chooser.cpp.
void ParamRootChooser::on_paramRootCombo_currentIndexChanged | ( | const QString & | text | ) | [private, slot] |
Definition at line 26 of file param_root_chooser.cpp.
std::string ParamRootChooser::selectedParamRoot | ( | ) | const |
Definition at line 21 of file param_root_chooser.cpp.
std::string ParamRootChooser::_selectedParam [private] |
Definition at line 37 of file param_root_chooser.h.
Ui::ParamRootChooserDialog ParamRootChooser::ui [private] |
Definition at line 35 of file param_root_chooser.h.