29 #ifndef RQT_VIDEO_PLAYBACK_VIDEO_PLAYBACK_H 30 #define RQT_VIDEO_PLAYBACK_VIDEO_PLAYBACK_H 33 #include <ui_video_playback.h> 36 #include <rosgraph_msgs/Clock.h> 38 #include <Phonon/MediaObject> 39 #include <Phonon/MediaNode> 54 virtual bool eventFilter(QObject* watched, QEvent* event);
72 void stateChanged(Phonon::State newstate, Phonon::State oldstate);
80 virtual void callbackClock(
const rosgraph_msgs::Clock::ConstPtr& msg);
81 Phonon::MediaObject *
mediaObject()
const {
return ui_.videoPlayer->mediaObject(); }
103 #endif // RQT_VIDEO_PLAYBACK_VIDEO_PLAYBACK_H
virtual void callbackClock(const rosgraph_msgs::Clock::ConstPtr &msg)
virtual void initPlugin(qt_gui_cpp::PluginContext &context)
ros::Duration toRos(qint64 time)
ros::Subscriber subscriber_
void stateChanged(Phonon::State newstate, Phonon::State oldstate)
virtual void restoreSettings(const qt_gui_cpp::Settings &plugin_settings, const qt_gui_cpp::Settings &instance_settings)
virtual bool eventFilter(QObject *watched, QEvent *event)
void sliderValueChanged(int)
qint64 fromRos(const ros::Duration &duration)
virtual void shutdownPlugin()
void currentSourceChanged(Phonon::MediaSource)
Phonon::MediaObject * mediaObject() const
void totalTimeChanged(qint64)
virtual void saveSettings(qt_gui_cpp::Settings &plugin_settings, qt_gui_cpp::Settings &instance_settings) const