| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/pushsrc.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/pushsrc.h>cxx . . $ `<file>/gstreamer/gstreamermm/pushsrc.h`/ |
| 7 | #include <gstreamermm/private/pushsrc_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/pushsrc_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 | |
| 30 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/pushsrc.cc`/ |
| 31 | { |
| 32 | } // anonymous namespace |
| 33 | |
| 34 | |
| 35 | namespace Glibcxx . . $ Glib/ |
| 36 | { |
| 37 | |
| 38 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PushSrccxx . . $ Gst/PushSrc#> wrapcxx . . $ Glib/wrap(f2a835a50770590f).(GstPushSrccxx . . $ GstPushSrc#* object, bool take_copy) |
| 39 | { |
| 40 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::PushSrccxx . . $ Gst/PushSrc#>( dynamic_cast<Gstcxx . . $ Gst/::PushSrccxx . . $ Gst/PushSrc#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 41 | //We use dynamic_cast<> in case of multiple inheritance. |
| 42 | } |
| 43 | |
| 44 | } /* namespace Glib */ |
| 45 | |
| 46 | |
| 47 | namespace Gstcxx . . $ Gst/ |
| 48 | { |
| 49 | |
| 50 | |
| 51 | /* The *_Class implementation: */ |
| 52 | |
| 53 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& PushSrc_Classcxx . . $ Gst/PushSrc_Class#::initcxx . . $ Gst/PushSrc_Class#init(bf348c0cd369184d).() |
| 54 | { |
| 55 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 56 | { |
| 57 | // Glib::Class has to know the class init function to clone custom types. |
| 58 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &PushSrc_Classcxx . . $ Gst/PushSrc_Class#::class_init_functioncxx . . $ Gst/PushSrc_Class#class_init_function(6c58c5e2437d25a2).; |
| 59 | |
| 60 | // This is actually just optimized away, apparently with no harm. |
| 61 | // Make sure that the parent type has been created. |
| 62 | //CppClassParent::CppObjectType::get_type(); |
| 63 | |
| 64 | // Create the wrapper type, with the same class/instance size as the base type. |
| 65 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_push_src_get_type()); |
| 66 | |
| 67 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 68 | |
| 69 | } |
| 70 | |
| 71 | return *this; |
| 72 | } |
| 73 | |
| 74 | |
| 75 | void PushSrc_Classcxx . . $ Gst/PushSrc_Class#::class_init_functioncxx . . $ Gst/PushSrc_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 76 | { |
| 77 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/PushSrc_Class#BaseClassType#*>(g_class); |
| 78 | CppClassParentcxx . . $ Gst/PushSrc_Class#CppClassParent#::class_init_functioncxx . . $ Gst/BaseSrc_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 79 | |
| 80 | |
| 81 | } |
| 82 | |
| 83 | |
| 84 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* PushSrc_Classcxx . . $ Gst/PushSrc_Class#::wrap_newcxx . . $ Gst/PushSrc_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 85 | { |
| 86 | return new PushSrccxx . . $ Gst/PushSrc#((GstPushSrccxx . . $ GstPushSrc#*)object); |
| 87 | } |
| 88 | |
| 89 | |
| 90 | /* The implementation: */ |
| 91 | |
| 92 | GstPushSrccxx . . $ GstPushSrc#* PushSrccxx . . $ Gst/PushSrc#::gobj_copycxx . . $ Gst/PushSrc#gobj_copy(db6838339fc0173c).() |
| 93 | { |
| 94 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 95 | return gobjcxx . . $ Gst/PushSrc#gobj(db6838339fc0173c).(); |
| 96 | } |
| 97 | |
| 98 | PushSrccxx . . $ Gst/PushSrc#::PushSrccxx . . $ Gst/PushSrc#PushSrc(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 99 | : |
| 100 | BaseSrccxx . . $ Gst/BaseSrc#(construct_params) |
| 101 | { |
| 102 | |
| 103 | } |
| 104 | |
| 105 | PushSrccxx . . $ Gst/PushSrc#::PushSrccxx . . $ Gst/PushSrc#PushSrc(bd9980efece01bdf).(GstPushSrccxx . . $ GstPushSrc#* castitem) |
| 106 | : |
| 107 | BaseSrccxx . . $ Gst/BaseSrc#((GstBaseSrccxx . . $ GstBaseSrc#*)(castitem)) |
| 108 | {} |
| 109 | |
| 110 | |
| 111 | PushSrccxx . . $ Gst/PushSrc#::PushSrccxx . . $ Gst/PushSrc#PushSrc(4c57c6d702b898e2).(PushSrccxx . . $ Gst/PushSrc#&& src) noexcept |
| 112 | : BaseSrccxx . . $ Gst/BaseSrc#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 113 | {} |
| 114 | |
| 115 | PushSrccxx . . $ Gst/PushSrc#& PushSrccxx . . $ Gst/PushSrc#::operatorcxx . . $ Gst/PushSrc#`operator=`(e1da9c2e3b78350a).=(PushSrccxx . . $ Gst/PushSrc#&& src) noexcept |
| 116 | { |
| 117 | BaseSrccxx . . $ Gst/BaseSrc#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 118 | return *this; |
| 119 | } |
| 120 | |
| 121 | |
| 122 | PushSrccxx . . $ Gst/PushSrc#::~cxx . . $ Gst/PushSrc#`~PushSrc`(ced63f7c635d850d).PushSrccxx . . $ Gst/PushSrc#() noexcept |
| 123 | {} |
| 124 | |
| 125 | |
| 126 | PushSrccxx . . $ Gst/PushSrc#::CppClassTypecxx . . $ Gst/PushSrc#CppClassType# PushSrccxx . . $ Gst/PushSrc#::pushsrc_class_cxx . . $ Gst/PushSrc#pushsrc_class_.; // initialize static member |
| 127 | |
| 128 | GType PushSrccxx . . $ Gst/PushSrc#::get_typecxx . . $ Gst/PushSrc#get_type(f708dce9a8856c70).() |
| 129 | { |
| 130 | return pushsrc_class_cxx . . $ Gst/PushSrc#pushsrc_class_..initcxx . . $ Gst/PushSrc_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 131 | } |
| 132 | |
| 133 | |
| 134 | GType PushSrccxx . . $ Gst/PushSrc#::get_base_typecxx . . $ Gst/PushSrc#get_base_type(f708dce9a8856c70).() |
| 135 | { |
| 136 | return gst_push_src_get_type(); |
| 137 | } |
| 138 | |
| 139 | |
| 140 | } // namespace Gst |
| 141 | |
| 142 |