Public Slots | Signals | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
QtRosSlider Class Reference

#include <qt_ros_slider.h>

List of all members.

Public Slots

void conversion (int value)
double convert (int value)
void onValueChange (int value)
void setRange (int minValue, int maxValue)
void setText (const QString &text)
void setValue (double value)

Signals

void valueChanged (int newValue)

Public Member Functions

void addGripperPublisher (ros::Publisher _pub)
 QtRosSlider (const QString &text, QWidget *_parent=0)
void setCallback (actionlib::SimpleActionClient< pr2_controllers_msgs::SingleJointPositionAction > *_ac)
QString text () const
int value () const

Public Attributes

int max_int
double max_value
int min_int
double min_value

Private Member Functions

void initGripperCommander ()
void initTorsoCommander ()

Private Attributes

actionlib::SimpleActionClient
< pr2_controllers_msgs::SingleJointPositionAction > * 
ac
std::vector< ros::Publisherbase_publishers
std::vector< ros::Publishergripper_publishers
QLabel * label
QLCDNumber * lcd
QSlider * slider

Detailed Description

Definition at line 43 of file qt_ros_slider.h.


Constructor & Destructor Documentation

QtRosSlider::QtRosSlider ( const QString &  text,
QWidget *  _parent = 0 
)

Definition at line 32 of file qt_ros_slider.cpp.


Member Function Documentation

Definition at line 106 of file qt_ros_slider.cpp.

void QtRosSlider::conversion ( int  value) [slot]

Definition at line 143 of file qt_ros_slider.cpp.

double QtRosSlider::convert ( int  value) [slot]

Definition at line 138 of file qt_ros_slider.cpp.

Definition at line 74 of file qt_ros_slider.cpp.

void QtRosSlider::initTorsoCommander ( ) [private]

Definition at line 48 of file qt_ros_slider.cpp.

void QtRosSlider::onValueChange ( int  value) [slot]

Definition at line 112 of file qt_ros_slider.cpp.

Definition at line 100 of file qt_ros_slider.cpp.

void QtRosSlider::setRange ( int  minValue,
int  maxValue 
) [slot]

Definition at line 159 of file qt_ros_slider.cpp.

void QtRosSlider::setText ( const QString &  text) [slot]

Definition at line 171 of file qt_ros_slider.cpp.

void QtRosSlider::setValue ( double  value) [slot]

Definition at line 153 of file qt_ros_slider.cpp.

QString QtRosSlider::text ( ) const

Definition at line 148 of file qt_ros_slider.cpp.

int QtRosSlider::value ( ) const

Definition at line 133 of file qt_ros_slider.cpp.

void QtRosSlider::valueChanged ( int  newValue) [signal]

Member Data Documentation

Definition at line 77 of file qt_ros_slider.h.

Definition at line 79 of file qt_ros_slider.h.

Definition at line 78 of file qt_ros_slider.h.

QLabel* QtRosSlider::label [private]

Definition at line 76 of file qt_ros_slider.h.

QLCDNumber* QtRosSlider::lcd [private]

Definition at line 74 of file qt_ros_slider.h.

Definition at line 57 of file qt_ros_slider.h.

Definition at line 59 of file qt_ros_slider.h.

Definition at line 56 of file qt_ros_slider.h.

Definition at line 58 of file qt_ros_slider.h.

QSlider* QtRosSlider::slider [private]

Definition at line 75 of file qt_ros_slider.h.


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


pr2_gazebo
Author(s): John Hsu
autogenerated on Thu Jan 2 2014 11:45:25