decodebin.h

Go to the documentation of this file.
00001 // -*- c++ -*-
00002 // Generated by gtkmmproc -- DO NOT MODIFY!
00003 #ifndef _GSTREAMERMM_DECODEBIN_H
00004 #define _GSTREAMERMM_DECODEBIN_H
00005 
00006 
00007 #include <glibmm.h>
00008 
00009 /* gstreamermm - a C++ wrapper for gstreamer
00010  *
00011  * Copyright 2008 The gstreamermm Development Team
00012  *
00013  * This library is free software; you can redistribute it and/or
00014  * modify it under the terms of the GNU Lesser General Public
00015  * License as published by the Free Software Foundation; either
00016  * version 2.1 of the License, or (at your option) any later version.
00017  *
00018  * This library is distributed in the hope that it will be useful,
00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00021  * Lesser General Public License for more details.
00022  *
00023  * You should have received a copy of the GNU Lesser General Public
00024  * License along with this library; if not, write to the Free
00025  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00026  */
00027 
00028 #include <gstreamermm/bin.h>
00029 #include <gstreamermm/caps.h>
00030 #include <gstreamermm/pad.h>
00031 
00032 
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _GstDecodeBin GstDecodeBin;
00035 typedef struct _GstDecodeBinClass GstDecodeBinClass;
00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00037 
00038 
00039 namespace Gst
00040 { class DecodeBin_Class; } // namespace Gst
00041 namespace Gst
00042 {
00043 
00054 class DecodeBin
00055 : public Gst::Bin
00056 {
00057   
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059 
00060 public:
00061   typedef DecodeBin CppObjectType;
00062   typedef DecodeBin_Class CppClassType;
00063   typedef GstDecodeBin BaseObjectType;
00064   typedef GstDecodeBinClass BaseClassType;
00065 
00066 private:  friend class DecodeBin_Class;
00067   static CppClassType decodebin_class_;
00068 
00069 private:
00070   // noncopyable
00071   DecodeBin(const DecodeBin&);
00072   DecodeBin& operator=(const DecodeBin&);
00073 
00074 protected:
00075   explicit DecodeBin(const Glib::ConstructParams& construct_params);
00076   explicit DecodeBin(GstDecodeBin* castitem);
00077 
00078 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
00079 
00080 public:
00081   virtual ~DecodeBin();
00082 
00083 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00084   static GType get_type()      G_GNUC_CONST;
00085   static GType get_base_type() G_GNUC_CONST;
00086 #endif
00087 
00089   GstDecodeBin*       gobj()       { return reinterpret_cast<GstDecodeBin*>(gobject_); }
00090 
00092   const GstDecodeBin* gobj() const { return reinterpret_cast<GstDecodeBin*>(gobject_); }
00093 
00095   GstDecodeBin* gobj_copy();
00096 
00097 private:
00098 
00099   
00100 protected:
00101   DecodeBin();
00102   DecodeBin(const Glib::ustring& name);
00103 
00104 public:
00108   static Glib::RefPtr<DecodeBin> create();
00109 
00110 
00114   static Glib::RefPtr<DecodeBin> create(const Glib::ustring& name);
00115 
00116 
00117   #ifdef GLIBMM_PROPERTIES_ENABLED
00118 
00124   Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_sink_caps() ;
00125 #endif //#GLIBMM_PROPERTIES_ENABLED
00126 
00127 #ifdef GLIBMM_PROPERTIES_ENABLED
00128 
00134   Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_sink_caps() const;
00135 #endif //#GLIBMM_PROPERTIES_ENABLED
00136 
00137 
00143   Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,bool > signal_new_decoded_pad();
00144 
00145  
00151   Glib::SignalProxy1< void,const Glib::RefPtr<Gst::Pad>& > signal_removed_decoded_pad();
00152 
00153  
00159   Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Pad>&,const Glib::RefPtr<Gst::Caps>& > signal_unknown_type();
00160 
00161 
00162 public:
00163 
00164 public:
00165   //C++ methods used to invoke GTK+ virtual functions:
00166 #ifdef GLIBMM_VFUNCS_ENABLED
00167 #endif //GLIBMM_VFUNCS_ENABLED
00168 
00169 protected:
00170   //GTK+ Virtual Functions (override these to change behaviour):
00171 #ifdef GLIBMM_VFUNCS_ENABLED
00172 #endif //GLIBMM_VFUNCS_ENABLED
00173 
00174   //Default Signal Handlers::
00175 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00176   virtual void on_new_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0, bool arg1);
00177   virtual void on_removed_decoded_pad(const Glib::RefPtr<Gst::Pad>& arg0);
00178   virtual void on_unknown_type(const Glib::RefPtr<Gst::Pad>& arg0, const Glib::RefPtr<Gst::Caps>& arg1);
00179 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00180 
00181 
00182 };
00183 
00184 } //namespace Gst
00185 
00186 
00187 namespace Glib
00188 {
00197   Glib::RefPtr<Gst::DecodeBin> wrap(GstDecodeBin* object, bool take_copy = false);
00198 }
00199 
00200 
00201 #endif /* _GSTREAMERMM_DECODEBIN_H */
00202 

Generated on Wed Aug 19 15:53:17 2009 for gstreamermm by  doxygen 1.5.4