Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
audio_transport::RosGstPlay Class Reference

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, 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 10 of file audio_play.cpp.

Constructor & Destructor Documentation

audio_transport::RosGstPlay::RosGstPlay ( )
inline

Definition at line 13 of file audio_play.cpp.

Member Function Documentation

static void audio_transport::RosGstPlay::cb_newpad ( GstElement *  decodebin,
GstPad *  pad,
gpointer  data 
)
inlinestaticprivate

Definition at line 81 of file audio_play.cpp.

void audio_transport::RosGstPlay::onAudio ( const audio_common_msgs::AudioDataConstPtr &  msg)
inlineprivate

Definition at line 72 of file audio_play.cpp.

Member Data Documentation

GstElement * audio_transport::RosGstPlay::_audio
private

Definition at line 119 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_convert
private

Definition at line 119 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_decoder
private

Definition at line 119 of file audio_play.cpp.

boost::thread audio_transport::RosGstPlay::_gst_thread
private

Definition at line 117 of file audio_play.cpp.

GMainLoop* audio_transport::RosGstPlay::_loop
private

Definition at line 121 of file audio_play.cpp.

ros::NodeHandle audio_transport::RosGstPlay::_nh
private

Definition at line 115 of file audio_play.cpp.

GstElement* audio_transport::RosGstPlay::_pipeline
private

Definition at line 119 of file audio_play.cpp.

GstElement* audio_transport::RosGstPlay::_playbin
private

Definition at line 120 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_sink
private

Definition at line 119 of file audio_play.cpp.

GstElement * audio_transport::RosGstPlay::_source
private

Definition at line 119 of file audio_play.cpp.

ros::Subscriber audio_transport::RosGstPlay::_sub
private

Definition at line 116 of file audio_play.cpp.


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


audio_play
Author(s): Nate Koenig
autogenerated on Tue Mar 26 2019 02:30:55