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

#include <TimePanel.hh>

Inheritance diagram for gazebo::gui::TimePanel:
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 SetLogPlayWidgetVisible (bool _visible)
 QT signal to set visibility of log play widget. More...
 
void SetTimeWidgetVisible (bool _visible)
 QT signal to set visibility of time widget. More...
 

Public Member Functions

 TimePanel (QWidget *_parent=0)
 Constructor. More...
 
virtual ~TimePanel ()
 Destructor. 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 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::TimePanel::TimePanel ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent widget.
virtual gazebo::gui::TimePanel::~TimePanel ( )
virtual

Destructor.

Member Function Documentation

bool gazebo::gui::TimePanel::IsPaused ( ) const

Returns if the simulation is displayed as paused.

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

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

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

QT callback when the reset time button is pressed.

void gazebo::gui::TimePanel::SetLogPlayWidgetVisible ( bool  _visible)
signal

QT signal to set visibility of log play widget.

Parameters
[in]_visibleTrue to make visible.
void gazebo::gui::TimePanel::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::TimePanel::SetTimeWidgetVisible ( bool  _visible)
signal

QT signal to set visibility of time widget.

Parameters
[in]_visibleTrue to make visible.
void gazebo::gui::TimePanel::ShowFPS ( bool  _show)

Show fps.

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

Show the iterations.

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

Show real time.

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

Show real time factor.

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

Show sim time.

Parameters
[in]_showTrue to display sim time.
void gazebo::gui::TimePanel::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: