Debian Codegraph @

gstreamer/gstreamermm/fdsrc.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_FDSRC_H
3 #define _GSTREAMERMM_FDSRC_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/pushsrc.h>
17 #include <gstreamermm/urihandler.h>
18
19
20 #ifndef DOXYGEN_SHOULD_SKIP_THIS
21 using GstFdSrc = struct _GstFdSrc;
22 using GstFdSrcClass = struct _GstFdSrcClass;
23 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
24
25
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 namespace Gst
28 { class FdSrc_Class; } // namespace Gst
29 #endif //DOXYGEN_SHOULD_SKIP_THIS
30
31 namespace Gst
32 {
33
34 /** A Wrapper for the fdsrc 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 FdSrc
44 : public Gst::PushSrc, public Gst::URIHandler
45 {
46
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS
48
49 public:
50 using CppObjectType = FdSrc;
51 using CppClassType = FdSrc_Class;
52 using BaseObjectType = GstFdSrc;
53 using BaseClassType = GstFdSrcClass;
54
55 // noncopyable
56 FdSrc(const FdSrc&) = delete;
57 FdSrc& operator=(const FdSrc&) = delete;
58
59 private: friend class FdSrc_Class;
60 static CppClassType fdsrc_class_;
61
62 protected:
63 explicit FdSrc(const Glib::ConstructParams& construct_params);
64 explicit FdSrc(GstFdSrc* castitem);
65
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
67
68 public:
69
70 FdSrc(FdSrc&& src) noexcept;
71 FdSrc& operator=(FdSrc&& src) noexcept;
72
73 ~FdSrc() 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 GstFdSrc* gobj() { return reinterpret_cast<GstFdSrc*>(gobject_); }
87
88 ///Provides access to the underlying C GObject.
89 const GstFdSrc* gobj() const { return reinterpret_cast<GstFdSrc*>(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 GstFdSrc* gobj_copy();
93
94 private:
95
96
97 protected:
98 FdSrc();
99 explicit FdSrc(const Glib::ustring& name);
100
101 public:
102 /** Creates a new fdsrc plugin with a unique name.
103 */
104
105 static Glib::RefPtr<FdSrc> create();
106
107
108 /** Creates a new fdsrc plugin with the given name.
109 */
110
111 static Glib::RefPtr<FdSrc> create(const Glib::ustring& name);
112
113
114 /** An open file descriptor 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< int > property_fd() ;
120
121 /** An open file descriptor 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< int > property_fd() const;
127
128 /** Post a message after timeout microseconds (0 = disabled).
129 *
130 * @return A PropertyProxy that allows you to get or set the value of the property,
131 * or receive notification when the value of the property changes.
132 */
133 Glib::PropertyProxy< guint64 > property_timeout() ;
134
135 /** Post a message after timeout microseconds (0 = disabled).
136 *
137 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
138 * or receive notification when the value of the property changes.
139 */
140 Glib::PropertyProxy_ReadOnly< guint64 > property_timeout() const;
141
142
143 public:
144
145 public:
146 //C++ methods used to invoke GTK+ virtual functions:
147
148 protected:
149 //GTK+ Virtual Functions (override these to change behaviour):
150
151 //Default Signal Handlers::
152
153
154 };
155
156 } // namespace Gst
157
158
159 namespace Glib
160 {
161 /** A Glib::wrap() method for this object.
162 *
163 * @param object The C instance.
164 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
165 * @result A C++ instance that wraps this C instance.
166 *
167 * @relates Gst::FdSrc
168 */
169 Glib::RefPtr<Gst::FdSrc> wrap(GstFdSrc* object, bool take_copy = false);
170 }
171
172
173 #endif // GSTREAMERMM_DISABLE_DEPRECATED
174
175
176 #endif /* _GSTREAMERMM_FDSRC_H */
177