Debian Codegraph @

gstreamer/gstreamermm/netclientclock.h

raw symbols SCIP
1 // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/netclientclock.h`/
2 #ifndef _GSTREAMERMM_NETCLIENTCLOCK_H
3 #define _GSTREAMERMM_NETCLIENTCLOCK_Hcxx . . $ `gstreamer/gstreamermm/netclientclock.h:3:9`!
4
5
6 #include <glibmm/ustring.h>
7 #include <sigc++/sigc++.h>
8
9 /* gstreamermm - a C++ wrapper for gstreamer
10 *
11 * Copyright 2016 The gstreamermm Development Team
12 *
13 * This library is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU Lesser General Public
15 * License as published by the Free Software Foundation; either
16 * version 2.1 of the License, or (at your option) any later version.
17 *
18 * This library is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
21 * Lesser General Public License for more details.
22 *
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the Free
25 * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 */
27
28 #include <gstreamermm/systemclock.h>cxx . . $ `<file>/gstreamer/gstreamermm/systemclock.h`/
29
30
31 #ifndef DOXYGEN_SHOULD_SKIP_THIS
32 using GstNetClientClockcxx . . $ GstNetClientClock# = struct _GstNetClientClockcxx . . $ _GstNetClientClock#;
33 using GstNetClientClockClasscxx . . $ GstNetClientClockClass# = struct _GstNetClientClockClasscxx . . $ _GstNetClientClockClass#;
34 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
35
36
37 #ifndef DOXYGEN_SHOULD_SKIP_THIS
38 namespace Gstcxx . . $ Gst/
39 { class NetClientClock_Classcxx . . $ Gst/NetClientClock_Class#; } // namespace Gst
40 #endif //DOXYGEN_SHOULD_SKIP_THIS
41
42 namespace Gstcxx . . $ Gst/
43 {
44
45 class Buscxx . . $ Gst/Bus#;
46
47 /** Special clock that synchronizes to a remote time provider.
48 *
49 * Gst::NetClientClock implements a custom Gst::Clock that synchronizes its time
50 * to a remote time provider such as Gst::NetTimeProvider. Gst::NtpClock
51 * implements a Gst::Clock that synchronizes its time to a remote NTPv4 server.
52 *
53 * A new clock is created with create() or gst_ntp_clock_new(), which takes
54 * the address and port of the remote time provider along with a name and an
55 * initial time.
56 *
57 * This clock will poll the time provider and will update its calibration
58 * parameters based on the local and remote observations.
59 *
60 * The "round-trip" property limits the maximum round trip packets can take.
61 *
62 * Various parameters of the clock can be configured with the parent Gst::Clock
63 * "timeout", "window-size" and "window-threshold" object properties.
64 *
65 * A Gst::NetClientClock and Gst::NtpClock is typically set on a Gst::Pipeline with
66 * Gst::Pipeline::use_clock().
67 *
68 * If you set a Gst::Bus on the clock via the "bus" object property, it will
69 * send Gst::MESSAGE_ELEMENT messages with an attached Gst::Structure containing
70 * statistics about clock accuracy and network traffic.
71 *
72 * Last reviewed on 2016-12-02 (1.8.1)
73 */
74
75 class NetClientClockcxx . . $ Gst/NetClientClock# : public SystemClockcxx . . $ Gst/SystemClock#
76 {
77
78 #ifndef DOXYGEN_SHOULD_SKIP_THIS
79
80 public:
81 using CppObjectTypecxx . . $ Gst/NetClientClock#CppObjectType# = NetClientClockcxx . . $ Gst/NetClientClock#;
82 using CppClassTypecxx . . $ Gst/NetClientClock#CppClassType# = NetClientClock_Classcxx . . $ Gst/NetClientClock_Class#;
83 using BaseObjectTypecxx . . $ Gst/NetClientClock#BaseObjectType# = GstNetClientClockcxx . . $ GstNetClientClock#;
84 using BaseClassTypecxx . . $ Gst/NetClientClock#BaseClassType# = GstNetClientClockClasscxx . . $ GstNetClientClockClass#;
85
86 // noncopyable
87 NetClientClockcxx . . $ Gst/NetClientClock#NetClientClock(b5d1f79977d9110b).(const NetClientClockcxx . . $ Gst/NetClientClock#&) = delete;
88 NetClientClockcxx . . $ Gst/NetClientClock#& operatorcxx . . $ Gst/NetClientClock#`operator=`(1c266bc396491698).=(const NetClientClockcxx . . $ Gst/NetClientClock#&) = delete;
89
90 private: friend class NetClientClock_Classcxx . . $ Gst/NetClientClock_Class#;
91 static CppClassTypecxx . . $ Gst/NetClientClock#CppClassType# netclientclock_class_cxx . . $ Gst/NetClientClock#netclientclock_class_.;
92
93 protected:
94 explicit NetClientClockcxx . . $ Gst/NetClientClock#NetClientClock(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params);
95 explicit NetClientClockcxx . . $ Gst/NetClientClock#NetClientClock(abee2f1b7e1a4bbe).(GstNetClientClockcxx . . $ GstNetClientClock#* castitem);
96
97 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
98
99 public:
100
101 NetClientClockcxx . . $ Gst/NetClientClock#NetClientClock(fa39783a0681b9db).(NetClientClockcxx . . $ Gst/NetClientClock#&& src) noexcept;
102 NetClientClockcxx . . $ Gst/NetClientClock#& operatorcxx . . $ Gst/NetClientClock#`operator=`(45ec65473b474c5a).=(NetClientClockcxx . . $ Gst/NetClientClock#&& src) noexcept;
103
104 ~cxx . . $ Gst/NetClientClock#`~NetClientClock`(ced63f7c635d850d).NetClientClockcxx . . $ Gst/NetClientClock#() noexcept override;
105
106 /** Get the GType for this class, for use with the underlying GObject type system.
107 */
108 static GType get_typecxx . . $ Gst/NetClientClock#get_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!;
109
110 #ifndef DOXYGEN_SHOULD_SKIP_THIS
111
112
113 static GType get_base_typecxx . . $ Gst/NetClientClock#get_base_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `<external>/12741050725406041920/gmacros.h:640:9`!;
114 #endif
115
116 ///Provides access to the underlying C GObject.
117 GstNetClientClockcxx . . $ GstNetClientClock#* gobjcxx . . $ Gst/NetClientClock#gobj(5bf953bf3c5b1b4b).() { return reinterpret_cast<GstNetClientClockcxx . . $ GstNetClientClock#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); }
118
119 ///Provides access to the underlying C GObject.
120 const GstNetClientClockcxx . . $ GstNetClientClock#* gobjcxx . . $ Gst/NetClientClock#gobj(568c4fc67ba111a1).() const { return reinterpret_cast<GstNetClientClockcxx . . $ GstNetClientClock#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); }
121
122 ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
123 GstNetClientClockcxx . . $ GstNetClientClock#* gobj_copycxx . . $ Gst/NetClientClock#gobj_copy(5bf953bf3c5b1b4b).();
124
125 private:
126
127
128 protected:
129 NetClientClockcxx . . $ Gst/NetClientClock#NetClientClock(2be875a9d74e6fad).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& address, int remote_port, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# base_time);
130
131 public:
132
133 static Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<NetClientClockcxx . . $ Gst/NetClientClock#> createcxx . . $ Gst/NetClientClock#create(f43fe440ccc1247d).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& remote_address, int remote_port, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# base_time);
134
135
136 /** The IP address of the machine providing a time server.
137 *
138 * @return A PropertyProxy that allows you to get or set the value of the property,
139 * or receive notification when the value of the property changes.
140 */
141 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > property_addresscxx . . $ Gst/NetClientClock#property_address(ee255b09b2ef680a).() ;
142
143 /** The IP address of the machine providing a time server.
144 *
145 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
146 * or receive notification when the value of the property changes.
147 */
148 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > property_addresscxx . . $ Gst/NetClientClock#property_address(a4e4efe7e17f9e88).() const;
149
150 /** Initial time that is reported before synchronization.
151 *
152 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
153 * or receive notification when the value of the property changes.
154 */
155 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > property_base_timecxx . . $ Gst/NetClientClock#property_base_time(626cd103ac35282).() const;
156
157
158 /** A GstBus on which to send clock status information.
159 *
160 * @return A PropertyProxy that allows you to get or set the value of the property,
161 * or receive notification when the value of the property changes.
162 */
163 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> > property_buscxx . . $ Gst/NetClientClock#property_bus(1bf2f378c829ce2a).() ;
164
165 /** A GstBus on which to send clock status information.
166 *
167 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
168 * or receive notification when the value of the property changes.
169 */
170 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> > property_buscxx . . $ Gst/NetClientClock#property_bus(74a15922029c7143).() const;
171
172 /** Internal clock that directly slaved to the remote clock.
173 *
174 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
175 * or receive notification when the value of the property changes.
176 */
177 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> > property_internal_clockcxx . . $ Gst/NetClientClock#property_internal_clock(83427df7b37ce0dd).() const;
178
179
180 /** Minimum polling interval for packets, in nanoseconds(0 = no limit).
181 *
182 * @return A PropertyProxy that allows you to get or set the value of the property,
183 * or receive notification when the value of the property changes.
184 */
185 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 > property_minimum_update_intervalcxx . . $ Gst/NetClientClock#property_minimum_update_interval(d486e8c449033ce8).() ;
186
187 /** Minimum polling interval for packets, in nanoseconds(0 = no limit).
188 *
189 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
190 * or receive notification when the value of the property changes.
191 */
192 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > property_minimum_update_intervalcxx . . $ Gst/NetClientClock#property_minimum_update_interval(626cd103ac35282).() const;
193
194 /** The port on which the remote server is listening.
195 *
196 * @return A PropertyProxy that allows you to get or set the value of the property,
197 * or receive notification when the value of the property changes.
198 */
199 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< int > property_portcxx . . $ Gst/NetClientClock#property_port(bf3998fdb218c766).() ;
200
201 /** The port on which the remote server is listening.
202 *
203 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
204 * or receive notification when the value of the property changes.
205 */
206 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int > property_portcxx . . $ Gst/NetClientClock#property_port(7e9006e11d14f0d6).() const;
207
208 /** Maximum tolerable round-trip interval for packets, in nanoseconds (0 = no limit).
209 *
210 * @return A PropertyProxy that allows you to get or set the value of the property,
211 * or receive notification when the value of the property changes.
212 */
213 Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 > property_round_trip_limitcxx . . $ Gst/NetClientClock#property_round_trip_limit(d486e8c449033ce8).() ;
214
215 /** Maximum tolerable round-trip interval for packets, in nanoseconds (0 = no limit).
216 *
217 * @return A PropertyProxy_ReadOnly that allows you to get the value of the property,
218 * or receive notification when the value of the property changes.
219 */
220 Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > property_round_trip_limitcxx . . $ Gst/NetClientClock#property_round_trip_limit(626cd103ac35282).() const;
221
222
223 public:
224
225 public:
226 //C++ methods used to invoke GTK+ virtual functions:
227
228 protected:
229 //GTK+ Virtual Functions (override these to change behaviour):
230
231 //Default Signal Handlers::
232
233
234 };
235
236 } //namespace Gst
237
238
239 namespace Glibcxx . . $ Glib/
240 {
241 /** A Glib::wrap() method for this object.
242 *
243 * @param object The C instance.
244 * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref.
245 * @result A C++ instance that wraps this C instance.
246 *
247 * @relates Gst::NetClientClock
248 */
249 Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::NetClientClockcxx . . $ Gst/NetClientClock#> wrapcxx . . $ Glib/wrap(127cbf3689047841).(GstNetClientClockcxx . . $ GstNetClientClock#* object, bool take_copy = false);
250 }
251
252
253 #endif /* _GSTREAMERMM_NETCLIENTCLOCK_H */
254