Debian Codegraph @

gstreamer/gstreamermm/timeoverlay.h

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