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


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

namespace Gst
{

/** A Wrapper for the valve 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
 * @deprecated Plugins API is deprecated, and should not be used in a new code.
 */
class Valve
: public Gst::Element
{
  _CLASS_GOBJECT(Valve, GstValve, GST_VALVE_GSTREAMERMM, Gst::Element, GstElement)
  _IS_GSTREAMERMM_PLUGIN
protected:
  Valve();
  explicit Valve(const Glib::ustring& name);

public:
  /** Creates a new valve plugin with a unique name.
   */
  _WRAP_CREATE()

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

  _WRAP_PROPERTY("drop", bool)
};

} // namespace Gst
