Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
audio_transport::RosGstPlay Class Reference

List of all members.

Public Member Functions

 RosGstPlay ()

Private Member Functions

void onAudio (const audio_common_msgs::AudioDataConstPtr &msg)

Static Private Member Functions

static void cb_newpad (GstElement *decodebin, GstPad *pad, gboolean last, gpointer data)

Private Attributes

GstElement * _audio
GstElement * _convert
GstElement * _decoder
boost::thread _gst_thread
GMainLoop * _loop
ros::NodeHandle _nh
GstElement * _pipeline
GstElement * _playbin
GstElement * _sink
GstElement * _source
ros::Subscriber _sub

Detailed Description

Definition at line 11 of file audio_play.cpp.


Constructor & Destructor Documentation

Definition at line 14 of file audio_play.cpp.


Member Function Documentation

static void audio_transport::RosGstPlay::cb_newpad ( GstElement *  decodebin,
GstPad *  pad,
gboolean  last,
gpointer  data 
) [inline, static, private]

Definition at line 78 of file audio_play.cpp.

void audio_transport::RosGstPlay::onAudio ( const audio_common_msgs::AudioDataConstPtr &  msg) [inline, private]

Definition at line 68 of file audio_play.cpp.


Member Data Documentation

GstElement * audio_transport::RosGstPlay::_audio [private]

Definition at line 116 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_convert [private]

Definition at line 116 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_decoder [private]

Definition at line 116 of file audio_play.cpp.

Definition at line 114 of file audio_play.cpp.

GMainLoop* audio_transport::RosGstPlay::_loop [private]

Definition at line 118 of file audio_play.cpp.

Definition at line 112 of file audio_play.cpp.

Definition at line 116 of file audio_play.cpp.

Definition at line 117 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_sink [private]

Definition at line 116 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_source [private]

Definition at line 116 of file audio_play.cpp.

Definition at line 113 of file audio_play.cpp.


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


audio_play
Author(s): Nate Koenig
autogenerated on Wed Sep 2 2015 01:21:48