Public Slots | Signals | Public Member Functions | List of all members
gazebo::gui::TimeWidget Class Reference

#include <TimeWidget.hh>

Inheritance diagram for gazebo::gui::TimeWidget:
Inheritance graph
[legend]

Public Slots

void OnStepValueChanged (int _value)
 Qt call back when the step value in the spinbox changed. More...
 
void OnTimeReset ()
 QT callback when the reset time button is pressed. More...
 

Signals

void SetFPS (QString _string)
 A signal used to set the avg fps line edit. More...
 
void SetIterations (QString _string)
 A signal used to set the iterations line edit. More...
 
void SetRealTime (QString _string)
 A signal used to set the real time line edit. More...
 
void SetSimTime (QString _string)
 A signal used to set the sim time line edit. More...
 

Public Member Functions

 TimeWidget (QWidget *_parent=0)
 Constructor. More...
 
virtual ~TimeWidget ()
 Destructor. More...
 
void EmitSetFPS (QString _string)
 Emit a signal used to set the FPS line edit. More...
 
void EmitSetIterations (QString _string)
 Emit a signal used to set the iterations line edit. More...
 
void EmitSetRealTime (QString _string)
 Emit a signal used to set the real time line edit. More...
 
void EmitSetSimTime (QString _string)
 Emit a signal used to set the sim time line edit. More...
 
bool IsPaused () const
 Returns if the simulation is displayed as paused. More...
 
void SetPaused (bool _paused)
 Set whether to display the simulation as paused. More...
 
void SetPercentRealTimeEdit (QString _text)
 A signal used to set the sim time line edit. More...
 
void ShowFPS (bool _show)
 Show fps. More...
 
void ShowIterations (bool _show)
 Show the iterations. More...
 
void ShowRealTime (bool _show)
 Show real time. More...
 
void ShowRealTimeFactor (bool _show)
 Show real time factor. More...
 
void ShowSimTime (bool _show)
 Show sim time. More...
 
void ShowStepWidget (bool _show)
 Show the step widget. More...
 

Constructor & Destructor Documentation

gazebo::gui::TimeWidget::TimeWidget ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent widget, commonly a TimePanel.
virtual gazebo::gui::TimeWidget::~TimeWidget ( )
virtual

Destructor.

Member Function Documentation

void gazebo::gui::TimeWidget::EmitSetFPS ( QString  _string)

Emit a signal used to set the FPS line edit.

Parameters
[in]_stringString representation of average FPS.
void gazebo::gui::TimeWidget::EmitSetIterations ( QString  _string)

Emit a signal used to set the iterations line edit.

Parameters
[in]_stringString representation of iterations.
void gazebo::gui::TimeWidget::EmitSetRealTime ( QString  _string)

Emit a signal used to set the real time line edit.

Parameters
[in]_stringString representation of real time.
void gazebo::gui::TimeWidget::EmitSetSimTime ( QString  _string)

Emit a signal used to set the sim time line edit.

Parameters
[in]_stringString representation of sim time.
bool gazebo::gui::TimeWidget::IsPaused ( ) const

Returns if the simulation is displayed as paused.

Returns
True if paused, false otherwise.
void gazebo::gui::TimeWidget::OnStepValueChanged ( int  _value)
slot

Qt call back when the step value in the spinbox changed.

Parameters
[in]_valueNew step value.
void gazebo::gui::TimeWidget::OnTimeReset ( )
slot

QT callback when the reset time button is pressed.

void gazebo::gui::TimeWidget::SetFPS ( QString  _string)
signal

A signal used to set the avg fps line edit.

Parameters
[in]_stringString representation of avg fps.
void gazebo::gui::TimeWidget::SetIterations ( QString  _string)
signal

A signal used to set the iterations line edit.

Parameters
[in]_stringString representation of iterations.
void gazebo::gui::TimeWidget::SetPaused ( bool  _paused)

Set whether to display the simulation as paused.

Parameters
[in]_pausedTrue to display the simulation as paused. False indicates the simulation is running
void gazebo::gui::TimeWidget::SetPercentRealTimeEdit ( QString  _text)

A signal used to set the sim time line edit.

Parameters
[in]_stringString representation of real time factor.
void gazebo::gui::TimeWidget::SetRealTime ( QString  _string)
signal

A signal used to set the real time line edit.

Parameters
[in]_stringString representation of real time.
void gazebo::gui::TimeWidget::SetSimTime ( QString  _string)
signal

A signal used to set the sim time line edit.

Parameters
[in]_stringString representation of sim time.
void gazebo::gui::TimeWidget::ShowFPS ( bool  _show)

Show fps.

Parameters
[in]_showTrue to show the fps widget.
void gazebo::gui::TimeWidget::ShowIterations ( bool  _show)

Show the iterations.

Parameters
[in]_showTrue to show the iterations widget.
void gazebo::gui::TimeWidget::ShowRealTime ( bool  _show)

Show real time.

Parameters
[in]_showTrue to display real time.
void gazebo::gui::TimeWidget::ShowRealTimeFactor ( bool  _show)

Show real time factor.

Parameters
[in]_showTrue to display real time factor.
void gazebo::gui::TimeWidget::ShowSimTime ( bool  _show)

Show sim time.

Parameters
[in]_showTrue to display sim time.
void gazebo::gui::TimeWidget::ShowStepWidget ( bool  _show)

Show the step widget.

Parameters
[in]_showTrue to show the step widget.

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