Public Member Functions | Private Slots | Private Member Functions | Private Attributes
ParamRootChooser Class Reference

#include <param_root_chooser.h>

List of all members.

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

Detailed Description

Definition at line 9 of file param_root_chooser.h.


Constructor & Destructor Documentation

ParamRootChooser::ParamRootChooser ( QWidget *  parent = 0)

Definition at line 8 of file param_root_chooser.cpp.


Member Function Documentation

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.


Member Data Documentation

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.


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


rqt_paramedit
Author(s): Christian Dornhege
autogenerated on Thu Jun 6 2019 20:47:44