Debian Codegraph @

gstreamer/gstreamermm/fdsink.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!
2 #ifndef _GSTREAMERMM_FDSINK_H
3 #define _GSTREAMERMM_FDSINK_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/basesink.h>
17 #include <gstreamermm/urihandler.h>
18
19
20 #ifndef DOXYGEN_SHOULD_SKIP_THIS
21 using GstFdSink = struct _GstFdSink;
22 using GstFdSinkClass = struct _GstFdSinkClass;
23 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
24
25
26 #ifndef DOXYGEN_SHOULD_SKIP_THIS
27 namespace Gst
28 { class FdSink_Class; } // namespace Gst
29 #endif //DOXYGEN_SHOULD_SKIP_THIS
30
31 namespace Gst
32 {
33
34 /** A Wrapper for the fdsink 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 FdSink
44 : public Gst::BaseSink, public Gst::URIHandler
45 {
46
47 #ifndef DOXYGEN_SHOULD_SKIP_THIS
48
49 public:
50 using CppObjectType = FdSink;
51 using CppClassType = FdSink_Class;
52 using BaseObjectType = GstFdSink;
53 using BaseClassType = GstFdSinkClass;
54
55 // noncopyable
56 FdSink(const FdSink&) = delete;
57 FdSink& operator=(const FdSink&) = delete;
58
59 private: friend class FdSink_Class;
60 static CppClassType fdsink_class_;
61
62 protected:
63 explicit FdSink(const Glib::ConstructParams& construct_params);
64 explicit FdSink(GstFdSink* castitem);
65
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
67
68 public:
69
70 FdSink(FdSink&& src) noexcept;
71 FdSink& operator=(FdSink&& src) noexcept;
72
73 ~FdSink() 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 GstFdSink* gobj() { return reinterpret_cast<GstFdSink*>(gobject_); }
87
88 ///Provides access to the underlying C GObject.
89 const GstFdSink* gobj() const { return reinterpret_cast<GstFdSink*>(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 GstFdSink* gobj_copy();
93
94 private:
95
96
97 protected:
98 FdSink();
99 explicit FdSink(const Glib::ustring& name);
100
101 public:
102 /** Creates a new fdsink plugin with a unique name.
103 */
104
105 static Glib::RefPtr<FdSink> create();
106
107
108 /** Creates a new fdsink plugin with the given name.
109 */
110
111 static Glib::RefPtr<FdSink> create(const Glib::ustring& name);
112
113
114 /** An open file descriptor to write to.
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 write to.
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
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::FdSink
154 */
155 Glib::RefPtr<Gst::FdSink> wrap(GstFdSink* object, bool take_copy = false);
156 }
157
158
159 #endif // GSTREAMERMM_DISABLE_DEPRECATED
160
161
162 #endif /* _GSTREAMERMM_FDSINK_H */
163