Debian Codegraph @

gstreamer/gstreamermm/giosrc.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_GIOSRC_H
3 #define _GSTREAMERMM_GIOSRC_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/file.h>
18 #include <gstreamermm/urihandler.h>
19
20
21 #ifndef DOXYGEN_SHOULD_SKIP_THIS
22 using GstGioSrc = struct _GstGioSrc;
23 using GstGioSrcClass = struct _GstGioSrcClass;
24 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
25
26
27 #ifndef DOXYGEN_SHOULD_SKIP_THIS
28 namespace Gst
29 { class GioSrc_Class; } // namespace Gst
30 #endif //DOXYGEN_SHOULD_SKIP_THIS
31
32 namespace Gst
33 {
34
35 /** A Wrapper for the giosrc plugin.
36 * Please note that not all plug-ins are available on all systems so care
37 * must be taken that they exist before they are used otherwise there will
38 * be errors and possibly a crash.
39 *
40 * @ingroup GstPlugins
41 * @deprecated Plugins API is deprecated, and should not be used in a new code.
42 */
43
44 class GioSrc
45 : public Gst::BaseSrc, public Gst::URIHandler
46 {
47
48 #ifndef DOXYGEN_SHOULD_SKIP_THIS
49
50 public:
51 using CppObjectType = GioSrc;
52 using CppClassType = GioSrc_Class;
53 using BaseObjectType = GstGioSrc;
54 using BaseClassType = GstGioSrcClass;
55
56 // noncopyable
57 GioSrc(const GioSrc&) = delete;
58 GioSrc& operator=(const GioSrc&) = delete;
59
60 private: friend class GioSrc_Class;
61 static CppClassType giosrc_class_;
62
63 protected:
64 explicit GioSrc(const Glib::ConstructParams& construct_params);
65 explicit GioSrc(GstGioSrc* castitem);
66
67 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
68
69 public:
70
71 GioSrc(GioSrc&& src) noexcept;
72 GioSrc& operator=(GioSrc&& src) noexcept;
73
74 ~GioSrc() noexcept override;
75
76 /** Get the GType for this class, for use with the underlying GObject type system.
77 */
78 static GType get_type() G_GNUC_CONST;
79
80 #ifndef DOXYGEN_SHOULD_SKIP_THIS
81
82
83 static GType get_base_type() G_GNUC_CONST;
84 #endif
85
86 ///Provides access to the underlying C GObject.
87 GstGioSrc* gobj() { return reinterpret_cast<GstGioSrc*>(gobject_); }
88
89 ///Provides access to the underlying C GObject.
90 const GstGioSrc* gobj() const { return reinterpret_cast<GstGioSrc*>(gobject_); }
91
92 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
93 GstGioSrc* gobj_copy();
94
95 private:
96
97
98 protected:
99 GioSrc();
100 explicit GioSrc(const Glib::ustring& name);
101
102 public:
103 /** Creates a new giosrc plugin with a unique name.
104 */
105
106 static Glib::RefPtr<GioSrc> create();
107
108
109 /** Creates a new giosrc plugin with the given name.
110 */
111
112 static Glib::RefPtr<GioSrc> create(const Glib::ustring& name);
113
114
115 /** URI location to read from.
116 *
117 * @return A PropertyProxy that allows you to get or set the value of the property,
118 * or receive notification when the value of the property changes.
119 */
120 Glib::PropertyProxy< Glib::ustring > property_location() ;
121
122 /** URI location to read from.
123 *
124 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
125 * or receive notification when the value of the property changes.
126 */
127 Glib::PropertyProxy_ReadOnly< Glib::ustring > property_location() const;
128
129 /** GFile to read from.
130 *
131 * @return A PropertyProxy that allows you to get or set the value of the property,
132 * or receive notification when the value of the property changes.
133 */
134 Glib::PropertyProxy< Glib::RefPtr<Gio::File> > property_file() ;
135
136 /** GFile to read from.
137 *
138 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
139 * or receive notification when the value of the property changes.
140 */
141 Glib::PropertyProxy_ReadOnly< Glib::RefPtr<Gio::File> > property_file() const;
142
143
144 public:
145
146 public:
147 //C++ methods used to invoke GTK+ virtual functions:
148
149 protected:
150 //GTK+ Virtual Functions (override these to change behaviour):
151
152 //Default Signal Handlers::
153
154
155 };
156
157 } // namespace Gst
158
159
160 namespace Glib
161 {
162 /** A Glib::wrap() method for this object.
163 *
164 * @param object The C instance.
165 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
166 * @result A C++ instance that wraps this C instance.
167 *
168 * @relates Gst::GioSrc
169 */
170 Glib::RefPtr<Gst::GioSrc> wrap(GstGioSrc* object, bool take_copy = false);
171 }
172
173
174 #endif // GSTREAMERMM_DISABLE_DEPRECATED
175
176
177 #endif /* _GSTREAMERMM_GIOSRC_H */
178