| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/systemclock.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/systemclock.h>cxx . . $ `<file>/gstreamer/gstreamermm/systemclock.h`/ |
| 7 | #include <gstreamermm/private/systemclock_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/systemclock_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2008 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 | #include <gst/gst.h> |
| 30 | |
| 31 | |
| 32 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/systemclock.cc`/ |
| 33 | { |
| 34 | } // anonymous namespace |
| 35 | |
| 36 | |
| 37 | namespace Glibcxx . . $ Glib/ |
| 38 | { |
| 39 | |
| 40 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::SystemClockcxx . . $ Gst/SystemClock#> wrapcxx . . $ Glib/wrap(723be2648452f593).(GstSystemClockcxx . . $ GstSystemClock#* object, bool take_copy) |
| 41 | { |
| 42 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::SystemClockcxx . . $ Gst/SystemClock#>( dynamic_cast<Gstcxx . . $ Gst/::SystemClockcxx . . $ Gst/SystemClock#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 43 | //We use dynamic_cast<> in case of multiple inheritance. |
| 44 | } |
| 45 | |
| 46 | } /* namespace Glib */ |
| 47 | |
| 48 | |
| 49 | namespace Gstcxx . . $ Gst/ |
| 50 | { |
| 51 | |
| 52 | |
| 53 | /* The *_Class implementation: */ |
| 54 | |
| 55 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& SystemClock_Classcxx . . $ Gst/SystemClock_Class#::initcxx . . $ Gst/SystemClock_Class#init(bf348c0cd369184d).() |
| 56 | { |
| 57 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 58 | { |
| 59 | // Glib::Class has to know the class init function to clone custom types. |
| 60 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &SystemClock_Classcxx . . $ Gst/SystemClock_Class#::class_init_functioncxx . . $ Gst/SystemClock_Class#class_init_function(6c58c5e2437d25a2).; |
| 61 | |
| 62 | // This is actually just optimized away, apparently with no harm. |
| 63 | // Make sure that the parent type has been created. |
| 64 | //CppClassParent::CppObjectType::get_type(); |
| 65 | |
| 66 | // Create the wrapper type, with the same class/instance size as the base type. |
| 67 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_system_clock_get_type()); |
| 68 | |
| 69 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 70 | |
| 71 | } |
| 72 | |
| 73 | return *this; |
| 74 | } |
| 75 | |
| 76 | |
| 77 | void SystemClock_Classcxx . . $ Gst/SystemClock_Class#::class_init_functioncxx . . $ Gst/SystemClock_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 78 | { |
| 79 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/SystemClock_Class#BaseClassType#*>(g_class); |
| 80 | CppClassParentcxx . . $ Gst/SystemClock_Class#CppClassParent#::class_init_functioncxx . . $ Gst/Clock_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 81 | |
| 82 | |
| 83 | } |
| 84 | |
| 85 | |
| 86 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* SystemClock_Classcxx . . $ Gst/SystemClock_Class#::wrap_newcxx . . $ Gst/SystemClock_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 87 | { |
| 88 | return new SystemClockcxx . . $ Gst/SystemClock#((GstSystemClockcxx . . $ GstSystemClock#*)object); |
| 89 | } |
| 90 | |
| 91 | |
| 92 | /* The implementation: */ |
| 93 | |
| 94 | GstSystemClockcxx . . $ GstSystemClock#* SystemClockcxx . . $ Gst/SystemClock#::gobj_copycxx . . $ Gst/SystemClock#gobj_copy(8d1abd83b1dd6c3b).() |
| 95 | { |
| 96 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 97 | return gobjcxx . . $ Gst/SystemClock#gobj(8d1abd83b1dd6c3b).(); |
| 98 | } |
| 99 | |
| 100 | SystemClockcxx . . $ Gst/SystemClock#::SystemClockcxx . . $ Gst/SystemClock#SystemClock(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 101 | : |
| 102 | Clockcxx . . $ Gst/Clock#Clock(237165b4a42a691a).(construct_params) |
| 103 | { |
| 104 | |
| 105 | } |
| 106 | |
| 107 | SystemClockcxx . . $ Gst/SystemClock#::SystemClockcxx . . $ Gst/SystemClock#SystemClock(f8d20067ad073946).(GstSystemClockcxx . . $ GstSystemClock#* castitem) |
| 108 | : |
| 109 | Clockcxx . . $ Gst/Clock#Clock(542d9cf6ece1ca11).((GstClockcxx . . $ GstClock#*)(castitem)) |
| 110 | {} |
| 111 | |
| 112 | |
| 113 | SystemClockcxx . . $ Gst/SystemClock#::SystemClockcxx . . $ Gst/SystemClock#SystemClock(961cfbfe057758f0).(SystemClockcxx . . $ Gst/SystemClock#&& src) noexcept |
| 114 | : Clockcxx . . $ Gst/Clock#Clock(b0c78cf6bb8d07ab).(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 115 | {} |
| 116 | |
| 117 | SystemClockcxx . . $ Gst/SystemClock#& SystemClockcxx . . $ Gst/SystemClock#::operatorcxx . . $ Gst/SystemClock#`operator=`(a57f06806f1f1f68).=(SystemClockcxx . . $ Gst/SystemClock#&& src) noexcept |
| 118 | { |
| 119 | Clockcxx . . $ Gst/Clock#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 120 | return *this; |
| 121 | } |
| 122 | |
| 123 | |
| 124 | SystemClockcxx . . $ Gst/SystemClock#::~cxx . . $ Gst/SystemClock#`~SystemClock`(ced63f7c635d850d).SystemClockcxx . . $ Gst/SystemClock#() noexcept |
| 125 | {} |
| 126 | |
| 127 | |
| 128 | SystemClockcxx . . $ Gst/SystemClock#::CppClassTypecxx . . $ Gst/SystemClock#CppClassType# SystemClockcxx . . $ Gst/SystemClock#::systemclock_class_cxx . . $ Gst/SystemClock#systemclock_class_.; // initialize static member |
| 129 | |
| 130 | GType SystemClockcxx . . $ Gst/SystemClock#::get_typecxx . . $ Gst/SystemClock#get_type(f708dce9a8856c70).() |
| 131 | { |
| 132 | return systemclock_class_cxx . . $ Gst/SystemClock#systemclock_class_..initcxx . . $ Gst/SystemClock_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 133 | } |
| 134 | |
| 135 | |
| 136 | GType SystemClockcxx . . $ Gst/SystemClock#::get_base_typecxx . . $ Gst/SystemClock#get_base_type(f708dce9a8856c70).() |
| 137 | { |
| 138 | return gst_system_clock_get_type(); |
| 139 | } |
| 140 | |
| 141 | |
| 142 | SystemClockcxx . . $ Gst/SystemClock#::SystemClockcxx . . $ Gst/SystemClock#SystemClock(49f6e7a06ebc5aa8).() |
| 143 | : |
| 144 | // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 145 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 146 | Clockcxx . . $ Gst/Clock#Clock(237165b4a42a691a).(Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#(systemclock_class_cxx . . $ Gst/SystemClock#systemclock_class_..initcxx . . $ Gst/SystemClock_Class#init(bf348c0cd369184d).())) |
| 147 | { |
| 148 | |
| 149 | |
| 150 | } |
| 151 | |
| 152 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Clockcxx . . $ Gst/Clock#> SystemClockcxx . . $ Gst/SystemClock#::obtaincxx . . $ Gst/SystemClock#obtain(675458b535f1101e).() |
| 153 | { |
| 154 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(72ee10a641f5814b).(gst_system_clock_obtain()); |
| 155 | } |
| 156 | |
| 157 | |
| 158 | } // namespace Gst |
| 159 | |
| 160 |