// Generated by gtkmmproc -- DO NOT MODIFY!


#include <gstreamermm/xvimagesink.h>
#include <gstreamermm/private/xvimagesink_p.h>

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


extern "C"
{

GType gst_xv_image_sink_get_type()
{
  static GType type = 0;
  GstElementFactory* factory = 0;
  GstPluginFeature* feature = 0;

  if(!type)
  {
    factory = gst_element_factory_find("xvimagesink");
    // Make sure that the feature is actually loaded:
    if(factory)
    {
      feature =
        gst_plugin_feature_load(GST_PLUGIN_FEATURE(factory));

      g_object_unref(factory);
      factory = GST_ELEMENT_FACTORY(feature);
      type = gst_element_factory_get_element_type(factory);
      g_object_unref(factory);
    }
  }

  return type;
}

} // extern "C"

namespace Gst
{

XvImageSink::XvImageSink()
: // Mark this class as non-derived to allow C++ vfuncs to be skipped.
  Glib::ObjectBase(0),
  Gst::VideoSink(Glib::ConstructParams(xvimagesink_class_.init(), "name",static_cast<char*>(0), static_cast<char*>(0)))
{}

XvImageSink::XvImageSink(const Glib::ustring& name)
: // Mark this class as non-derived to allow C++ vfuncs to be skipped.
  Glib::ObjectBase(0),
  Gst::VideoSink(Glib::ConstructParams(xvimagesink_class_.init(), "name",name.c_str(), static_cast<char*>(0)))
{}

}

namespace
{
} // anonymous namespace


namespace Glib
{

Glib::RefPtr<Gst::XvImageSink> wrap(GstXvImageSink* object, bool take_copy)
{
  return Glib::RefPtr<Gst::XvImageSink>( dynamic_cast<Gst::XvImageSink*> (Glib::wrap_auto ((GObject*)(object), take_copy)) );
  //We use dynamic_cast<> in case of multiple inheritance.
}

} /* namespace Glib */


namespace Gst
{


/* The *_Class implementation: */

const Glib::Class& XvImageSink_Class::init()
{
  if(!gtype_) // create the GType if necessary
  {
    // Glib::Class has to know the class init function to clone custom types.
    class_init_func_ = &XvImageSink_Class::class_init_function;

    // This is actually just optimized away, apparently with no harm.
    // Make sure that the parent type has been created.
    //CppClassParent::CppObjectType::get_type();

    // Create the wrapper type, with the same class/instance size as the base type.
    register_derived_type(gst_xv_image_sink_get_type());

    // Add derived versions of interfaces, if the C type implements any interfaces:
  Gst::Interface::add_interface(get_type());
  Gst::Navigation::add_interface(get_type());
  Gst::XOverlay::add_interface(get_type());
  Gst::ColorBalance::add_interface(get_type());
  Gst::PropertyProbe::add_interface(get_type());

  }

  return *this;
}


void XvImageSink_Class::class_init_function(void* g_class, void* class_data)
{
  BaseClassType *const klass = static_cast<BaseClassType*>(g_class);
  CppClassParent::class_init_function(klass, class_data);

#ifdef GLIBMM_VFUNCS_ENABLED
#endif //GLIBMM_VFUNCS_ENABLED

#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
}

#ifdef GLIBMM_VFUNCS_ENABLED
#endif //GLIBMM_VFUNCS_ENABLED

#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED


Glib::ObjectBase* XvImageSink_Class::wrap_new(GObject* object)
{
  return new XvImageSink((GstXvImageSink*)object);
}


/* The implementation: */

GstXvImageSink* XvImageSink::gobj_copy()
{
  reference();
  return gobj();
}

XvImageSink::XvImageSink(const Glib::ConstructParams& construct_params)
:
  Gst::VideoSink(construct_params)
{

}

XvImageSink::XvImageSink(GstXvImageSink* castitem)
:
  Gst::VideoSink((GstVideoSink*)(castitem))
{}


XvImageSink::~XvImageSink()
{}


XvImageSink::CppClassType XvImageSink::xvimagesink_class_; // initialize static member

GType XvImageSink::get_type()
{
  return xvimagesink_class_.init().get_type();
}


GType XvImageSink::get_base_type()
{
  return gst_xv_image_sink_get_type();
}


Glib::RefPtr<XvImageSink> XvImageSink::create()
{
  return Glib::RefPtr<XvImageSink>( new XvImageSink() );
}
Glib::RefPtr<XvImageSink> XvImageSink::create(const Glib::ustring& name)
{
  return Glib::RefPtr<XvImageSink>( new XvImageSink(name) );
}


#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> XvImageSink::property_contrast() 
{
  return Glib::PropertyProxy<int>(this, "contrast");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> XvImageSink::property_contrast() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "contrast");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> XvImageSink::property_brightness() 
{
  return Glib::PropertyProxy<int>(this, "brightness");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> XvImageSink::property_brightness() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "brightness");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> XvImageSink::property_hue() 
{
  return Glib::PropertyProxy<int>(this, "hue");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> XvImageSink::property_hue() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "hue");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> XvImageSink::property_saturation() 
{
  return Glib::PropertyProxy<int>(this, "saturation");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> XvImageSink::property_saturation() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "saturation");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<Glib::ustring> XvImageSink::property_display() 
{
  return Glib::PropertyProxy<Glib::ustring>(this, "display");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<Glib::ustring> XvImageSink::property_display() const
{
  return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "display");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> XvImageSink::property_synchronous() 
{
  return Glib::PropertyProxy<bool>(this, "synchronous");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> XvImageSink::property_synchronous() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "synchronous");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<Glib::ustring> XvImageSink::property_pixel_aspect_ratio() 
{
  return Glib::PropertyProxy<Glib::ustring>(this, "pixel-aspect-ratio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<Glib::ustring> XvImageSink::property_pixel_aspect_ratio() const
{
  return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "pixel-aspect-ratio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> XvImageSink::property_force_aspect_ratio() 
{
  return Glib::PropertyProxy<bool>(this, "force-aspect-ratio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> XvImageSink::property_force_aspect_ratio() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "force-aspect-ratio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> XvImageSink::property_handle_events() 
{
  return Glib::PropertyProxy<bool>(this, "handle-events");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> XvImageSink::property_handle_events() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "handle-events");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<Glib::ustring> XvImageSink::property_device() 
{
  return Glib::PropertyProxy<Glib::ustring>(this, "device");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<Glib::ustring> XvImageSink::property_device() const
{
  return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "device");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<Glib::ustring> XvImageSink::property_device_name() const
{
  return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "device-name");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> XvImageSink::property_handle_expose() 
{
  return Glib::PropertyProxy<bool>(this, "handle-expose");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> XvImageSink::property_handle_expose() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "handle-expose");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> XvImageSink::property_double_buffer() 
{
  return Glib::PropertyProxy<bool>(this, "double-buffer");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> XvImageSink::property_double_buffer() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "double-buffer");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> XvImageSink::property_autopaint_colorkey() 
{
  return Glib::PropertyProxy<bool>(this, "autopaint-colorkey");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> XvImageSink::property_autopaint_colorkey() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "autopaint-colorkey");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> XvImageSink::property_colorkey() 
{
  return Glib::PropertyProxy<int>(this, "colorkey");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> XvImageSink::property_colorkey() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "colorkey");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> XvImageSink::property_draw_borders() 
{
  return Glib::PropertyProxy<bool>(this, "draw-borders");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> XvImageSink::property_draw_borders() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "draw-borders");
}
#endif //GLIBMM_PROPERTIES_ENABLED


#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED

#ifdef GLIBMM_VFUNCS_ENABLED
#endif //GLIBMM_VFUNCS_ENABLED


} // namespace Gst


