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

Widget which displays log playback options. More...

#include <LogPlayWidget.hh>

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

Public Slots

void OnPause ()
 Pause simulation. More...
 
void OnPlay ()
 Play simulation. More...
 
void OnStepForward ()
 Step simulation forward. More...
 

Signals

void HidePause ()
 Qt signal to hide the pause button. More...
 
void HidePlay ()
 Qt signal to hide the play button. More...
 
void SetCurrentTime (const QString &)
 Qt signal used to set the current time line edit. More...
 
void SetCurrentTime (const common::Time &_time)
 Qt signal used to set the current time in the view. More...
 
void SetEndTime (const QString &)
 Qt signal used to set the end time line edit. More...
 
void SetEndTime (const common::Time &_time)
 Qt signal used to set the end time in the view. More...
 
void SetStartTime (const common::Time &_time)
 Qt signal used to set the start time in the view. More...
 
void ShowPause ()
 Qt signal to show the pause button. More...
 
void ShowPlay ()
 Qt signal to show the play button. More...
 

Public Member Functions

 LogPlayWidget (QWidget *_parent=0)
 Constructor. More...
 
virtual ~LogPlayWidget ()
 Destructor. More...
 
void EmitSetCurrentTime (const common::Time &_time)
 Emit signal to set current time. More...
 
void EmitSetEndTime (const common::Time &_time)
 Emit signal to set end time. More...
 
void EmitSetStartTime (const common::Time &_time)
 Emit signal to set start time. More...
 
bool IsPaused () const
 Returns if the simulation is displayed as paused. More...
 
void SetPaused (const bool _paused)
 Set whether to display the simulation as paused. More...
 

Detailed Description

Widget which displays log playback options.

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

Member Function Documentation

void gazebo::gui::LogPlayWidget::EmitSetCurrentTime ( const common::Time _time)

Emit signal to set current time.

Parameters
[in]_timeCurrent time.
void gazebo::gui::LogPlayWidget::EmitSetEndTime ( const common::Time _time)

Emit signal to set end time.

Parameters
[in]_timeEnd time.
void gazebo::gui::LogPlayWidget::EmitSetStartTime ( const common::Time _time)

Emit signal to set start time.

Parameters
[in]_timeStart time.
void gazebo::gui::LogPlayWidget::HidePause ( )
signal

Qt signal to hide the pause button.

void gazebo::gui::LogPlayWidget::HidePlay ( )
signal

Qt signal to hide the play button.

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

Returns if the simulation is displayed as paused.

Returns
True if paused, false otherwise.
void gazebo::gui::LogPlayWidget::OnPause ( )
slot

Pause simulation.

void gazebo::gui::LogPlayWidget::OnPlay ( )
slot

Play simulation.

void gazebo::gui::LogPlayWidget::OnStepForward ( )
slot

Step simulation forward.

void gazebo::gui::LogPlayWidget::SetCurrentTime ( const QString &  )
signal

Qt signal used to set the current time line edit.

Parameters
[in]_stringString representation of current time.
void gazebo::gui::LogPlayWidget::SetCurrentTime ( const common::Time _time)
signal

Qt signal used to set the current time in the view.

Parameters
[in]_timeCurrent time.
void gazebo::gui::LogPlayWidget::SetEndTime ( const QString &  )
signal

Qt signal used to set the end time line edit.

Parameters
[in]_stringString representation of current time.
void gazebo::gui::LogPlayWidget::SetEndTime ( const common::Time _time)
signal

Qt signal used to set the end time in the view.

Parameters
[in]_timeEnd time.
void gazebo::gui::LogPlayWidget::SetPaused ( const bool  _paused)

Set whether to display the simulation as paused.

Parameters
[in]_pTrue to display the simulation as paused. False indicates the simulation is running
void gazebo::gui::LogPlayWidget::SetStartTime ( const common::Time _time)
signal

Qt signal used to set the start time in the view.

Parameters
[in]_timeStart time.
void gazebo::gui::LogPlayWidget::ShowPause ( )
signal

Qt signal to show the pause button.

void gazebo::gui::LogPlayWidget::ShowPlay ( )
signal

Qt signal to show the play button.


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