| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/filesink.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/filesink.h>cxx . . $ `<file>/gstreamer/gstreamermm/filesink.h`/ |
| 11 | #include <gstreamermm/private/filesink_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/filesink_p.h`/ |
| 12 | |
| 13 | |
| 14 | // Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 15 | |
| 16 | |
| 17 | extern "C" |
| 18 | { |
| 19 | |
| 20 | static GType gst_file_sink_buffer_mode_get_type() |
| 21 | { |
| 22 | static GType const type = g_type_from_name("GstFileSinkBufferMode"); |
| 23 | return type; |
| 24 | } |
| 25 | |
| 26 | GType gst_file_sink_gstreamermm_get_type() |
| 27 | { |
| 28 | static GType type = 0; |
| 29 | GstElementFactory* factory = 0; |
| 30 | GstPluginFeature* feature = 0; |
| 31 | |
| 32 | if(!type) |
| 33 | { |
| 34 | factory = gst_element_factory_find("filesink"); |
| 35 | // Make sure that the feature is actually loaded: |
| 36 | if(factory) |
| 37 | { |
| 38 | feature = |
| 39 | gst_plugin_feature_load(GST_PLUGIN_FEATUREcxx . . $ `<external>/139039714904699713/gstpluginfeature.h:34:9`!(factory)); |
| 40 | |
| 41 | g_object_unref(factory); |
| 42 | factory = GST_ELEMENT_FACTORYcxx . . $ `<external>/15193377161217626871/gstelementfactory.h:45:9`!(feature); |
| 43 | type = gst_element_factory_get_element_type(factory); |
| 44 | g_object_unref(factory); |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | return type; |
| 49 | } |
| 50 | |
| 51 | } // extern "C" |
| 52 | |
| 53 | namespace Gstcxx . . $ Gst/ |
| 54 | { |
| 55 | |
| 56 | FileSinkcxx . . $ Gst/FileSink#::FileSinkcxx . . $ Gst/FileSink#FileSink(49f6e7a06ebc5aa8).() |
| 57 | : // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 58 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 59 | Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(filesink_class_cxx . . $ Gst/FileSink#filesink_class_..initcxx . . $ Gst/FileSink_Class#init(bf348c0cd369184d).(), "name",static_cast<char*>(0), nullptr)) |
| 60 | {} |
| 61 | |
| 62 | FileSinkcxx . . $ Gst/FileSink#::FileSinkcxx . . $ Gst/FileSink#FileSink(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 63 | : // Mark this class as non-derived to allow C++ vfuncs to be skipped. |
| 64 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#(nullptr), |
| 65 | Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#(Glibcxx . . $ Glib/ConstructParams#ConstructParams(88d8205c725482fb).::ConstructParamscxx . . $ Glib/ConstructParams#(filesink_class_cxx . . $ Gst/FileSink#filesink_class_..initcxx . . $ Gst/FileSink_Class#init(bf348c0cd369184d).(), "name",name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), nullptr)) |
| 66 | {} |
| 67 | |
| 68 | } |
| 69 | |
| 70 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/filesink.cc`/ |
| 71 | { |
| 72 | } // anonymous namespace |
| 73 | |
| 74 | // static |
| 75 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::FileSinkBufferMode>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 76 | { |
| 77 | return gst_file_sink_buffer_mode_get_type(); |
| 78 | } |
| 79 | |
| 80 | |
| 81 | namespace Glibcxx . . $ Glib/ |
| 82 | { |
| 83 | |
| 84 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::FileSinkcxx . . $ Gst/FileSink#> wrapcxx . . $ Glib/wrap(d00d07cf5dba2397).(GstFileSinkcxx . . $ GstFileSink#* object, bool take_copy) |
| 85 | { |
| 86 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::FileSinkcxx . . $ Gst/FileSink#>( dynamic_cast<Gstcxx . . $ Gst/::FileSinkcxx . . $ Gst/FileSink#*> (Glibcxx . . $ Glib/::wrap_autocxx . . $ Glib/wrap_auto(fd1af59aa43b0601). ((GObjectcxx . . $ GObject#*)(object), take_copy)) ); |
| 87 | //We use dynamic_cast<> in case of multiple inheritance. |
| 88 | } |
| 89 | |
| 90 | } /* namespace Glib */ |
| 91 | |
| 92 | |
| 93 | namespace Gstcxx . . $ Gst/ |
| 94 | { |
| 95 | |
| 96 | |
| 97 | /* The *_Class implementation: */ |
| 98 | |
| 99 | const Glibcxx . . $ Glib/::Classcxx . . $ Glib/Class#& FileSink_Classcxx . . $ Gst/FileSink_Class#::initcxx . . $ Gst/FileSink_Class#init(bf348c0cd369184d).() |
| 100 | { |
| 101 | if(!gtype_cxx . . $ Glib/Class#gtype_.) // create the GType if necessary |
| 102 | { |
| 103 | // Glib::Class has to know the class init function to clone custom types. |
| 104 | class_init_func_cxx . . $ Glib/Class#class_init_func_. = &FileSink_Classcxx . . $ Gst/FileSink_Class#::class_init_functioncxx . . $ Gst/FileSink_Class#class_init_function(6c58c5e2437d25a2).; |
| 105 | |
| 106 | // This is actually just optimized away, apparently with no harm. |
| 107 | // Make sure that the parent type has been created. |
| 108 | //CppClassParent::CppObjectType::get_type(); |
| 109 | |
| 110 | // Create the wrapper type, with the same class/instance size as the base type. |
| 111 | register_derived_typecxx . . $ Glib/Class#register_derived_type(2c44cd906ae4e829).(gst_file_sink_gstreamermm_get_type()); |
| 112 | |
| 113 | // Add derived versions of interfaces, if the C type implements any interfaces: |
| 114 | Gstcxx . . $ Gst/::URIHandlercxx . . $ Gst/URIHandler#::add_interfacecxx . . $ Gst/URIHandler#add_interface(2c44cd906ae4e829).(get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).()); |
| 115 | |
| 116 | } |
| 117 | |
| 118 | return *this; |
| 119 | } |
| 120 | |
| 121 | |
| 122 | void FileSink_Classcxx . . $ Gst/FileSink_Class#::class_init_functioncxx . . $ Gst/FileSink_Class#class_init_function(6c58c5e2437d25a2).(void* g_class, void* class_data) |
| 123 | { |
| 124 | const auto klass = static_cast<BaseClassTypecxx . . $ Gst/FileSink_Class#BaseClassType#*>(g_class); |
| 125 | CppClassParentcxx . . $ Gst/FileSink_Class#CppClassParent#::class_init_functioncxx . . $ Gst/BaseSink_Class#class_init_function(6c58c5e2437d25a2).(klass, class_data); |
| 126 | |
| 127 | |
| 128 | } |
| 129 | |
| 130 | |
| 131 | Glibcxx . . $ Glib/::ObjectBasecxx . . $ Glib/ObjectBase#* FileSink_Classcxx . . $ Gst/FileSink_Class#::wrap_newcxx . . $ Gst/FileSink_Class#wrap_new(893eec6d4349e251).(GObjectcxx . . $ GObject#* object) |
| 132 | { |
| 133 | return new FileSinkcxx . . $ Gst/FileSink#((GstFileSinkcxx . . $ GstFileSink#*)object); |
| 134 | } |
| 135 | |
| 136 | |
| 137 | /* The implementation: */ |
| 138 | |
| 139 | GstFileSinkcxx . . $ GstFileSink#* FileSinkcxx . . $ Gst/FileSink#::gobj_copycxx . . $ Gst/FileSink#gobj_copy(fe4776b7599c5a86).() |
| 140 | { |
| 141 | referencecxx . . $ Glib/ObjectBase#reference(83f5f38750778ac8).(); |
| 142 | return gobjcxx . . $ Gst/FileSink#gobj(fe4776b7599c5a86).(); |
| 143 | } |
| 144 | |
| 145 | FileSinkcxx . . $ Gst/FileSink#::FileSinkcxx . . $ Gst/FileSink#FileSink(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params) |
| 146 | : |
| 147 | Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#(construct_params) |
| 148 | { |
| 149 | |
| 150 | } |
| 151 | |
| 152 | FileSinkcxx . . $ Gst/FileSink#::FileSinkcxx . . $ Gst/FileSink#FileSink(48231cc801384065).(GstFileSinkcxx . . $ GstFileSink#* castitem) |
| 153 | : |
| 154 | Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#((GstBaseSinkcxx . . $ GstBaseSink#*)(castitem)) |
| 155 | {} |
| 156 | |
| 157 | |
| 158 | FileSinkcxx . . $ Gst/FileSink#::FileSinkcxx . . $ Gst/FileSink#FileSink(d557601db1107a65).(FileSinkcxx . . $ Gst/FileSink#&& src) noexcept |
| 159 | : Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 160 | , Gstcxx . . $ Gst/::URIHandlercxx . . $ Gst/URIHandler#(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)) |
| 161 | {} |
| 162 | |
| 163 | FileSinkcxx . . $ Gst/FileSink#& FileSinkcxx . . $ Gst/FileSink#::operatorcxx . . $ Gst/FileSink#`operator=`(5702119e969aba58).=(FileSinkcxx . . $ Gst/FileSink#&& src) noexcept |
| 164 | { |
| 165 | Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 166 | Gstcxx . . $ Gst/::URIHandlercxx . . $ Gst/URIHandler#::operator=(stdcxx . . $ std/::movecxx . . $ std/move(e35c19a1ba7baa26).(src)); |
| 167 | return *this; |
| 168 | } |
| 169 | |
| 170 | |
| 171 | FileSinkcxx . . $ Gst/FileSink#::~cxx . . $ Gst/FileSink#`~FileSink`(ced63f7c635d850d).FileSinkcxx . . $ Gst/FileSink#() noexcept |
| 172 | {} |
| 173 | |
| 174 | |
| 175 | FileSinkcxx . . $ Gst/FileSink#::CppClassTypecxx . . $ Gst/FileSink#CppClassType# FileSinkcxx . . $ Gst/FileSink#::filesink_class_cxx . . $ Gst/FileSink#filesink_class_.; // initialize static member |
| 176 | |
| 177 | GType FileSinkcxx . . $ Gst/FileSink#::get_typecxx . . $ Gst/FileSink#get_type(f708dce9a8856c70).() |
| 178 | { |
| 179 | return filesink_class_cxx . . $ Gst/FileSink#filesink_class_..initcxx . . $ Gst/FileSink_Class#init(bf348c0cd369184d).().get_typecxx . . $ Glib/Class#get_type(fe4d2d262d4164a8).(); |
| 180 | } |
| 181 | |
| 182 | |
| 183 | GType FileSinkcxx . . $ Gst/FileSink#::get_base_typecxx . . $ Gst/FileSink#get_base_type(f708dce9a8856c70).() |
| 184 | { |
| 185 | return gst_file_sink_gstreamermm_get_type(); |
| 186 | } |
| 187 | |
| 188 | |
| 189 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<FileSinkcxx . . $ Gst/FileSink#> FileSinkcxx . . $ Gst/FileSink#::createcxx . . $ Gst/FileSink#create(31d78999cef96de9).() |
| 190 | { |
| 191 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<FileSinkcxx . . $ Gst/FileSink#>( new FileSinkcxx . . $ Gst/FileSink#() ); |
| 192 | } |
| 193 | |
| 194 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<FileSinkcxx . . $ Gst/FileSink#> FileSinkcxx . . $ Gst/FileSink#::createcxx . . $ Gst/FileSink#create(21152b749ebfa03b).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) |
| 195 | { |
| 196 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<FileSinkcxx . . $ Gst/FileSink#>( new FileSinkcxx . . $ Gst/FileSink#(name) ); |
| 197 | } |
| 198 | |
| 199 | |
| 200 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > FileSinkcxx . . $ Gst/FileSink#::property_locationcxx . . $ Gst/FileSink#property_location(ee255b09b2ef680a).() |
| 201 | { |
| 202 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# >(this, "location"); |
| 203 | } |
| 204 | |
| 205 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > FileSinkcxx . . $ Gst/FileSink#::property_locationcxx . . $ Gst/FileSink#property_location(a4e4efe7e17f9e88).() const |
| 206 | { |
| 207 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# >(this, "location"); |
| 208 | } |
| 209 | |
| 210 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Gstcxx . . $ Gst/::FileSinkBufferModecxx . . $ Gst/FileSinkBufferMode# > FileSinkcxx . . $ Gst/FileSink#::property_buffer_modecxx . . $ Gst/FileSink#property_buffer_mode(24124efb1204e380).() |
| 211 | { |
| 212 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< Gstcxx . . $ Gst/::FileSinkBufferModecxx . . $ Gst/FileSinkBufferMode# >(this, "buffer-mode"); |
| 213 | } |
| 214 | |
| 215 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::FileSinkBufferModecxx . . $ Gst/FileSinkBufferMode# > FileSinkcxx . . $ Gst/FileSink#::property_buffer_modecxx . . $ Gst/FileSink#property_buffer_mode(d0a40ee328ed1afb).() const |
| 216 | { |
| 217 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::FileSinkBufferModecxx . . $ Gst/FileSinkBufferMode# >(this, "buffer-mode"); |
| 218 | } |
| 219 | |
| 220 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint > FileSinkcxx . . $ Gst/FileSink#::property_buffer_sizecxx . . $ Gst/FileSink#property_buffer_size(c06a410a81733cde).() |
| 221 | { |
| 222 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< guint >(this, "buffer-size"); |
| 223 | } |
| 224 | |
| 225 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint > FileSinkcxx . . $ Gst/FileSink#::property_buffer_sizecxx . . $ Gst/FileSink#property_buffer_size(9b12e6784ac5b9b).() const |
| 226 | { |
| 227 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint >(this, "buffer-size"); |
| 228 | } |
| 229 | |
| 230 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > FileSinkcxx . . $ Gst/FileSink#::property_appendcxx . . $ Gst/FileSink#property_append(962e4b383dc974dc).() |
| 231 | { |
| 232 | return Glibcxx . . $ Glib/PropertyProxy#PropertyProxy(8fef7c1e3cce9580).::PropertyProxycxx . . $ Glib/PropertyProxy#< bool >(this, "append"); |
| 233 | } |
| 234 | |
| 235 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > FileSinkcxx . . $ Gst/FileSink#::property_appendcxx . . $ Gst/FileSink#property_append(bb701360c56d84c7).() const |
| 236 | { |
| 237 | return Glibcxx . . $ Glib/PropertyProxy_ReadOnly#PropertyProxy_ReadOnly(80da6e7c9d760f8a).::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool >(this, "append"); |
| 238 | } |
| 239 | |
| 240 | |
| 241 | } // namespace Gst |
| 242 | |
| 243 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 244 | |
| 245 |