| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY! |
| 2 | #ifndef _GSTREAMERMM_GIOSTREAMSRC_H |
| 3 | #define _GSTREAMERMM_GIOSTREAMSRC_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/basesrc.h> |
| 17 | #include <giomm/inputstream.h> |
| 18 | |
| 19 | |
| 20 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 21 | using GstGioStreamSrc = struct _GstGioStreamSrc; |
| 22 | using GstGioStreamSrcClass = struct _GstGioStreamSrcClass; |
| 23 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 24 | |
| 25 | |
| 26 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 27 | namespace Gst |
| 28 | { class GioStreamSrc_Class; } // namespace Gst |
| 29 | #endif //DOXYGEN_SHOULD_SKIP_THIS |
| 30 | |
| 31 | namespace Gst |
| 32 | { |
| 33 | |
| 34 | /** A Wrapper for the giostreamsrc 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 GioStreamSrc |
| 44 | : public Gst::BaseSrc |
| 45 | { |
| 46 | |
| 47 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 48 | |
| 49 | public: |
| 50 | using CppObjectType = GioStreamSrc; |
| 51 | using CppClassType = GioStreamSrc_Class; |
| 52 | using BaseObjectType = GstGioStreamSrc; |
| 53 | using BaseClassType = GstGioStreamSrcClass; |
| 54 | |
| 55 | // noncopyable |
| 56 | GioStreamSrc(const GioStreamSrc&) = delete; |
| 57 | GioStreamSrc& operator=(const GioStreamSrc&) = delete; |
| 58 | |
| 59 | private: friend class GioStreamSrc_Class; |
| 60 | static CppClassType giostreamsrc_class_; |
| 61 | |
| 62 | protected: |
| 63 | explicit GioStreamSrc(const Glib::ConstructParams& construct_params); |
| 64 | explicit GioStreamSrc(GstGioStreamSrc* castitem); |
| 65 | |
| 66 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 67 | |
| 68 | public: |
| 69 | |
| 70 | GioStreamSrc(GioStreamSrc&& src) noexcept; |
| 71 | GioStreamSrc& operator=(GioStreamSrc&& src) noexcept; |
| 72 | |
| 73 | ~GioStreamSrc() 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 | GstGioStreamSrc* gobj() { return reinterpret_cast<GstGioStreamSrc*>(gobject_); } |
| 87 | |
| 88 | ///Provides access to the underlying C GObject. |
| 89 | const GstGioStreamSrc* gobj() const { return reinterpret_cast<GstGioStreamSrc*>(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 | GstGioStreamSrc* gobj_copy(); |
| 93 | |
| 94 | private: |
| 95 | |
| 96 | |
| 97 | protected: |
| 98 | GioStreamSrc(); |
| 99 | explicit GioStreamSrc(const Glib::ustring& name); |
| 100 | |
| 101 | public: |
| 102 | /** Creates a new giostreamsrc plugin with a unique name. |
| 103 | */ |
| 104 | |
| 105 | static Glib::RefPtr<GioStreamSrc> create(); |
| 106 | |
| 107 | |
| 108 | /** Creates a new giostreamsrc plugin with the given name. |
| 109 | */ |
| 110 | |
| 111 | static Glib::RefPtr<GioStreamSrc> create(const Glib::ustring& name); |
| 112 | |
| 113 | |
| 114 | /** Stream to read from. |
| 115 | * |
| 116 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 117 | * or receive notification when the value of the property changes. |
| 118 | */ |
| 119 | Glib::PropertyProxy< Glib::RefPtr<Gio::InputStream> > property_stream() ; |
| 120 | |
| 121 | /** Stream to read from. |
| 122 | * |
| 123 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 124 | * or receive notification when the value of the property changes. |
| 125 | */ |
| 126 | Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::InputStream> > property_stream() const; |
| 127 | |
| 128 | |
| 129 | public: |
| 130 | |
| 131 | public: |
| 132 | //C++ methods used to invoke GTK+ virtual functions: |
| 133 | |
| 134 | protected: |
| 135 | //GTK+ Virtual Functions (override these to change behaviour): |
| 136 | |
| 137 | //Default Signal Handlers:: |
| 138 | |
| 139 | |
| 140 | }; |
| 141 | |
| 142 | } // namespace Gst |
| 143 | |
| 144 | |
| 145 | namespace Glib |
| 146 | { |
| 147 | /** A Glib::wrap() method for this object. |
| 148 | * |
| 149 | * @param object The C instance. |
| 150 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 151 | * @result A C++ instance that wraps this C instance. |
| 152 | * |
| 153 | * @relates Gst::GioStreamSrc |
| 154 | */ |
| 155 | Glib::RefPtr<Gst::GioStreamSrc> wrap(GstGioStreamSrc* object, bool take_copy = false); |
| 156 | } |
| 157 | |
| 158 | |
| 159 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 160 | |
| 161 | |
| 162 | #endif /* _GSTREAMERMM_GIOSTREAMSRC_H */ |
| 163 |