Public Member Functions | |
| void | exitOnMainThread (int code) |
| void | publish (const audio_common_msgs::AudioData &msg) |
| RosGstCapture () | |
| ~RosGstCapture () | |
Static Public Member Functions | |
| static gboolean | onMessage (GstBus *bus, GstMessage *message, gpointer userData) |
| static GstFlowReturn | onNewBuffer (GstAppSink *appsink, gpointer userData) |
Private Attributes | |
| int | _bitrate |
| GstBus * | _bus |
| int | _channels |
| GstElement * | _convert |
| int | _depth |
| GstElement * | _encode |
| std::string | _format |
| boost::thread | _gst_thread |
| GMainLoop * | _loop |
| ros::NodeHandle | _nh |
| GstElement * | _pipeline |
| ros::Publisher | _pub |
| int | _sample_rate |
| GstElement * | _sink |
| GstElement * | _source |
Definition at line 12 of file audio_capture.cpp.
| audio_transport::RosGstCapture::RosGstCapture | ( | ) | [inline] |
Definition at line 15 of file audio_capture.cpp.
| audio_transport::RosGstCapture::~RosGstCapture | ( | ) | [inline] |
Definition at line 123 of file audio_capture.cpp.
| void audio_transport::RosGstCapture::exitOnMainThread | ( | int | code | ) | [inline] |
Definition at line 131 of file audio_capture.cpp.
| static gboolean audio_transport::RosGstCapture::onMessage | ( | GstBus * | bus, |
| GstMessage * | message, | ||
| gpointer | userData | ||
| ) | [inline, static] |
Definition at line 157 of file audio_capture.cpp.
| static GstFlowReturn audio_transport::RosGstCapture::onNewBuffer | ( | GstAppSink * | appsink, |
| gpointer | userData | ||
| ) | [inline, static] |
Definition at line 141 of file audio_capture.cpp.
| void audio_transport::RosGstCapture::publish | ( | const audio_common_msgs::AudioData & | msg | ) | [inline] |
Definition at line 136 of file audio_capture.cpp.
int audio_transport::RosGstCapture::_bitrate [private] |
Definition at line 180 of file audio_capture.cpp.
GstBus* audio_transport::RosGstCapture::_bus [private] |
Definition at line 179 of file audio_capture.cpp.
int audio_transport::RosGstCapture::_channels [private] |
Definition at line 180 of file audio_capture.cpp.
GstElement * audio_transport::RosGstCapture::_convert [private] |
Definition at line 178 of file audio_capture.cpp.
int audio_transport::RosGstCapture::_depth [private] |
Definition at line 180 of file audio_capture.cpp.
GstElement * audio_transport::RosGstCapture::_encode [private] |
Definition at line 178 of file audio_capture.cpp.
std::string audio_transport::RosGstCapture::_format [private] |
Definition at line 182 of file audio_capture.cpp.
boost::thread audio_transport::RosGstCapture::_gst_thread [private] |
Definition at line 176 of file audio_capture.cpp.
GMainLoop* audio_transport::RosGstCapture::_loop [private] |
Definition at line 181 of file audio_capture.cpp.
Definition at line 173 of file audio_capture.cpp.
GstElement* audio_transport::RosGstCapture::_pipeline [private] |
Definition at line 178 of file audio_capture.cpp.
Definition at line 174 of file audio_capture.cpp.
int audio_transport::RosGstCapture::_sample_rate [private] |
Definition at line 180 of file audio_capture.cpp.
GstElement * audio_transport::RosGstCapture::_sink [private] |
Definition at line 178 of file audio_capture.cpp.
GstElement * audio_transport::RosGstCapture::_source [private] |
Definition at line 178 of file audio_capture.cpp.