#include <video_playback.h>
Signals | |
void | clockUpdated () |
Public Member Functions | |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
virtual void | initPlugin (qt_gui_cpp::PluginContext &context) |
virtual void | restoreSettings (const qt_gui_cpp::Settings &plugin_settings, const qt_gui_cpp::Settings &instance_settings) |
virtual void | saveSettings (qt_gui_cpp::Settings &plugin_settings, qt_gui_cpp::Settings &instance_settings) const |
virtual void | shutdownPlugin () |
VideoPlayback () | |
virtual | ~VideoPlayback () |
Protected Slots | |
void | currentSourceChanged (Phonon::MediaSource) |
void | nextClicked () |
void | openClicked () |
void | playClicked () |
void | previousClicked () |
void | sliderValueChanged (int) |
void | stateChanged (Phonon::State newstate, Phonon::State oldstate) |
void | sync () |
void | tick (qint64) |
void | totalTimeChanged (qint64) |
Protected Member Functions | |
virtual void | callbackClock (const rosgraph_msgs::Clock::ConstPtr &msg) |
Phonon::MediaObject * | mediaObject () const |
Private Member Functions | |
qint64 | fromRos (const ros::Duration &duration) |
ros::Duration | toRos (qint64 time) |
Private Attributes | |
ros::Time | clock_ |
ros::Time | start_ |
qint64 | step_time_ |
ros::Subscriber | subscriber_ |
qint64 | time_tolerance_ |
Ui_VideoPlayback | ui_ |
QWidget * | widget_ |
Definition at line 43 of file video_playback.h.
Definition at line 36 of file video_playback.cpp.
rqt_video_playback::VideoPlayback::~VideoPlayback | ( | ) | [virtual] |
Definition at line 45 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::callbackClock | ( | const rosgraph_msgs::Clock::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 313 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::clockUpdated | ( | ) | [signal] |
void rqt_video_playback::VideoPlayback::currentSourceChanged | ( | Phonon::MediaSource | ) | [protected, slot] |
Definition at line 308 of file video_playback.cpp.
bool rqt_video_playback::VideoPlayback::eventFilter | ( | QObject * | watched, |
QEvent * | event | ||
) | [virtual] |
Definition at line 79 of file video_playback.cpp.
qint64 rqt_video_playback::VideoPlayback::fromRos | ( | const ros::Duration & | duration | ) | [private] |
Definition at line 223 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::initPlugin | ( | qt_gui_cpp::PluginContext & | context | ) | [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 49 of file video_playback.cpp.
Phonon::MediaObject* rqt_video_playback::VideoPlayback::mediaObject | ( | ) | const [inline, protected] |
Definition at line 81 of file video_playback.h.
void rqt_video_playback::VideoPlayback::nextClicked | ( | ) | [protected, slot] |
Definition at line 202 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::openClicked | ( | ) | [protected, slot] |
Definition at line 139 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::playClicked | ( | ) | [protected, slot] |
Definition at line 153 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::previousClicked | ( | ) | [protected, slot] |
Definition at line 195 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::restoreSettings | ( | const qt_gui_cpp::Settings & | plugin_settings, |
const qt_gui_cpp::Settings & | instance_settings | ||
) | [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 123 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::saveSettings | ( | qt_gui_cpp::Settings & | plugin_settings, |
qt_gui_cpp::Settings & | instance_settings | ||
) | const [virtual] |
Reimplemented from qt_gui_cpp::Plugin.
Definition at line 113 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::shutdownPlugin | ( | ) | [virtual] |
Reimplemented from rqt_gui_cpp::Plugin.
Definition at line 106 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::sliderValueChanged | ( | int | value | ) | [protected, slot] |
Definition at line 209 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::stateChanged | ( | Phonon::State | newstate, |
Phonon::State | oldstate | ||
) | [protected, slot] |
Definition at line 286 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::sync | ( | ) | [protected, slot] |
Definition at line 228 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::tick | ( | qint64 | tick | ) | [protected, slot] |
Definition at line 233 of file video_playback.cpp.
ros::Duration rqt_video_playback::VideoPlayback::toRos | ( | qint64 | time | ) | [private] |
Definition at line 215 of file video_playback.cpp.
void rqt_video_playback::VideoPlayback::totalTimeChanged | ( | qint64 | total | ) | [protected, slot] |
Definition at line 303 of file video_playback.cpp.
Definition at line 93 of file video_playback.h.
Definition at line 94 of file video_playback.h.
qint64 rqt_video_playback::VideoPlayback::step_time_ [private] |
Definition at line 97 of file video_playback.h.
Definition at line 91 of file video_playback.h.
qint64 rqt_video_playback::VideoPlayback::time_tolerance_ [private] |
Definition at line 98 of file video_playback.h.
Ui_VideoPlayback rqt_video_playback::VideoPlayback::ui_ [private] |
Definition at line 87 of file video_playback.h.
QWidget* rqt_video_playback::VideoPlayback::widget_ [private] |
Definition at line 89 of file video_playback.h.