00001
00002
00003 #ifndef _GSTREAMERMM_TYPEFIND_H
00004 #define _GSTREAMERMM_TYPEFIND_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #include <gstreamermm/element.h>
00029 #include <gstreamermm/caps.h>
00030
00031
00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00033 typedef struct _GstTypeFindElement GstTypeFindElement;
00034 typedef struct _GstTypeFindElementClass GstTypeFindElementClass;
00035 #endif
00036
00037
00038 namespace Gst
00039 { class TypeFind_Class; }
00040 namespace Gst
00041 {
00042
00043
00054 class TypeFind
00055 : public Gst::Element
00056 {
00057
00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00059
00060 public:
00061 typedef TypeFind CppObjectType;
00062 typedef TypeFind_Class CppClassType;
00063 typedef GstTypeFindElement BaseObjectType;
00064 typedef GstTypeFindElementClass BaseClassType;
00065
00066 private: friend class TypeFind_Class;
00067 static CppClassType typefind_class_;
00068
00069 private:
00070
00071 TypeFind(const TypeFind&);
00072 TypeFind& operator=(const TypeFind&);
00073
00074 protected:
00075 explicit TypeFind(const Glib::ConstructParams& construct_params);
00076 explicit TypeFind(GstTypeFindElement* castitem);
00077
00078 #endif
00079
00080 public:
00081 virtual ~TypeFind();
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 GstTypeFindElement* gobj() { return reinterpret_cast<GstTypeFindElement*>(gobject_); }
00090
00092 const GstTypeFindElement* gobj() const { return reinterpret_cast<GstTypeFindElement*>(gobject_); }
00093
00095 GstTypeFindElement* gobj_copy();
00096
00097 private:
00098
00099
00100 protected:
00101 TypeFind();
00102 TypeFind(const Glib::ustring& name);
00103
00104 public:
00108 static Glib::RefPtr<TypeFind> create();
00109
00110
00114 static Glib::RefPtr<TypeFind> create(const Glib::ustring& name);
00115
00116
00117 #ifdef GLIBMM_PROPERTIES_ENABLED
00118
00124 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_caps() const;
00125 #endif //#GLIBMM_PROPERTIES_ENABLED
00126
00127
00128 #ifdef GLIBMM_PROPERTIES_ENABLED
00129
00135 Glib::PropertyProxy<guint> property_minimum() ;
00136 #endif //#GLIBMM_PROPERTIES_ENABLED
00137
00138 #ifdef GLIBMM_PROPERTIES_ENABLED
00139
00145 Glib::PropertyProxy_ReadOnly<guint> property_minimum() const;
00146 #endif //#GLIBMM_PROPERTIES_ENABLED
00147
00148 #ifdef GLIBMM_PROPERTIES_ENABLED
00149
00155 Glib::PropertyProxy<guint> property_maximum() ;
00156 #endif //#GLIBMM_PROPERTIES_ENABLED
00157
00158 #ifdef GLIBMM_PROPERTIES_ENABLED
00159
00165 Glib::PropertyProxy_ReadOnly<guint> property_maximum() const;
00166 #endif //#GLIBMM_PROPERTIES_ENABLED
00167
00168 #ifdef GLIBMM_PROPERTIES_ENABLED
00169
00175 Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_force_caps() ;
00176 #endif //#GLIBMM_PROPERTIES_ENABLED
00177
00178 #ifdef GLIBMM_PROPERTIES_ENABLED
00179
00185 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_force_caps() const;
00186 #endif //#GLIBMM_PROPERTIES_ENABLED
00187
00188
00194 Glib::SignalProxy2< void,guint,const Glib::RefPtr<Gst::Caps>& > signal_have_type();
00195
00196
00197 public:
00198
00199 public:
00200
00201 #ifdef GLIBMM_VFUNCS_ENABLED
00202 #endif //GLIBMM_VFUNCS_ENABLED
00203
00204 protected:
00205
00206 #ifdef GLIBMM_VFUNCS_ENABLED
00207 #endif //GLIBMM_VFUNCS_ENABLED
00208
00209
00210 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00211 virtual void on_have_type(guint arg0, const Glib::RefPtr<Gst::Caps>& arg1);
00212 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00213
00214
00215 };
00216
00217 }
00218
00219
00220 namespace Glib
00221 {
00230 Glib::RefPtr<Gst::TypeFind> wrap(GstTypeFindElement* object, bool take_copy = false);
00231 }
00232
00233
00234 #endif
00235