| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! |
| 2 | #ifndef _GSTREAMERMM_TYPEFINDELEMENT_H |
| 3 | #define _GSTREAMERMM_TYPEFINDELEMENT_H |
| 4 | |
| 5 | #include <gstreamermmconfig.h> |
| 6 | |
| 7 | #ifndef GSTREAMERMM_DISABLE_DEPRECATED |
| 8 | |
| 9 | |
| 10 | #include <glibmm/ustring.h> |
| 11 | #include <sigc++/sigc++.h> |
| 12 | |
| 13 | // Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 14 | |
| 15 | |
| 16 | #include <gstreamermm/element.h> |
| 17 | #include <gstreamermm/caps.h> |
| 18 | |
| 19 | |
| 20 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 21 | using GstTypeFindElement = struct _GstTypeFindElement; |
| 22 | using GstTypeFindElementClass = struct _GstTypeFindElementClass; |
| 23 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 24 | |
| 25 | |
| 26 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 27 | namespace Gst |
| 28 | { class TypeFindElement_Class; } // namespace Gst |
| 29 | #endif //DOXYGEN_SHOULD_SKIP_THIS |
| 30 | |
| 31 | namespace Gst |
| 32 | { |
| 33 | |
| 34 | /** A Wrapper for the typefind plugin. |
| 35 | * Please note that not all plug-ins are available on all systems so care |
| 36 | * must be taken that they exist before they are used otherwise there will |
| 37 | * be errors and possibly a crash. |
| 38 | * |
| 39 | * @ingroup GstPlugins |
| 40 | * @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 41 | */ |
| 42 | |
| 43 | class TypeFindElement |
| 44 | : public Gst::Element |
| 45 | { |
| 46 | |
| 47 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 48 | |
| 49 | public: |
| 50 | using CppObjectType = TypeFindElement; |
| 51 | using CppClassType = TypeFindElement_Class; |
| 52 | using BaseObjectType = GstTypeFindElement; |
| 53 | using BaseClassType = GstTypeFindElementClass; |
| 54 | |
| 55 | // noncopyable |
| 56 | TypeFindElement(const TypeFindElement&) = delete; |
| 57 | TypeFindElement& operator=(const TypeFindElement&) = delete; |
| 58 | |
| 59 | private: friend class TypeFindElement_Class; |
| 60 | static CppClassType typefindelement_class_; |
| 61 | |
| 62 | protected: |
| 63 | explicit TypeFindElement(const Glib::ConstructParams& construct_params); |
| 64 | explicit TypeFindElement(GstTypeFindElement* castitem); |
| 65 | |
| 66 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 67 | |
| 68 | public: |
| 69 | |
| 70 | TypeFindElement(TypeFindElement&& src) noexcept; |
| 71 | TypeFindElement& operator=(TypeFindElement&& src) noexcept; |
| 72 | |
| 73 | ~TypeFindElement() noexcept override; |
| 74 | |
| 75 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 76 | */ |
| 77 | static GType get_type() G_GNUC_CONST; |
| 78 | |
| 79 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 80 | |
| 81 | |
| 82 | static GType get_base_type() G_GNUC_CONST; |
| 83 | #endif |
| 84 | |
| 85 | ///Provides access to the underlying C GObject. |
| 86 | GstTypeFindElement* gobj() { return reinterpret_cast<GstTypeFindElement*>(gobject_); } |
| 87 | |
| 88 | ///Provides access to the underlying C GObject. |
| 89 | const GstTypeFindElement* gobj() const { return reinterpret_cast<GstTypeFindElement*>(gobject_); } |
| 90 | |
| 91 | ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. |
| 92 | GstTypeFindElement* gobj_copy(); |
| 93 | |
| 94 | private: |
| 95 | |
| 96 | |
| 97 | protected: |
| 98 | TypeFindElement(); |
| 99 | explicit TypeFindElement(const Glib::ustring& name); |
| 100 | |
| 101 | public: |
| 102 | /** Creates a new typefind plugin with a unique name. |
| 103 | */ |
| 104 | |
| 105 | static Glib::RefPtr<TypeFindElement> create(); |
| 106 | |
| 107 | |
| 108 | /** Creates a new typefind plugin with the given name. |
| 109 | */ |
| 110 | |
| 111 | static Glib::RefPtr<TypeFindElement> create(const Glib::ustring& name); |
| 112 | |
| 113 | |
| 114 | /** detected capabilities in stream. |
| 115 | * |
| 116 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 117 | * or receive notification when the value of the property changes. |
| 118 | */ |
| 119 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_caps() const; |
| 120 | |
| 121 | |
| 122 | /** minimum probability required to accept caps. |
| 123 | * |
| 124 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 125 | * or receive notification when the value of the property changes. |
| 126 | */ |
| 127 | Glib::PropertyProxy< guint > property_minimum() ; |
| 128 | |
| 129 | /** minimum probability required to accept caps. |
| 130 | * |
| 131 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 132 | * or receive notification when the value of the property changes. |
| 133 | */ |
| 134 | Glib::PropertyProxy_ReadOnly< guint > property_minimum() const; |
| 135 | |
| 136 | /** force caps without doing a typefind. |
| 137 | * |
| 138 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 139 | * or receive notification when the value of the property changes. |
| 140 | */ |
| 141 | Glib::PropertyProxy< Glib::RefPtr<Gst::Caps> > property_force_caps() ; |
| 142 | |
| 143 | /** force caps without doing a typefind. |
| 144 | * |
| 145 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 146 | * or receive notification when the value of the property changes. |
| 147 | */ |
| 148 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gst::Caps> > property_force_caps() const; |
| 149 | |
| 150 | |
| 151 | /** |
| 152 | * @par Slot Prototype: |
| 153 | * <tt>void on_my_%have_type(guint arg0, const Glib::RefPtr<Gst::Caps>& arg1)</tt> |
| 154 | * |
| 155 | */ |
| 156 | |
| 157 | Glib::SignalProxy< void,guint,const Glib::RefPtr<Gst::Caps>& > signal_have_type(); |
| 158 | |
| 159 | |
| 160 | public: |
| 161 | |
| 162 | public: |
| 163 | //C++ methods used to invoke GTK+ virtual functions: |
| 164 | |
| 165 | protected: |
| 166 | //GTK+ Virtual Functions (override these to change behaviour): |
| 167 | |
| 168 | //Default Signal Handlers:: |
| 169 | |
| 170 | |
| 171 | }; |
| 172 | |
| 173 | } // namespace Gst |
| 174 | |
| 175 | |
| 176 | namespace Glib |
| 177 | { |
| 178 | /** A Glib::wrap() method for this object. |
| 179 | * |
| 180 | * @param object The C instance. |
| 181 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 182 | * @result A C++ instance that wraps this C instance. |
| 183 | * |
| 184 | * @relates Gst::TypeFindElement |
| 185 | */ |
| 186 | Glib::RefPtr<Gst::TypeFindElement> wrap(GstTypeFindElement* object, bool take_copy = false); |
| 187 | } |
| 188 | |
| 189 | |
| 190 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 191 | |
| 192 | |
| 193 | #endif /* _GSTREAMERMM_TYPEFINDELEMENT_H */ |
| 194 |