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 OnCurrentTime ()
 Callback when the current time has been edited. More...
 
void OnForward ()
 Jump to the end of the log file. More...
 
void OnPause ()
 Pause simulation. More...
 
void OnPlay ()
 Play simulation. More...
 
void OnRewind ()
 Jump to the start of the log file. More...
 
void OnSeek (const common::Time &_time)
 Jump to a given time in the log file. More...
 
void OnStepBack ()
 Step simulation back. 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 SetCurrentDays (const QString &)
 Qt signal used to set the current day line edit. More...
 
void SetCurrentHours (const QString &)
 Qt signal used to set the current hour line edit. More...
 
void SetCurrentMinutes (const QString &)
 Qt signal used to set the current minute line edit. More...
 
void SetCurrentSeconds (const QString &)
 Qt signal used to set the current second 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::OnCurrentTime ( )
slot

Callback when the current time has been edited.

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

Jump to the end of the log file.

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

Pause simulation.

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

Play simulation.

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

Jump to the start of the log file.

void gazebo::gui::LogPlayWidget::OnSeek ( const common::Time _time)
slot

Jump to a given time in the log file.

Parameters
[in]_timeDesired time
void gazebo::gui::LogPlayWidget::OnStepBack ( )
slot

Step simulation back.

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

Step simulation forward.

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

Qt signal used to set the current day line edit.

Parameters
[in]_stringString representation of current day.
void gazebo::gui::LogPlayWidget::SetCurrentHours ( const QString &  )
signal

Qt signal used to set the current hour line edit.

Parameters
[in]_stringString representation of current hour.
void gazebo::gui::LogPlayWidget::SetCurrentMinutes ( const QString &  )
signal

Qt signal used to set the current minute line edit.

Parameters
[in]_stringString representation of current minute.
void gazebo::gui::LogPlayWidget::SetCurrentSeconds ( const QString &  )
signal

Qt signal used to set the current second line edit.

Parameters
[in]_stringString representation of current second.
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: