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

List of all members.

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

Detailed Description

Definition at line 12 of file audio_capture.cpp.


Constructor & Destructor Documentation

Definition at line 15 of file audio_capture.cpp.

Definition at line 116 of file audio_capture.cpp.


Member Function Documentation

Definition at line 124 of file audio_capture.cpp.

static gboolean audio_transport::RosGstCapture::onMessage ( GstBus *  bus,
GstMessage *  message,
gpointer  userData 
) [inline, static]

Definition at line 150 of file audio_capture.cpp.

static GstFlowReturn audio_transport::RosGstCapture::onNewBuffer ( GstAppSink *  appsink,
gpointer  userData 
) [inline, static]

Definition at line 134 of file audio_capture.cpp.

void audio_transport::RosGstCapture::publish ( const audio_common_msgs::AudioData &  msg) [inline]

Definition at line 129 of file audio_capture.cpp.


Member Data Documentation

Definition at line 173 of file audio_capture.cpp.

Definition at line 172 of file audio_capture.cpp.

Definition at line 173 of file audio_capture.cpp.

Definition at line 171 of file audio_capture.cpp.

Definition at line 173 of file audio_capture.cpp.

Definition at line 171 of file audio_capture.cpp.

Definition at line 175 of file audio_capture.cpp.

Definition at line 169 of file audio_capture.cpp.

Definition at line 174 of file audio_capture.cpp.

Definition at line 166 of file audio_capture.cpp.

Definition at line 171 of file audio_capture.cpp.

Definition at line 167 of file audio_capture.cpp.

Definition at line 173 of file audio_capture.cpp.

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

Definition at line 171 of file audio_capture.cpp.

Definition at line 171 of file audio_capture.cpp.


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


audio_capture
Author(s): Nate Koenig
autogenerated on Mon Sep 26 2016 03:31:13