| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/audiocdsrc.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/audiocdsrc.h>cxx . . $ `<file>/gstreamer/gstreamermm/audiocdsrc.h`/ |
| 7 | #include <gstreamermm/private/audiocdsrc_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/audiocdsrc_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 | #include <gstreamermm/buffer.h>cxx . . $ `<file>/gstreamer/gstreamermm/buffer.h`/ |
| 30 | |
| 31 | |
| 32 | namespace Gstcxx . . $ Gst/ |
| 33 | { |
| 34 | |
| 35 | bool AudioCdSrccxx . . $ Gst/AudioCdSrc#::add_trackcxx . . $ Gst/AudioCdSrc#add_track(3be732d7bbfa14d9).(guint num, guint start, guint end, bool is_audio, |
| 36 | const Gstcxx . . $ Gst/::TagListcxx . . $ Gst/TagList#& tags) |
| 37 | { |
| 38 | GstAudioCdSrcTrack track; |
| 39 | |
| 40 | track.numcxx . . $ _GstAudioCdSrcTrack#num. = num; |
| 41 | track.startcxx . . $ _GstAudioCdSrcTrack#start. = start; |
| 42 | track.endcxx . . $ _GstAudioCdSrcTrack#end. = end; |
| 43 | track.is_audiocxx . . $ _GstAudioCdSrcTrack#is_audio. = is_audio; |
| 44 | |
| 45 | if (tags) |
| 46 | track.tagscxx . . $ _GstAudioCdSrcTrack#tags. = tags.gobj_copycxx . . $ Gst/TagList#gobj_copy(1b0dff487f33d41e).(); |
| 47 | |
| 48 | return gst_audio_cd_src_add_track(gobjcxx . . $ Gst/AudioCdSrc#gobj(d0ab60786ebdcf8b).(), &track); |
| 49 | } |
| 50 | |
| 51 | } // namespace Gst |
| 52 | |
| 53 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/audiocdsrc.cc`/ |
| 54 | { |
| 55 | } // anonymous namespace |
| 56 | |
| 57 | // static |
| 58 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::AudioCdSrcMode>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 59 | { |
| 60 | return gst_audio_cd_src_mode_get_type(); |
| 61 | } |
| 62 | |
| 63 | |
| 64 | namespace Glibcxx . . $ Glib/ |
| 65 | { |
| 66 | |
| 67 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::AudioCdSrccxx . . $ Gst/AudioCdSrc#> wrapcxx . . $ Glib/wrap(c589e10900ac8dc5).(GstAudioCdSrccxx . . $ GstAudioCdSrc#* object, bool take_copy) |
| 68 | { |
| 69 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::AudioCdSrccxx . . $ Gst/AudioCdSrc#>( dynamic_cast<Gstcxx . . $ Gst/::AudioCdSrccxx . . $ Gst/AudioCdSrc#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 70 | //We use dynamic_cast<> in case of multiple inheritance. |
| 71 | } |
| 72 | |
| 73 | } /* namespace Glib */ |
| 74 | |
| 75 | |
| 76 | namespace Gstcxx . . $ Gst/ |
| 77 | { |
| 78 | |
| 79 | |
| 80 | /* The *_Class implementation: */ |
| 81 | |
| 82 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& AudioCdSrc_Classcxx . . $ Gst/AudioCdSrc_Class#::initcxx . . $ Gst/AudioCdSrc_Class#init(bf348c0cd369184d).() |
| 83 | { |
| 84 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 85 | { |
| 86 | // Glib::Class has to know the class init function to clone custom types. |
| 87 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &AudioCdSrc_Classcxx . . $ Gst/AudioCdSrc_Class#::class_init_functioncxx . . $ Gst/AudioCdSrc_Class#class_init_function(6c58c5e2437d25a2).; |
| 88 | |
| 89 | // This is actually just optimized away, apparently with no harm. |
| 90 | // Make sure that the parent type has been created. |
| 91 | //CppClassParent::CppObjectType::get_type(); |
| 92 | |
| 93 | // Create the wrapper type, with the same class/instance size as the base type. |
| 94 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_audio_cd_src_get_type()); |
| 95 | |
| 96 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 97 | |
| 98 | } |
| 99 | |
| 100 | return *this; |
| 101 | } |
| 102 | |
| 103 | |
| 104 | void AudioCdSrc_Classcxx . . $ Gst/AudioCdSrc_Class#::class_init_functioncxx . . $ Gst/AudioCdSrc_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 105 | { |
| 106 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/AudioCdSrc_Class#BaseClassType#*>(g_class); |
| 107 | CppClassParentcxx . . $ Gst/AudioCdSrc_Class#CppClassParent#::class_init_functioncxx . . $ Gst/PushSrc_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 108 | |
| 109 | klass->opencxx . . $ _GstAudioCdSrcClass#open. = &open_vfunc_callbackcxx . . $ Gst/AudioCdSrc_Class#open_vfunc_callback(7ddbeac43ee64df7).; |
| 110 | klass->closecxx . . $ _GstAudioCdSrcClass#close. = &close_vfunc_callbackcxx . . $ Gst/AudioCdSrc_Class#close_vfunc_callback(4182dd18058392).; |
| 111 | klass->read_sectorcxx . . $ _GstAudioCdSrcClass#read_sector. = &read_sector_vfunc_callbackcxx . . $ Gst/AudioCdSrc_Class#read_sector_vfunc_callback(8618593671f0cbdb).; |
| 112 | |
| 113 | } |
| 114 | |
| 115 | gboolean AudioCdSrc_Classcxx . . $ Gst/AudioCdSrc_Class#::open_vfunc_callbackcxx . . $ Gst/AudioCdSrc_Class#open_vfunc_callback(7ddbeac43ee64df7).(GstAudioCdSrccxx . . $ GstAudioCdSrc#* self, const gchar* device) |
| 116 | { |
| 117 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 118 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 119 | |
| 120 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 121 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 122 | // generated classes can use this optimisation, which avoids the unnecessary |
| 123 | // parameter conversions if there is no possibility of the virtual function |
| 124 | // being overridden: |
| 125 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 126 | { |
| 127 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/AudioCdSrc_Class#CppObjectType#* const>(obj_base); |
| 128 | if(obj) // This can be NULL during destruction. |
| 129 | { |
| 130 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 131 | { |
| 132 | // Call the virtual member method, which derived classes might override. |
| 133 | return static_cast<int>(obj->open_vfunccxx . . $ Gst/AudioCdSrc#open_vfunc(7c222eea44a24d43).(Glibcxx . . $ Glib/::convert_const_gchar_ptr_to_stdstringcxx . . $ Glib/convert_const_gchar_ptr_to_stdstring(d06bf7adff8c4caf).(device) |
| 134 | )); |
| 135 | } |
| 136 | catch(...) |
| 137 | { |
| 138 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 139 | } |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | BaseClassTypecxx . . $ Gst/AudioCdSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/AudioCdSrc_Class#BaseClassType#*>( |
| 144 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 145 | ); |
| 146 | |
| 147 | // Call the original underlying C function: |
| 148 | if(base && base->opencxx . . $ _GstAudioCdSrcClass#open.) |
| 149 | return (*base->opencxx . . $ _GstAudioCdSrcClass#open.)(self, device); |
| 150 | |
| 151 | using RTypecxx . . $ Gst/AudioCdSrc_Class#open_vfunc_callback(7ddbeac43ee64df7).RType# = gboolean; |
| 152 | return RTypecxx . . $ Gst/AudioCdSrc_Class#open_vfunc_callback(7ddbeac43ee64df7).RType#(); |
| 153 | } |
| 154 | void AudioCdSrc_Classcxx . . $ Gst/AudioCdSrc_Class#::close_vfunc_callbackcxx . . $ Gst/AudioCdSrc_Class#close_vfunc_callback(4182dd18058392).(GstAudioCdSrccxx . . $ GstAudioCdSrc#* self) |
| 155 | { |
| 156 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 157 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 158 | |
| 159 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 160 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 161 | // generated classes can use this optimisation, which avoids the unnecessary |
| 162 | // parameter conversions if there is no possibility of the virtual function |
| 163 | // being overridden: |
| 164 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 165 | { |
| 166 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/AudioCdSrc_Class#CppObjectType#* const>(obj_base); |
| 167 | if(obj) // This can be NULL during destruction. |
| 168 | { |
| 169 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 170 | { |
| 171 | // Call the virtual member method, which derived classes might override. |
| 172 | obj->close_vfunccxx . . $ Gst/AudioCdSrc#close_vfunc(49f6e7a06ebc5aa8).(); |
| 173 | return; |
| 174 | } |
| 175 | catch(...) |
| 176 | { |
| 177 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 178 | } |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | BaseClassTypecxx . . $ Gst/AudioCdSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/AudioCdSrc_Class#BaseClassType#*>( |
| 183 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 184 | ); |
| 185 | |
| 186 | // Call the original underlying C function: |
| 187 | if(base && base->closecxx . . $ _GstAudioCdSrcClass#close.) |
| 188 | (*base->closecxx . . $ _GstAudioCdSrcClass#close.)(self); |
| 189 | } |
| 190 | GstBuffer* AudioCdSrc_Classcxx . . $ Gst/AudioCdSrc_Class#::read_sector_vfunc_callbackcxx . . $ Gst/AudioCdSrc_Class#read_sector_vfunc_callback(8618593671f0cbdb).(GstAudioCdSrccxx . . $ GstAudioCdSrc#* self, gint sector) |
| 191 | { |
| 192 | const auto obj_base = static_cast<Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#*>( |
| 193 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#::_get_current_wrappercxx . . $ Glib/ObjectBase#_get_current_wrapper(893eec6d4349e251).((GObjectcxx . . $ GObject#*)self)); |
| 194 | |
| 195 | // Non-gtkmmproc-generated custom classes implicitly call the default |
| 196 | // Glib::ObjectBase constructor, which sets is_derived_. But gtkmmproc- |
| 197 | // generated classes can use this optimisation, which avoids the unnecessary |
| 198 | // parameter conversions if there is no possibility of the virtual function |
| 199 | // being overridden: |
| 200 | if(obj_base && obj_base->is_derived_cxx . . $ Glib/ObjectBase#is_derived_(50ce9a9e25b4a850).()) |
| 201 | { |
| 202 | const auto obj = dynamic_cast<CppObjectTypecxx . . $ Gst/AudioCdSrc_Class#CppObjectType#* const>(obj_base); |
| 203 | if(obj) // This can be NULL during destruction. |
| 204 | { |
| 205 | try // Trap C++ exceptions which would normally be lost because this is a C callback. |
| 206 | { |
| 207 | // Call the virtual member method, which derived classes might override. |
| 208 | return Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(obj->read_sector_vfunccxx . . $ Gst/AudioCdSrc#read_sector_vfunc(c8f84656e02dd36b).(sector)); |
| 209 | } |
| 210 | catch(...) |
| 211 | { |
| 212 | Glibcxx . . $ Glib/::exception_handlers_invokecxx . . $ Glib/exception_handlers_invoke(ced63f7c635d850d).(); |
| 213 | } |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | BaseClassTypecxx . . $ Gst/AudioCdSrc_Class#BaseClassType# *const base = static_cast<BaseClassTypecxx . . $ Gst/AudioCdSrc_Class#BaseClassType#*>( |
| 218 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(self)) // Get the parent class of the object class (The original underlying C class). |
| 219 | ); |
| 220 | |
| 221 | // Call the original underlying C function: |
| 222 | if(base && base->read_sectorcxx . . $ _GstAudioCdSrcClass#read_sector.) |
| 223 | return (*base->read_sectorcxx . . $ _GstAudioCdSrcClass#read_sector.)(self, sector); |
| 224 | |
| 225 | using RTypecxx . . $ Gst/AudioCdSrc_Class#read_sector_vfunc_callback(8618593671f0cbdb).RType# = GstBuffer*; |
| 226 | return RTypecxx . . $ Gst/AudioCdSrc_Class#read_sector_vfunc_callback(8618593671f0cbdb).RType#(); |
| 227 | } |
| 228 | |
| 229 | |
| 230 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* AudioCdSrc_Classcxx . . $ Gst/AudioCdSrc_Class#::wrap_newcxx . . $ Gst/AudioCdSrc_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 231 | { |
| 232 | return new AudioCdSrccxx . . $ Gst/AudioCdSrc#((GstAudioCdSrccxx . . $ GstAudioCdSrc#*)object); |
| 233 | } |
| 234 | |
| 235 | |
| 236 | /* The implementation: */ |
| 237 | |
| 238 | GstAudioCdSrccxx . . $ GstAudioCdSrc#* AudioCdSrccxx . . $ Gst/AudioCdSrc#::gobj_copycxx . . $ Gst/AudioCdSrc#gobj_copy(d0ab60786ebdcf8b).() |
| 239 | { |
| 240 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 241 | return gobjcxx . . $ Gst/AudioCdSrc#gobj(d0ab60786ebdcf8b).(); |
| 242 | } |
| 243 | |
| 244 | AudioCdSrccxx . . $ Gst/AudioCdSrc#::AudioCdSrccxx . . $ Gst/AudioCdSrc#AudioCdSrc(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 245 | : |
| 246 | Gstcxx . . $ Gst/::PushSrccxx . . $ Gst/PushSrc#(construct_params) |
| 247 | { |
| 248 | |
| 249 | } |
| 250 | |
| 251 | AudioCdSrccxx . . $ Gst/AudioCdSrc#::AudioCdSrccxx . . $ Gst/AudioCdSrc#AudioCdSrc(4182dd18058392).(GstAudioCdSrccxx . . $ GstAudioCdSrc#* castitem) |
| 252 | : |
| 253 | Gstcxx . . $ Gst/::PushSrccxx . . $ Gst/PushSrc#((GstPushSrccxx . . $ GstPushSrc#*)(castitem)) |
| 254 | {} |
| 255 | |
| 256 | |
| 257 | AudioCdSrccxx . . $ Gst/AudioCdSrc#::AudioCdSrccxx . . $ Gst/AudioCdSrc#AudioCdSrc(c44beb8e59354280).(AudioCdSrccxx . . $ Gst/AudioCdSrc#&& src) noexcept |
| 258 | : Gstcxx . . $ Gst/::PushSrccxx . . $ Gst/PushSrc#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 259 | {} |
| 260 | |
| 261 | AudioCdSrccxx . . $ Gst/AudioCdSrc#& AudioCdSrccxx . . $ Gst/AudioCdSrc#::operatorcxx . . $ Gst/AudioCdSrc#`operator=`(d7f1a98755ef8c56).=(AudioCdSrccxx . . $ Gst/AudioCdSrc#&& src) noexcept |
| 262 | { |
| 263 | Gstcxx . . $ Gst/::PushSrccxx . . $ Gst/PushSrc#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 264 | return *this; |
| 265 | } |
| 266 | |
| 267 | |
| 268 | AudioCdSrccxx . . $ Gst/AudioCdSrc#::~cxx . . $ Gst/AudioCdSrc#`~AudioCdSrc`(ced63f7c635d850d).AudioCdSrccxx . . $ Gst/AudioCdSrc#() noexcept |
| 269 | {} |
| 270 | |
| 271 | |
| 272 | AudioCdSrccxx . . $ Gst/AudioCdSrc#::CppClassTypecxx . . $ Gst/AudioCdSrc#CppClassType# AudioCdSrccxx . . $ Gst/AudioCdSrc#::audiocdsrc_class_cxx . . $ Gst/AudioCdSrc#audiocdsrc_class_.; // initialize static member |
| 273 | |
| 274 | GType AudioCdSrccxx . . $ Gst/AudioCdSrc#::get_typecxx . . $ Gst/AudioCdSrc#get_type(f708dce9a8856c70).() |
| 275 | { |
| 276 | return audiocdsrc_class_cxx . . $ Gst/AudioCdSrc#audiocdsrc_class_..initcxx . . $ Gst/AudioCdSrc_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 277 | } |
| 278 | |
| 279 | |
| 280 | GType AudioCdSrccxx . . $ Gst/AudioCdSrc#::get_base_typecxx . . $ Gst/AudioCdSrc#get_base_type(f708dce9a8856c70).() |
| 281 | { |
| 282 | return gst_audio_cd_src_get_type(); |
| 283 | } |
| 284 | |
| 285 | |
| 286 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< stdcxx . . $ std/::stringcxx . . $ std/string# > AudioCdSrccxx . . $ Gst/AudioCdSrc#::property_devicecxx . . $ Gst/AudioCdSrc#property_device(75df04d2d84da10c).() |
| 287 | { |
| 288 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< stdcxx . . $ std/::stringcxx . . $ std/string# >(this, "device"); |
| 289 | } |
| 290 | |
| 291 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< stdcxx . . $ std/::stringcxx . . $ std/string# > AudioCdSrccxx . . $ Gst/AudioCdSrc#::property_devicecxx . . $ Gst/AudioCdSrc#property_device(13ef3de747135a52).() const |
| 292 | { |
| 293 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< stdcxx . . $ std/::stringcxx . . $ std/string# >(this, "device"); |
| 294 | } |
| 295 | |
| 296 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< AudioCdSrcModecxx . . $ Gst/AudioCdSrcMode# > AudioCdSrccxx . . $ Gst/AudioCdSrc#::property_modecxx . . $ Gst/AudioCdSrc#property_mode(bcb56366a12e9b92).() |
| 297 | { |
| 298 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< AudioCdSrcModecxx . . $ Gst/AudioCdSrcMode# >(this, "mode"); |
| 299 | } |
| 300 | |
| 301 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< AudioCdSrcModecxx . . $ Gst/AudioCdSrcMode# > AudioCdSrccxx . . $ Gst/AudioCdSrc#::property_modecxx . . $ Gst/AudioCdSrc#property_mode(ad6b63b940794c3).() const |
| 302 | { |
| 303 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< AudioCdSrcModecxx . . $ Gst/AudioCdSrcMode# >(this, "mode"); |
| 304 | } |
| 305 | |
| 306 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint > AudioCdSrccxx . . $ Gst/AudioCdSrc#::property_trackcxx . . $ Gst/AudioCdSrc#property_track(c06a410a81733cde).() |
| 307 | { |
| 308 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint >(this, "track"); |
| 309 | } |
| 310 | |
| 311 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint > AudioCdSrccxx . . $ Gst/AudioCdSrc#::property_trackcxx . . $ Gst/AudioCdSrc#property_track(9b12e6784ac5b9b).() const |
| 312 | { |
| 313 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint >(this, "track"); |
| 314 | } |
| 315 | |
| 316 | |
| 317 | bool Gstcxx . . $ Gst/::AudioCdSrccxx . . $ Gst/AudioCdSrc#::open_vfunccxx . . $ Gst/AudioCdSrc#open_vfunc(7c222eea44a24d43).(const stdcxx . . $ std/::stringcxx . . $ std/string#& device) |
| 318 | { |
| 319 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/AudioCdSrc#BaseClassType#*>( |
| 320 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 321 | ); |
| 322 | |
| 323 | if(base && base->opencxx . . $ _GstAudioCdSrcClass#open.) |
| 324 | { |
| 325 | bool retval((*base->opencxx . . $ _GstAudioCdSrcClass#open.)(gobjcxx . . $ Gst/AudioCdSrc#gobj(d0ab60786ebdcf8b).(),device.c_strcxx . . $ std/__cxx11/basic_string#c_str(8e614c7de0b1573e).())); |
| 326 | return retval; |
| 327 | } |
| 328 | |
| 329 | using RTypecxx . . $ Gst/AudioCdSrc#open_vfunc(7c222eea44a24d43).RType# = bool; |
| 330 | return RTypecxx . . $ Gst/AudioCdSrc#open_vfunc(7c222eea44a24d43).RType#(); |
| 331 | } |
| 332 | void Gstcxx . . $ Gst/::AudioCdSrccxx . . $ Gst/AudioCdSrc#::close_vfunccxx . . $ Gst/AudioCdSrc#close_vfunc(49f6e7a06ebc5aa8).() |
| 333 | { |
| 334 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/AudioCdSrc#BaseClassType#*>( |
| 335 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 336 | ); |
| 337 | |
| 338 | if(base && base->closecxx . . $ _GstAudioCdSrcClass#close.) |
| 339 | { |
| 340 | (*base->closecxx . . $ _GstAudioCdSrcClass#close.)(gobjcxx . . $ Gst/AudioCdSrc#gobj(d0ab60786ebdcf8b).()); |
| 341 | } |
| 342 | } |
| 343 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> Gstcxx . . $ Gst/::AudioCdSrccxx . . $ Gst/AudioCdSrc#::read_sector_vfunccxx . . $ Gst/AudioCdSrc#read_sector_vfunc(c8f84656e02dd36b).(gint sector) |
| 344 | { |
| 345 | const auto base = static_cast<BaseClassTypecxx . . $ Gst/AudioCdSrc#BaseClassType#*>( |
| 346 | g_type_class_peek_parent(G_OBJECT_GET_CLASScxx . . $ `<external>/1341695927569185362/gobject.h:89:9`!(gobject_)) // Get the parent class of the object class (The original underlying C class). |
| 347 | ); |
| 348 | |
| 349 | if(base && base->read_sectorcxx . . $ _GstAudioCdSrcClass#read_sector.) |
| 350 | { |
| 351 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> retval(Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).((*base->read_sectorcxx . . $ _GstAudioCdSrcClass#read_sector.)(gobjcxx . . $ Gst/AudioCdSrc#gobj(d0ab60786ebdcf8b).(),sector))); |
| 352 | return retvalcxx . . $ Glib/RefPtr#RefPtr(560c7fdd049cdfe1).; |
| 353 | } |
| 354 | |
| 355 | using RTypecxx . . $ Gst/AudioCdSrc#read_sector_vfunc(c8f84656e02dd36b).RType# = Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>; |
| 356 | return RTypecxx . . $ Glib/RefPtr#RefPtr(ced63f7c635d850d).(); |
| 357 | } |
| 358 | |
| 359 | |
| 360 | } // namespace Gst |
| 361 | |
| 362 |