Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
ParamRootChooser Class Reference

#include <param_root_chooser.h>

Inheritance diagram for ParamRootChooser:
Inheritance graph
[legend]

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. More...
 
std::vector< std::string > getParamNamesFromMaster () const
 Retrieves the names of all parameters from master server. More...
 

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::ParamRootChooser ( QWidget *  parent = 0)

Definition at line 8 of file param_root_chooser.cpp.

Member Function Documentation

◆ getParameterRoots()

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.

◆ getParamNamesFromMaster()

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.

◆ on_paramRootCombo_currentIndexChanged

void ParamRootChooser::on_paramRootCombo_currentIndexChanged ( const QString &  text)
privateslot

Definition at line 26 of file param_root_chooser.cpp.

◆ selectedParamRoot()

std::string ParamRootChooser::selectedParamRoot ( ) const

Definition at line 21 of file param_root_chooser.cpp.

Member Data Documentation

◆ _selectedParam

std::string ParamRootChooser::_selectedParam
private

Definition at line 37 of file param_root_chooser.h.

◆ ui

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 Mon Feb 28 2022 23:37:53