// Generated by gtkmmproc -- DO NOT MODIFY!


#include <gstreamermm/playbin2.h>
#include <gstreamermm/private/playbin2_p.h>

/* gstreamermm - a C++ wrapper for gstreamer
 *
 * Copyright 2008 The gstreamermm Development Team
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free
 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */


struct _GstPlayBin2Class
{
  GstPipelineClass parent_class;
  void (*about_to_finish) (GstPlayBin2* element);
  void (*video_changed) (GstPlayBin2* element);
  void (*audio_changed) (GstPlayBin2* element);
  void (*text_changed) (GstPlayBin2* element);
  GstTagList* (*get_video_tags) (GstPlayBin2* element, gint arg0);
  GstTagList* (*get_audio_tags) (GstPlayBin2* element, gint arg0);
  GstTagList* (*get_text_tags) (GstPlayBin2* element, gint arg0);
  GstBuffer* (*convert_frame) (GstPlayBin2* element, GstCaps* arg0);
  GstPad* (*get_video_pad) (GstPlayBin2* element, gint arg0);
  GstPad* (*get_audio_pad) (GstPlayBin2* element, gint arg0);
  GstPad* (*get_text_pad) (GstPlayBin2* element, gint arg0);
};

extern "C"
{

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

  if (!type)
  {
    factory = gst_element_factory_find("playbin2");
    // 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;
}

static GType gst_play_flags_get_type()
{
  static GType const type = g_type_from_name("GstPlayFlags");
  return type;
}

} // extern "C"

namespace Gst
{

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

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


}

namespace
{


static const Glib::SignalProxyInfo PlayBin2_signal_about_to_finish_info =
{
  "about-to-finish",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


static const Glib::SignalProxyInfo PlayBin2_signal_video_changed_info =
{
  "video-changed",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


static const Glib::SignalProxyInfo PlayBin2_signal_audio_changed_info =
{
  "audio-changed",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


static const Glib::SignalProxyInfo PlayBin2_signal_text_changed_info =
{
  "text-changed",
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback,
  (GCallback) &Glib::SignalProxyNormal::slot0_void_callback
};


static GstTagList* PlayBin2_signal_get_video_tags_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Gst::TagList,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return ((*static_cast<SlotType*>(slot))(p0
)).gobj();
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static GstTagList* PlayBin2_signal_get_video_tags_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_video_tags_info =
{
  "get-video-tags",
  (GCallback) &PlayBin2_signal_get_video_tags_callback,
  (GCallback) &PlayBin2_signal_get_video_tags_notify_callback
};


static GstTagList* PlayBin2_signal_get_audio_tags_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Gst::TagList,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return ((*static_cast<SlotType*>(slot))(p0
)).gobj();
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static GstTagList* PlayBin2_signal_get_audio_tags_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_audio_tags_info =
{
  "get-audio-tags",
  (GCallback) &PlayBin2_signal_get_audio_tags_callback,
  (GCallback) &PlayBin2_signal_get_audio_tags_notify_callback
};


static GstTagList* PlayBin2_signal_get_text_tags_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Gst::TagList,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return ((*static_cast<SlotType*>(slot))(p0
)).gobj();
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static GstTagList* PlayBin2_signal_get_text_tags_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstTagList* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_text_tags_info =
{
  "get-text-tags",
  (GCallback) &PlayBin2_signal_get_text_tags_callback,
  (GCallback) &PlayBin2_signal_get_text_tags_notify_callback
};


static GstBuffer* PlayBin2_signal_convert_frame_callback(GstPlayBin2* self, GstCaps* p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Glib::RefPtr<Gst::Buffer>,const Glib::RefPtr<Gst::Caps>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return Glib::unwrap((*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstBuffer* RType;
  return RType();
}

static GstBuffer* PlayBin2_signal_convert_frame_notify_callback(GstPlayBin2* self, GstCaps* p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,const Glib::RefPtr<Gst::Caps>& > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(Glib::wrap(p0, true)
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstBuffer* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_convert_frame_info =
{
  "convert-frame",
  (GCallback) &PlayBin2_signal_convert_frame_callback,
  (GCallback) &PlayBin2_signal_convert_frame_notify_callback
};


static GstPad* PlayBin2_signal_get_video_pad_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Glib::RefPtr<Gst::Pad>,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return Glib::unwrap((*static_cast<SlotType*>(slot))(p0
));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static GstPad* PlayBin2_signal_get_video_pad_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_video_pad_info =
{
  "get-video-pad",
  (GCallback) &PlayBin2_signal_get_video_pad_callback,
  (GCallback) &PlayBin2_signal_get_video_pad_notify_callback
};


static GstPad* PlayBin2_signal_get_audio_pad_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Glib::RefPtr<Gst::Pad>,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return Glib::unwrap((*static_cast<SlotType*>(slot))(p0
));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static GstPad* PlayBin2_signal_get_audio_pad_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_audio_pad_info =
{
  "get-audio-pad",
  (GCallback) &PlayBin2_signal_get_audio_pad_callback,
  (GCallback) &PlayBin2_signal_get_audio_pad_notify_callback
};


static GstPad* PlayBin2_signal_get_text_pad_callback(GstPlayBin2* self, gint p0,void* data)
{
  using namespace Gst;
  typedef sigc::slot< Glib::RefPtr<Gst::Pad>,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        return Glib::unwrap((*static_cast<SlotType*>(slot))(p0
));
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static GstPad* PlayBin2_signal_get_text_pad_notify_callback(GstPlayBin2* self, gint p0, void* data)
{
  using namespace Gst;
  typedef sigc::slot< void,int > SlotType;

  // Do not try to call a signal on a disassociated wrapper.
  if(Glib::ObjectBase::_get_current_wrapper((GObject*) self))
  {
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    try
    {
    #endif //GLIBMM_EXCEPTIONS_ENABLED
      if(sigc::slot_base *const slot = Glib::SignalProxyNormal::data_to_slot(data))
        (*static_cast<SlotType*>(slot))(p0
);
    #ifdef GLIBMM_EXCEPTIONS_ENABLED
    }
    catch(...)
    {
      Glib::exception_handlers_invoke();
    }
    #endif //GLIBMM_EXCEPTIONS_ENABLED
  }

  typedef GstPad* RType;
  return RType();
}

static const Glib::SignalProxyInfo PlayBin2_signal_get_text_pad_info =
{
  "get-text-pad",
  (GCallback) &PlayBin2_signal_get_text_pad_callback,
  (GCallback) &PlayBin2_signal_get_text_pad_notify_callback
};


} // anonymous namespace

// static
GType Glib::Value<Gst::PlayFlags>::value_type()
{
  return gst_play_flags_get_type();
}


namespace Glib
{

Glib::RefPtr<Gst::PlayBin2> wrap(GstPlayBin2* object, bool take_copy)
{
  return Glib::RefPtr<Gst::PlayBin2>( dynamic_cast<Gst::PlayBin2*> (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& PlayBin2_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_ = &PlayBin2_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_play_bin2_get_type());

    // Add derived versions of interfaces, if the C type implements any interfaces:

  }

  return *this;
}

void PlayBin2_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
  klass->about_to_finish = &about_to_finish_callback;
  klass->video_changed = &video_changed_callback;
  klass->audio_changed = &audio_changed_callback;
  klass->text_changed = &text_changed_callback;
  klass->get_video_tags = &get_video_tags_callback;
  klass->get_audio_tags = &get_audio_tags_callback;
  klass->get_text_tags = &get_text_tags_callback;
  klass->convert_frame = &convert_frame_callback;
  klass->get_video_pad = &get_video_pad_callback;
  klass->get_audio_pad = &get_audio_pad_callback;
  klass->get_text_pad = &get_text_pad_callback;
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
}

#ifdef GLIBMM_VFUNCS_ENABLED
#endif //GLIBMM_VFUNCS_ENABLED

#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
void PlayBin2_Class::about_to_finish_callback(GstPlayBin2* self)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        obj->on_about_to_finish();
        return;
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->about_to_finish)
    (*base->about_to_finish)(self);
}
void PlayBin2_Class::video_changed_callback(GstPlayBin2* self)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        obj->on_video_changed();
        return;
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->video_changed)
    (*base->video_changed)(self);
}
void PlayBin2_Class::audio_changed_callback(GstPlayBin2* self)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        obj->on_audio_changed();
        return;
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->audio_changed)
    (*base->audio_changed)(self);
}
void PlayBin2_Class::text_changed_callback(GstPlayBin2* self)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        obj->on_text_changed();
        return;
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->text_changed)
    (*base->text_changed)(self);
}
GstTagList* PlayBin2_Class::get_video_tags_callback(GstPlayBin2* self, gint p0)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return (obj->on_get_video_tags(p0
)).gobj();
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->get_video_tags)
    return (*base->get_video_tags)(self, p0);

  typedef GstTagList* RType;
  return RType();
}
GstTagList* PlayBin2_Class::get_audio_tags_callback(GstPlayBin2* self, gint p0)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return (obj->on_get_audio_tags(p0
)).gobj();
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->get_audio_tags)
    return (*base->get_audio_tags)(self, p0);

  typedef GstTagList* RType;
  return RType();
}
GstTagList* PlayBin2_Class::get_text_tags_callback(GstPlayBin2* self, gint p0)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return (obj->on_get_text_tags(p0
)).gobj();
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->get_text_tags)
    return (*base->get_text_tags)(self, p0);

  typedef GstTagList* RType;
  return RType();
}
GstBuffer* PlayBin2_Class::convert_frame_callback(GstPlayBin2* self, GstCaps* p0)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return Glib::unwrap(obj->on_convert_frame(Glib::wrap(p0, true)
));
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->convert_frame)
    return (*base->convert_frame)(self, p0);

  typedef GstBuffer* RType;
  return RType();
}
GstPad* PlayBin2_Class::get_video_pad_callback(GstPlayBin2* self, gint p0)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return Glib::unwrap(obj->on_get_video_pad(p0
));
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->get_video_pad)
    return (*base->get_video_pad)(self, p0);

  typedef GstPad* RType;
  return RType();
}
GstPad* PlayBin2_Class::get_audio_pad_callback(GstPlayBin2* self, gint p0)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return Glib::unwrap(obj->on_get_audio_pad(p0
));
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->get_audio_pad)
    return (*base->get_audio_pad)(self, p0);

  typedef GstPad* RType;
  return RType();
}
GstPad* PlayBin2_Class::get_text_pad_callback(GstPlayBin2* self, gint p0)
{
  Glib::ObjectBase *const obj_base = static_cast<Glib::ObjectBase*>(
      Glib::ObjectBase::_get_current_wrapper((GObject*)self));

  // Non-gtkmmproc-generated custom classes implicitly call the default
  // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc-
  // generated classes can use this optimisation, which avoids the unnecessary
  // parameter conversions if there is no possibility of the virtual function
  // being overridden:
  if(obj_base && obj_base->is_derived_())
  {
    CppObjectType *const obj = dynamic_cast<CppObjectType* const>(obj_base);
    if(obj) // This can be NULL during destruction.
    {
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      try // Trap C++ exceptions which would normally be lost because this is a C callback.
      {
      #endif //GLIBMM_EXCEPTIONS_ENABLED
        // Call the virtual member method, which derived classes might override.
        return Glib::unwrap(obj->on_get_text_pad(p0
));
      #ifdef GLIBMM_EXCEPTIONS_ENABLED
      }
      catch(...)
      {
        Glib::exception_handlers_invoke();
      }
      #endif //GLIBMM_EXCEPTIONS_ENABLED
    }
  }
  
  BaseClassType *const base = static_cast<BaseClassType*>(
        g_type_class_peek_parent(G_OBJECT_GET_CLASS(self)) // Get the parent class of the object class (The original underlying C class).
    );

  // Call the original underlying C function:
  if(base && base->get_text_pad)
    return (*base->get_text_pad)(self, p0);

  typedef GstPad* RType;
  return RType();
}
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED


Glib::ObjectBase* PlayBin2_Class::wrap_new(GObject* object)
{
  return new PlayBin2((GstPlayBin2*)object);
}


/* The implementation: */

GstPlayBin2* PlayBin2::gobj_copy()
{
  reference();
  return gobj();
}

PlayBin2::PlayBin2(const Glib::ConstructParams& construct_params)
:
  Gst::Pipeline(construct_params)
{

}

PlayBin2::PlayBin2(GstPlayBin2* castitem)
:
  Gst::Pipeline((GstPipeline*)(castitem))
{}

PlayBin2::~PlayBin2()
{}


PlayBin2::CppClassType PlayBin2::playbin2_class_; // initialize static member

GType PlayBin2::get_type()
{
  return playbin2_class_.init().get_type();
}

GType PlayBin2::get_base_type()
{
  return gst_play_bin2_get_type();
}


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


Glib::SignalProxy0< void > PlayBin2::signal_about_to_finish()
{
  return Glib::SignalProxy0< void >(this, &PlayBin2_signal_about_to_finish_info);
}


Glib::SignalProxy0< void > PlayBin2::signal_video_changed()
{
  return Glib::SignalProxy0< void >(this, &PlayBin2_signal_video_changed_info);
}


Glib::SignalProxy0< void > PlayBin2::signal_audio_changed()
{
  return Glib::SignalProxy0< void >(this, &PlayBin2_signal_audio_changed_info);
}


Glib::SignalProxy0< void > PlayBin2::signal_text_changed()
{
  return Glib::SignalProxy0< void >(this, &PlayBin2_signal_text_changed_info);
}


Glib::SignalProxy1< Gst::TagList,int > PlayBin2::signal_get_video_tags()
{
  return Glib::SignalProxy1< Gst::TagList,int >(this, &PlayBin2_signal_get_video_tags_info);
}


Glib::SignalProxy1< Gst::TagList,int > PlayBin2::signal_get_audio_tags()
{
  return Glib::SignalProxy1< Gst::TagList,int >(this, &PlayBin2_signal_get_audio_tags_info);
}


Glib::SignalProxy1< Gst::TagList,int > PlayBin2::signal_get_text_tags()
{
  return Glib::SignalProxy1< Gst::TagList,int >(this, &PlayBin2_signal_get_text_tags_info);
}


Glib::SignalProxy1< Glib::RefPtr<Gst::Buffer>,const Glib::RefPtr<Gst::Caps>& > PlayBin2::signal_convert_frame()
{
  return Glib::SignalProxy1< Glib::RefPtr<Gst::Buffer>,const Glib::RefPtr<Gst::Caps>& >(this, &PlayBin2_signal_convert_frame_info);
}


Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int > PlayBin2::signal_get_video_pad()
{
  return Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int >(this, &PlayBin2_signal_get_video_pad_info);
}


Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int > PlayBin2::signal_get_audio_pad()
{
  return Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int >(this, &PlayBin2_signal_get_audio_pad_info);
}


Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int > PlayBin2::signal_get_text_pad()
{
  return Glib::SignalProxy1< Glib::RefPtr<Gst::Pad>,int >(this, &PlayBin2_signal_get_text_pad_info);
}


#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<Glib::ustring> PlayBin2::property_uri() 
{
  return Glib::PropertyProxy<Glib::ustring>(this, "uri");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<Glib::ustring> PlayBin2::property_uri() const
{
  return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "uri");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<Glib::ustring> PlayBin2::property_suburi() 
{
  return Glib::PropertyProxy<Glib::ustring>(this, "suburi");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<Glib::ustring> PlayBin2::property_suburi() const
{
  return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "suburi");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin2::property_source() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "source");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<PlayFlags> PlayBin2::property_flags() 
{
  return Glib::PropertyProxy<PlayFlags>(this, "flags");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<PlayFlags> PlayBin2::property_flags() const
{
  return Glib::PropertyProxy_ReadOnly<PlayFlags>(this, "flags");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> PlayBin2::property_n_video() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "n-video");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> PlayBin2::property_current_video() 
{
  return Glib::PropertyProxy<int>(this, "current-video");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> PlayBin2::property_current_video() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "current-video");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> PlayBin2::property_n_audio() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "n-audio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> PlayBin2::property_current_audio() 
{
  return Glib::PropertyProxy<int>(this, "current-audio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> PlayBin2::property_current_audio() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "current-audio");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> PlayBin2::property_n_text() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "n-text");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> PlayBin2::property_current_text() 
{
  return Glib::PropertyProxy<int>(this, "current-text");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> PlayBin2::property_current_text() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "current-text");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<Glib::ustring> PlayBin2::property_subtitle_encoding() 
{
  return Glib::PropertyProxy<Glib::ustring>(this, "subtitle-encoding");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<Glib::ustring> PlayBin2::property_subtitle_encoding() const
{
  return Glib::PropertyProxy_ReadOnly<Glib::ustring>(this, "subtitle-encoding");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin2::property_audio_sink() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "audio-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin2::property_audio_sink() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "audio-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin2::property_video_sink() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "video-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin2::property_video_sink() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "video-sink");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy< Glib::RefPtr<Gst::Element> > PlayBin2::property_vis_plugin() 
{
  return Glib::PropertyProxy< Glib::RefPtr<Gst::Element> >(this, "vis-plugin");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> > PlayBin2::property_vis_plugin() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Element> >(this, "vis-plugin");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<double> PlayBin2::property_volume() 
{
  return Glib::PropertyProxy<double>(this, "volume");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<double> PlayBin2::property_volume() const
{
  return Glib::PropertyProxy_ReadOnly<double>(this, "volume");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<bool> PlayBin2::property_mute() 
{
  return Glib::PropertyProxy<bool>(this, "mute");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<bool> PlayBin2::property_mute() const
{
  return Glib::PropertyProxy_ReadOnly<bool>(this, "mute");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Buffer> > PlayBin2::property_frame() const
{
  return Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Buffer> >(this, "frame");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_WriteOnly<Glib::ustring> PlayBin2::property_subtitle_font_desc() 
{
  return Glib::PropertyProxy_WriteOnly<Glib::ustring>(this, "subtitle-font-desc");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<guint> PlayBin2::property_connection_speed() 
{
  return Glib::PropertyProxy<guint>(this, "connection-speed");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<guint> PlayBin2::property_connection_speed() const
{
  return Glib::PropertyProxy_ReadOnly<guint>(this, "connection-speed");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<int> PlayBin2::property_buffer_size() 
{
  return Glib::PropertyProxy<int>(this, "buffer-size");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<int> PlayBin2::property_buffer_size() const
{
  return Glib::PropertyProxy_ReadOnly<int>(this, "buffer-size");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy<gint64> PlayBin2::property_buffer_duration() 
{
  return Glib::PropertyProxy<gint64>(this, "buffer-duration");
}
#endif //GLIBMM_PROPERTIES_ENABLED

#ifdef GLIBMM_PROPERTIES_ENABLED
Glib::PropertyProxy_ReadOnly<gint64> PlayBin2::property_buffer_duration() const
{
  return Glib::PropertyProxy_ReadOnly<gint64>(this, "buffer-duration");
}
#endif //GLIBMM_PROPERTIES_ENABLED


#ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
void Gst::PlayBin2::on_about_to_finish()
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->about_to_finish)
    (*base->about_to_finish)(gobj());
}
void Gst::PlayBin2::on_video_changed()
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->video_changed)
    (*base->video_changed)(gobj());
}
void Gst::PlayBin2::on_audio_changed()
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->audio_changed)
    (*base->audio_changed)(gobj());
}
void Gst::PlayBin2::on_text_changed()
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->text_changed)
    (*base->text_changed)(gobj());
}
Gst::TagList Gst::PlayBin2::on_get_video_tags(int arg0)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->get_video_tags)
    return Glib::wrap((*base->get_video_tags)(gobj(),arg0), 0, true);

  typedef Gst::TagList RType;
  return RType();
}
Gst::TagList Gst::PlayBin2::on_get_audio_tags(int arg0)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->get_audio_tags)
    return Glib::wrap((*base->get_audio_tags)(gobj(),arg0), 0, true);

  typedef Gst::TagList RType;
  return RType();
}
Gst::TagList Gst::PlayBin2::on_get_text_tags(int arg0)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->get_text_tags)
    return Glib::wrap((*base->get_text_tags)(gobj(),arg0), 0, true);

  typedef Gst::TagList RType;
  return RType();
}
Glib::RefPtr<Gst::Buffer> Gst::PlayBin2::on_convert_frame(const Glib::RefPtr<Gst::Caps>& arg0)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->convert_frame)
    return Gst::wrap((*base->convert_frame)(gobj(),Glib::unwrap(arg0)));

  typedef Glib::RefPtr<Gst::Buffer> RType;
  return RType();
}
Glib::RefPtr<Gst::Pad> Gst::PlayBin2::on_get_video_pad(int arg0)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->get_video_pad)
    return Glib::wrap((*base->get_video_pad)(gobj(),arg0));

  typedef Glib::RefPtr<Gst::Pad> RType;
  return RType();
}
Glib::RefPtr<Gst::Pad> Gst::PlayBin2::on_get_audio_pad(int arg0)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->get_audio_pad)
    return Glib::wrap((*base->get_audio_pad)(gobj(),arg0));

  typedef Glib::RefPtr<Gst::Pad> RType;
  return RType();
}
Glib::RefPtr<Gst::Pad> Gst::PlayBin2::on_get_text_pad(int arg0)
{
  BaseClassType *const base = static_cast<BaseClassType*>(
      g_type_class_peek_parent(G_OBJECT_GET_CLASS(gobject_)) // Get the parent class of the object class (The original underlying C class).
  );

  if(base && base->get_text_pad)
    return Glib::wrap((*base->get_text_pad)(gobj(),arg0));

  typedef Glib::RefPtr<Gst::Pad> RType;
  return RType();
}
#endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED

#ifdef GLIBMM_VFUNCS_ENABLED
#endif //GLIBMM_VFUNCS_ENABLED


} // namespace Gst


