| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/volume.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <gstreamermmconfig.h>cxx . . $ `<file>/config.h`/ |
| 5 | #ifndef GSTREAMERMM_DISABLE_DEPRECATED |
| 6 | |
| 7 | |
| 8 | #include <glibmm.h> |
| 9 | |
| 10 | #include <gstreamermm/volume.h>cxx . . $ `<file>/gstreamer/gstreamermm/volume.h`/ |
| 11 | #include <gstreamermm/private/volume_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/volume_p.h`/ |
| 12 | |
| 13 | |
| 14 | // Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 15 | |
| 16 | |
| 17 | extern "C" |
| 18 | { |
| 19 | |
| 20 | GType gst_volume_gstreamermm_get_type() |
| 21 | { |
| 22 | static GType type = 0; |
| 23 | GstElementFactory* factory = 0; |
| 24 | GstPluginFeature* feature = 0; |
| 25 | |
| 26 | if(!type) |
| 27 | { |
| 28 | factory = gst_element_factory_find("volume"); |
| 29 | // Make sure that the feature is actually loaded: |
| 30 | if(factory) |
| 31 | { |
| 32 | feature = |
| 33 | gst_plugin_feature_load(GST_PLUGIN_FEATUREcxx . . $ `<external>/139039714904699713/gstpluginfeature.h:34:9`!(factory)); |
| 34 | |
| 35 | g_object_unref(factory); |
| 36 | factory = GST_ELEMENT_FACTORYcxx . . $ `<external>/15193377161217626871/gstelementfactory.h:45:9`!(feature); |
| 37 | type = gst_element_factory_get_element_type(factory); |
| 38 | g_object_unref(factory); |
| 39 | } |
| 40 | } |
| 41 | |
| 42 | return type; |
| 43 | } |
| 44 | |
| 45 | } // extern "C" |
| 46 | |
| 47 | namespace Gstcxx . . $ Gst/ |
| 48 | { |
| 49 | |
| 50 | Volumecxx . . $ Gst/Volume#::Volumecxx . . $ Gst/Volume#Volume(49f6e7a06ebc5aa8).() |
| 51 | : // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 52 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 53 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(volume_class_cxx . . $ Gst/Volume#volume_class_..initcxx . . $ Gst/Volume_Class#init(bf348c0cd369184d).(), "name",static_cast<char*>(0), nullptr)) |
| 54 | {} |
| 55 | |
| 56 | Volumecxx . . $ Gst/Volume#::Volumecxx . . $ Gst/Volume#Volume(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 57 | : // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 58 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 59 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(volume_class_cxx . . $ Gst/Volume#volume_class_..initcxx . . $ Gst/Volume_Class#init(bf348c0cd369184d).(), "name",name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), nullptr)) |
| 60 | {} |
| 61 | |
| 62 | } |
| 63 | |
| 64 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/volume.cc`/ |
| 65 | { |
| 66 | } // anonymous namespace |
| 67 | |
| 68 | |
| 69 | namespace Glibcxx . . $ Glib/ |
| 70 | { |
| 71 | |
| 72 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Volumecxx . . $ Gst/Volume#> wrapcxx . . $ Glib/wrap(b1ce5bf53be3ed49).(GstVolumecxx . . $ GstVolume#* object, bool take_copy) |
| 73 | { |
| 74 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Volumecxx . . $ Gst/Volume#>( dynamic_cast<Gstcxx . . $ Gst/::Volumecxx . . $ Gst/Volume#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 75 | //We use dynamic_cast<> in case of multiple inheritance. |
| 76 | } |
| 77 | |
| 78 | } /* namespace Glib */ |
| 79 | |
| 80 | |
| 81 | namespace Gstcxx . . $ Gst/ |
| 82 | { |
| 83 | |
| 84 | |
| 85 | /* The *_Class implementation: */ |
| 86 | |
| 87 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& Volume_Classcxx . . $ Gst/Volume_Class#::initcxx . . $ Gst/Volume_Class#init(bf348c0cd369184d).() |
| 88 | { |
| 89 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 90 | { |
| 91 | // Glib::Class has to know the class init function to clone custom types. |
| 92 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &Volume_Classcxx . . $ Gst/Volume_Class#::class_init_functioncxx . . $ Gst/Volume_Class#class_init_function(6c58c5e2437d25a2).; |
| 93 | |
| 94 | // This is actually just optimized away, apparently with no harm. |
| 95 | // Make sure that the parent type has been created. |
| 96 | //CppClassParent::CppObjectType::get_type(); |
| 97 | |
| 98 | // Create the wrapper type, with the same class/instance size as the base type. |
| 99 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_volume_gstreamermm_get_type()); |
| 100 | |
| 101 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 102 | Gstcxx . . $ Gst/::StreamVolumecxx . . $ Gst/StreamVolume#::add_interfacecxx . . $ Gst/StreamVolume#add_interface(2c44cd906ae4e829).(get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).()); |
| 103 | |
| 104 | } |
| 105 | |
| 106 | return *this; |
| 107 | } |
| 108 | |
| 109 | |
| 110 | void Volume_Classcxx . . $ Gst/Volume_Class#::class_init_functioncxx . . $ Gst/Volume_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 111 | { |
| 112 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/Volume_Class#BaseClassType#*>(g_class); |
| 113 | CppClassParentcxx . . $ Gst/Volume_Class#CppClassParent#::class_init_functioncxx . . $ Gst/BaseTransform_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 114 | |
| 115 | |
| 116 | } |
| 117 | |
| 118 | |
| 119 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* Volume_Classcxx . . $ Gst/Volume_Class#::wrap_newcxx . . $ Gst/Volume_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 120 | { |
| 121 | return new Volumecxx . . $ Gst/Volume#((GstVolumecxx . . $ GstVolume#*)object); |
| 122 | } |
| 123 | |
| 124 | |
| 125 | /* The implementation: */ |
| 126 | |
| 127 | GstVolumecxx . . $ GstVolume#* Volumecxx . . $ Gst/Volume#::gobj_copycxx . . $ Gst/Volume#gobj_copy(c74897208f9b2a93).() |
| 128 | { |
| 129 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 130 | return gobjcxx . . $ Gst/Volume#gobj(c74897208f9b2a93).(); |
| 131 | } |
| 132 | |
| 133 | Volumecxx . . $ Gst/Volume#::Volumecxx . . $ Gst/Volume#Volume(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 134 | : |
| 135 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#(construct_params) |
| 136 | { |
| 137 | |
| 138 | } |
| 139 | |
| 140 | Volumecxx . . $ Gst/Volume#::Volumecxx . . $ Gst/Volume#Volume(35f3aa49ddb9119b).(GstVolumecxx . . $ GstVolume#* castitem) |
| 141 | : |
| 142 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#((GstBaseTransformcxx . . $ GstBaseTransform#*)(castitem)) |
| 143 | {} |
| 144 | |
| 145 | |
| 146 | Volumecxx . . $ Gst/Volume#::Volumecxx . . $ Gst/Volume#Volume(d4dc055946a109ef).(Volumecxx . . $ Gst/Volume#&& src) noexcept |
| 147 | : Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 148 | , Gstcxx . . $ Gst/::StreamVolumecxx . . $ Gst/StreamVolume#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 149 | {} |
| 150 | |
| 151 | Volumecxx . . $ Gst/Volume#& Volumecxx . . $ Gst/Volume#::operatorcxx . . $ Gst/Volume#`operator=`(15db600e92d28419).=(Volumecxx . . $ Gst/Volume#&& src) noexcept |
| 152 | { |
| 153 | Gstcxx . . $ Gst/::BaseTransformcxx . . $ Gst/BaseTransform#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 154 | Gstcxx . . $ Gst/::StreamVolumecxx . . $ Gst/StreamVolume#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 155 | return *this; |
| 156 | } |
| 157 | |
| 158 | |
| 159 | Volumecxx . . $ Gst/Volume#::~cxx . . $ Gst/Volume#`~Volume`(ced63f7c635d850d).Volumecxx . . $ Gst/Volume#() noexcept |
| 160 | {} |
| 161 | |
| 162 | |
| 163 | Volumecxx . . $ Gst/Volume#::CppClassTypecxx . . $ Gst/Volume#CppClassType# Volumecxx . . $ Gst/Volume#::volume_class_cxx . . $ Gst/Volume#volume_class_.; // initialize static member |
| 164 | |
| 165 | GType Volumecxx . . $ Gst/Volume#::get_typecxx . . $ Gst/Volume#get_type(f708dce9a8856c70).() |
| 166 | { |
| 167 | return volume_class_cxx . . $ Gst/Volume#volume_class_..initcxx . . $ Gst/Volume_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 168 | } |
| 169 | |
| 170 | |
| 171 | GType Volumecxx . . $ Gst/Volume#::get_base_typecxx . . $ Gst/Volume#get_base_type(f708dce9a8856c70).() |
| 172 | { |
| 173 | return gst_volume_gstreamermm_get_type(); |
| 174 | } |
| 175 | |
| 176 | |
| 177 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Volumecxx . . $ Gst/Volume#> Volumecxx . . $ Gst/Volume#::createcxx . . $ Gst/Volume#create(86e78e24c30774e).() |
| 178 | { |
| 179 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Volumecxx . . $ Gst/Volume#>( new Volumecxx . . $ Gst/Volume#() ); |
| 180 | } |
| 181 | |
| 182 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Volumecxx . . $ Gst/Volume#> Volumecxx . . $ Gst/Volume#::createcxx . . $ Gst/Volume#create(25c6307772435c0b).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 183 | { |
| 184 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Volumecxx . . $ Gst/Volume#>( new Volumecxx . . $ Gst/Volume#(name) ); |
| 185 | } |
| 186 | |
| 187 | |
| 188 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > Volumecxx . . $ Gst/Volume#::property_mutecxx . . $ Gst/Volume#property_mute(962e4b383dc974dc).() |
| 189 | { |
| 190 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "mute"); |
| 191 | } |
| 192 | |
| 193 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > Volumecxx . . $ Gst/Volume#::property_mutecxx . . $ Gst/Volume#property_mute(bb701360c56d84c7).() const |
| 194 | { |
| 195 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "mute"); |
| 196 | } |
| 197 | |
| 198 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< double > Volumecxx . . $ Gst/Volume#::property_volumecxx . . $ Gst/Volume#property_volume(5902f01579e2dcb0).() |
| 199 | { |
| 200 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< double >(this, "volume"); |
| 201 | } |
| 202 | |
| 203 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< double > Volumecxx . . $ Gst/Volume#::property_volumecxx . . $ Gst/Volume#property_volume(f7f19ddbcc831471).() const |
| 204 | { |
| 205 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< double >(this, "volume"); |
| 206 | } |
| 207 | |
| 208 | |
| 209 | } // namespace Gst |
| 210 | |
| 211 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 212 | |
| 213 |