| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/netclientclock.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/netclientclock.h>cxx . . $ `<file>/gstreamer/gstreamermm/netclientclock.h`/ |
| 7 | #include <gstreamermm/private/netclientclock_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/netclientclock_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2016 The gstreamermm Development Team |
| 13 | * |
| 14 | * This library is free software; you can redistribute it and/or |
| 15 | * modify it under the terms of the GNU Lesser General Public |
| 16 | * License as published by the Free Software Foundation; either |
| 17 | * version 2.1 of the License, or (at your option) any later version. |
| 18 | * |
| 19 | * This library is distributed in the hope that it will be useful, |
| 20 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 21 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 22 | * Lesser General Public License for more details. |
| 23 | * |
| 24 | * You should have received a copy of the GNU Lesser General Public |
| 25 | * License along with this library; if not, write to the Free |
| 26 | * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
| 27 | */ |
| 28 | |
| 29 | |
| 30 | #include <gstreamermm/bus.h>cxx . . $ `<file>/gstreamer/gstreamermm/bus.h`/ |
| 31 | #include <gst/net/gstnet.h> |
| 32 | |
| 33 | namespace Gstcxx . . $ Gst/ |
| 34 | { |
| 35 | |
| 36 | NetClientClockcxx . . $ Gst/NetClientClock#::NetClientClockcxx . . $ Gst/NetClientClock#NetClientClock(2be875a9d74e6fad).(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) |
| 37 | : |
| 38 | // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 39 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 40 | SystemClockcxx . . $ Gst/SystemClock#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(netclientclock_class_cxx . . $ Gst/NetClientClock#netclientclock_class_..initcxx . . $ Gst/NetClientClock_Class#init(bf348c0cd369184d).(), "name",name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(),"address",remote_address.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(),"port",remote_port,"base-time",static_cast<GstClockTime>(base_time), nullptr)) |
| 41 | {} |
| 42 | |
| 43 | } |
| 44 | |
| 45 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/netclientclock.cc`/ |
| 46 | { |
| 47 | } // anonymous namespace |
| 48 | |
| 49 | |
| 50 | namespace Glibcxx . . $ Glib/ |
| 51 | { |
| 52 | |
| 53 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::NetClientClockcxx . . $ Gst/NetClientClock#> wrapcxx . . $ Glib/wrap(127cbf3689047841).(GstNetClientClockcxx . . $ GstNetClientClock#* object, bool take_copy) |
| 54 | { |
| 55 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::NetClientClockcxx . . $ Gst/NetClientClock#>( dynamic_cast<Gstcxx . . $ Gst/::NetClientClockcxx . . $ Gst/NetClientClock#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 56 | //We use dynamic_cast<> in case of multiple inheritance. |
| 57 | } |
| 58 | |
| 59 | } /* namespace Glib */ |
| 60 | |
| 61 | |
| 62 | namespace Gstcxx . . $ Gst/ |
| 63 | { |
| 64 | |
| 65 | |
| 66 | /* The *_Class implementation: */ |
| 67 | |
| 68 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& NetClientClock_Classcxx . . $ Gst/NetClientClock_Class#::initcxx . . $ Gst/NetClientClock_Class#init(bf348c0cd369184d).() |
| 69 | { |
| 70 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 71 | { |
| 72 | // Glib::Class has to know the class init function to clone custom types. |
| 73 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &NetClientClock_Classcxx . . $ Gst/NetClientClock_Class#::class_init_functioncxx . . $ Gst/NetClientClock_Class#class_init_function(6c58c5e2437d25a2).; |
| 74 | |
| 75 | // This is actually just optimized away, apparently with no harm. |
| 76 | // Make sure that the parent type has been created. |
| 77 | //CppClassParent::CppObjectType::get_type(); |
| 78 | |
| 79 | // Create the wrapper type, with the same class/instance size as the base type. |
| 80 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_net_client_clock_get_type()); |
| 81 | |
| 82 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 83 | |
| 84 | } |
| 85 | |
| 86 | return *this; |
| 87 | } |
| 88 | |
| 89 | |
| 90 | void NetClientClock_Classcxx . . $ Gst/NetClientClock_Class#::class_init_functioncxx . . $ Gst/NetClientClock_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 91 | { |
| 92 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/NetClientClock_Class#BaseClassType#*>(g_class); |
| 93 | CppClassParentcxx . . $ Gst/NetClientClock_Class#CppClassParent#::class_init_functioncxx . . $ Gst/SystemClock_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 94 | |
| 95 | |
| 96 | } |
| 97 | |
| 98 | |
| 99 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* NetClientClock_Classcxx . . $ Gst/NetClientClock_Class#::wrap_newcxx . . $ Gst/NetClientClock_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 100 | { |
| 101 | return new NetClientClockcxx . . $ Gst/NetClientClock#((GstNetClientClockcxx . . $ GstNetClientClock#*)object); |
| 102 | } |
| 103 | |
| 104 | |
| 105 | /* The implementation: */ |
| 106 | |
| 107 | GstNetClientClockcxx . . $ GstNetClientClock#* NetClientClockcxx . . $ Gst/NetClientClock#::gobj_copycxx . . $ Gst/NetClientClock#gobj_copy(5bf953bf3c5b1b4b).() |
| 108 | { |
| 109 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 110 | return gobjcxx . . $ Gst/NetClientClock#gobj(5bf953bf3c5b1b4b).(); |
| 111 | } |
| 112 | |
| 113 | NetClientClockcxx . . $ Gst/NetClientClock#::NetClientClockcxx . . $ Gst/NetClientClock#NetClientClock(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 114 | : |
| 115 | SystemClockcxx . . $ Gst/SystemClock#(construct_params) |
| 116 | { |
| 117 | |
| 118 | } |
| 119 | |
| 120 | NetClientClockcxx . . $ Gst/NetClientClock#::NetClientClockcxx . . $ Gst/NetClientClock#NetClientClock(abee2f1b7e1a4bbe).(GstNetClientClockcxx . . $ GstNetClientClock#* castitem) |
| 121 | : |
| 122 | SystemClockcxx . . $ Gst/SystemClock#((GstSystemClockcxx . . $ GstSystemClock#*)(castitem)) |
| 123 | {} |
| 124 | |
| 125 | |
| 126 | NetClientClockcxx . . $ Gst/NetClientClock#::NetClientClockcxx . . $ Gst/NetClientClock#NetClientClock(fa39783a0681b9db).(NetClientClockcxx . . $ Gst/NetClientClock#&& src) noexcept |
| 127 | : SystemClockcxx . . $ Gst/SystemClock#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 128 | {} |
| 129 | |
| 130 | NetClientClockcxx . . $ Gst/NetClientClock#& NetClientClockcxx . . $ Gst/NetClientClock#::operatorcxx . . $ Gst/NetClientClock#`operator=`(45ec65473b474c5a).=(NetClientClockcxx . . $ Gst/NetClientClock#&& src) noexcept |
| 131 | { |
| 132 | SystemClockcxx . . $ Gst/SystemClock#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 133 | return *this; |
| 134 | } |
| 135 | |
| 136 | |
| 137 | NetClientClockcxx . . $ Gst/NetClientClock#::~cxx . . $ Gst/NetClientClock#`~NetClientClock`(ced63f7c635d850d).NetClientClockcxx . . $ Gst/NetClientClock#() noexcept |
| 138 | {} |
| 139 | |
| 140 | |
| 141 | NetClientClockcxx . . $ Gst/NetClientClock#::CppClassTypecxx . . $ Gst/NetClientClock#CppClassType# NetClientClockcxx . . $ Gst/NetClientClock#::netclientclock_class_cxx . . $ Gst/NetClientClock#netclientclock_class_.; // initialize static member |
| 142 | |
| 143 | GType NetClientClockcxx . . $ Gst/NetClientClock#::get_typecxx . . $ Gst/NetClientClock#get_type(f708dce9a8856c70).() |
| 144 | { |
| 145 | return netclientclock_class_cxx . . $ Gst/NetClientClock#netclientclock_class_..initcxx . . $ Gst/NetClientClock_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 146 | } |
| 147 | |
| 148 | |
| 149 | GType NetClientClockcxx . . $ Gst/NetClientClock#::get_base_typecxx . . $ Gst/NetClientClock#get_base_type(f708dce9a8856c70).() |
| 150 | { |
| 151 | return gst_net_client_clock_get_type(); |
| 152 | } |
| 153 | |
| 154 | |
| 155 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<NetClientClockcxx . . $ Gst/NetClientClock#> 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) |
| 156 | { |
| 157 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<NetClientClockcxx . . $ Gst/NetClientClock#>( new NetClientClockcxx . . $ Gst/NetClientClock#(name, remote_address, remote_port, base_time) ); |
| 158 | } |
| 159 | |
| 160 | |
| 161 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > NetClientClockcxx . . $ Gst/NetClientClock#::property_addresscxx . . $ Gst/NetClientClock#property_address(ee255b09b2ef680a).() |
| 162 | { |
| 163 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# >(this, "address"); |
| 164 | } |
| 165 | |
| 166 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > NetClientClockcxx . . $ Gst/NetClientClock#::property_addresscxx . . $ Gst/NetClientClock#property_address(a4e4efe7e17f9e88).() const |
| 167 | { |
| 168 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# >(this, "address"); |
| 169 | } |
| 170 | |
| 171 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > NetClientClockcxx . . $ Gst/NetClientClock#::property_base_timecxx . . $ Gst/NetClientClock#property_base_time(626cd103ac35282).() const |
| 172 | { |
| 173 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "base-time"); |
| 174 | } |
| 175 | |
| 176 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> > NetClientClockcxx . . $ Gst/NetClientClock#::property_buscxx . . $ Gst/NetClientClock#property_bus(1bf2f378c829ce2a).() |
| 177 | { |
| 178 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> >(this, "bus"); |
| 179 | } |
| 180 | |
| 181 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> > NetClientClockcxx . . $ Gst/NetClientClock#::property_buscxx . . $ Gst/NetClientClock#property_bus(74a15922029c7143).() const |
| 182 | { |
| 183 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buscxx . . $ Gst/Bus#> >(this, "bus"); |
| 184 | } |
| 185 | |
| 186 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> > NetClientClockcxx . . $ Gst/NetClientClock#::property_internal_clockcxx . . $ Gst/NetClientClock#property_internal_clock(83427df7b37ce0dd).() const |
| 187 | { |
| 188 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> >(this, "internal-clock"); |
| 189 | } |
| 190 | |
| 191 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 > NetClientClockcxx . . $ Gst/NetClientClock#::property_minimum_update_intervalcxx . . $ Gst/NetClientClock#property_minimum_update_interval(d486e8c449033ce8).() |
| 192 | { |
| 193 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 >(this, "minimum-update-interval"); |
| 194 | } |
| 195 | |
| 196 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > NetClientClockcxx . . $ Gst/NetClientClock#::property_minimum_update_intervalcxx . . $ Gst/NetClientClock#property_minimum_update_interval(626cd103ac35282).() const |
| 197 | { |
| 198 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "minimum-update-interval"); |
| 199 | } |
| 200 | |
| 201 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< int > NetClientClockcxx . . $ Gst/NetClientClock#::property_portcxx . . $ Gst/NetClientClock#property_port(bf3998fdb218c766).() |
| 202 | { |
| 203 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< int >(this, "port"); |
| 204 | } |
| 205 | |
| 206 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int > NetClientClockcxx . . $ Gst/NetClientClock#::property_portcxx . . $ Gst/NetClientClock#property_port(7e9006e11d14f0d6).() const |
| 207 | { |
| 208 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< int >(this, "port"); |
| 209 | } |
| 210 | |
| 211 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 > NetClientClockcxx . . $ Gst/NetClientClock#::property_round_trip_limitcxx . . $ Gst/NetClientClock#property_round_trip_limit(d486e8c449033ce8).() |
| 212 | { |
| 213 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint64 >(this, "round-trip-limit"); |
| 214 | } |
| 215 | |
| 216 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 > NetClientClockcxx . . $ Gst/NetClientClock#::property_round_trip_limitcxx . . $ Gst/NetClientClock#property_round_trip_limit(626cd103ac35282).() const |
| 217 | { |
| 218 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint64 >(this, "round-trip-limit"); |
| 219 | } |
| 220 | |
| 221 | |
| 222 | } // namespace Gst |
| 223 | |
| 224 |