A library that handles parameters at runtime.
rqt_parameters::ParameterBase Class Referenceabstract

This class draws and handles a double parameter. More...

#include <ParameterBase.hpp>

Inheritance diagram for rqt_parameters::ParameterBase:
Inheritance graph

Public Slots

virtual void pushButtonChangeParamPressed ()=0
 React to press of change push button. More...
virtual void refreshParam ()=0
 Refresh the parameter on command. More...

Public Member Functions

 ParameterBase (const std::string &name, QGridLayout *grid, ros::ServiceClient *getParameterClient, ros::ServiceClient *setParameterClient)
virtual ~ParameterBase ()
void setupGUI (QWidget *widget, size_t maxParamNameWidth)

Public Attributes

QLabel * labelParamNumber
 Label for the parameter number. More...
QLabel * labelParamName
 Label for the parameter name. More...
QWidget * matrixSpinBoxParamValue
 Matrix spinbox. More...
QPushButton * pushButtonChangeParam
 Push button to apply changes. More...

Protected Member Functions

virtual QWidget * createMatrixSpinBox (QWidget *parent)=0

Protected Attributes

std::string name_
 Parameter name. More...
ros::ServiceClient * getParameterClient_
 ROS service to get the parameter. More...
ros::ServiceClient * setParameterClient_
 ROS service to set the parameter. More...
QGridLayout * grid_
 Grid layout that holds parameter blocks. More...

Detailed Description

This class draws and handles a double parameter.

Constructor & Destructor Documentation

rqt_parameters::ParameterBase::ParameterBase ( const std::string &  name,
QGridLayout *  grid,
ros::ServiceClient *  getParameterClient,
ros::ServiceClient *  setParameterClient 
virtual rqt_parameters::ParameterBase::~ParameterBase ( )

Member Function Documentation

virtual QWidget* rqt_parameters::ParameterBase::createMatrixSpinBox ( QWidget *  parent)
protectedpure virtual
virtual void rqt_parameters::ParameterBase::pushButtonChangeParamPressed ( )
pure virtualslot

React to press of change push button.

virtual void rqt_parameters::ParameterBase::refreshParam ( )
pure virtualslot

Refresh the parameter on command.

void rqt_parameters::ParameterBase::setupGUI ( QWidget *  widget,
size_t  maxParamNameWidth 

Member Data Documentation

ros::ServiceClient* rqt_parameters::ParameterBase::getParameterClient_

ROS service to get the parameter.

QGridLayout* rqt_parameters::ParameterBase::grid_

Grid layout that holds parameter blocks.

QLabel* rqt_parameters::ParameterBase::labelParamName

Label for the parameter name.

QLabel* rqt_parameters::ParameterBase::labelParamNumber

Label for the parameter number.

QWidget* rqt_parameters::ParameterBase::matrixSpinBoxParamValue

Matrix spinbox.

std::string rqt_parameters::ParameterBase::name_

Parameter name.

QPushButton* rqt_parameters::ParameterBase::pushButtonChangeParam

Push button to apply changes.

ros::ServiceClient* rqt_parameters::ParameterBase::setParameterClient_

ROS service to set the parameter.

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