// Generated by generate_plugin_gmmproc_file. Don't edit this file.


#include <gstreamermm/element.h>
#include <gstreamermm/pad.h>
_DEFS(gstreamermm,gst)

namespace Gst
{

_WRAP_ENUM(OutputSelectorPadNegotiationMode,GstOutputSelectorPadNegotiationMode)
_CONV_ENUM(Gst,OutputSelectorPadNegotiationMode)

/** A Wrapper for the output-selector plugin.
 * Please note that not all plug-ins are available on all systems so care
 * must be taken that they exist before they are used otherwise there will
 * be errors and possibly a crash.
 *
 * @ingroup GstPlugins
 */
class OutputSelector
: public Gst::Element
{
  _CLASS_GOBJECT(OutputSelector, GstOutputSelector, GST_OUTPUT_SELECTOR_GSTREAMERMM, Gst::Element, GstElement)
  _IS_GSTREAMERMM_PLUGIN
  _NO_WRAP_INIT_REGISTRATION
  _CUSTOM_WRAP_FUNCTION

protected:
  OutputSelector();
  explicit OutputSelector(const Glib::ustring& name);

public:
  /** Creates a new output-selector plugin with a unique name.
   */
  _WRAP_CREATE()

  /** Creates a new output-selector plugin with the given name.
   */
  _WRAP_CREATE(const Glib::ustring& name)

  _WRAP_PROPERTY("active-pad", Glib::RefPtr<Gst::Pad>)
  _WRAP_PROPERTY("resend-latest", bool)
  _WRAP_PROPERTY("pad-negotiation-mode", Gst::OutputSelectorPadNegotiationMode)
};

} // namespace Gst
