| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/filesink.h`/ |
| 2 | #ifndef _GSTREAMERMM_FILESINK_H |
| 3 | #define _GSTREAMERMM_FILESINK_Hcxx . . $ `gstreamer/gstreamermm/filesink.h:3:9`! |
| 4 | |
| 5 | #include <gstreamermmconfig.h>cxx . . $ `<file>/config.h`/ |
| 6 | |
| 7 | #ifndef GSTREAMERMM_DISABLE_DEPRECATED |
| 8 | |
| 9 | |
| 10 | #include <glibmm/ustring.h> |
| 11 | #include <sigc++/sigc++.h> |
| 12 | |
| 13 | // Generated by generate_plugin_gmmproc_file. Don't edit this file. |
| 14 | |
| 15 | |
| 16 | #include <gstreamermm/basesink.h>cxx . . $ `<file>/gstreamer/gstreamermm/basesink.h`/ |
| 17 | #include <gstreamermm/urihandler.h>cxx . . $ `<file>/gstreamer/gstreamermm/urihandler.h`/ |
| 18 | |
| 19 | |
| 20 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 21 | using GstFileSinkcxx . . $ GstFileSink# = struct _GstFileSinkcxx . . $ _GstFileSink#; |
| 22 | using GstFileSinkClasscxx . . $ GstFileSinkClass# = struct _GstFileSinkClasscxx . . $ _GstFileSinkClass#; |
| 23 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 24 | |
| 25 | |
| 26 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 27 | namespace Gstcxx . . $ Gst/ |
| 28 | { class FileSink_Classcxx . . $ Gst/FileSink_Class#; } // namespace Gst |
| 29 | #endif //DOXYGEN_SHOULD_SKIP_THIS |
| 30 | |
| 31 | namespace Gstcxx . . $ Gst/ |
| 32 | { |
| 33 | |
| 34 | /** @addtogroup gstreamermmEnums gstreamermm Enums and Flags */ |
| 35 | |
| 36 | /** |
| 37 | * |
| 38 | * @ingroup gstreamermmEnums |
| 39 | */ |
| 40 | enum FileSinkBufferModecxx . . $ Gst/FileSinkBufferMode# |
| 41 | { |
| 42 | FILE_SINK_BUFFER_MODE_DEFAULTcxx . . $ Gst/FILE_SINK_BUFFER_MODE_DEFAULT. = -1, |
| 43 | FILE_SINK_BUFFER_MODE_FULLcxx . . $ Gst/FILE_SINK_BUFFER_MODE_FULL. = _IOFBFcxx . . $ `<external>/232824719582829767/stdio.h:94:9`!, |
| 44 | FILE_SINK_BUFFER_MODE_LINEcxx . . $ Gst/FILE_SINK_BUFFER_MODE_LINE. = _IOLBFcxx . . $ `<external>/232824719582829767/stdio.h:95:9`!, |
| 45 | FILE_SINK_BUFFER_MODE_UNBUFFEREDcxx . . $ Gst/FILE_SINK_BUFFER_MODE_UNBUFFERED. = _IONBFcxx . . $ `<external>/232824719582829767/stdio.h:96:9`! |
| 46 | }; |
| 47 | |
| 48 | } // namespace Gst |
| 49 | |
| 50 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 51 | namespace Glibcxx . . $ Glib/ |
| 52 | { |
| 53 | |
| 54 | template <> |
| 55 | class Valuecxx . . $ Glib/Value#<Gstcxx . . $ Gst/::FileSinkBufferModecxx . . $ Gst/FileSinkBufferMode#> : public Glibcxx . . $ Glib/::Value_Enumcxx . . $ Glib/Value_Enum#<Gstcxx . . $ Gst/::FileSinkBufferModecxx . . $ Gst/FileSinkBufferMode#> |
| 56 | { |
| 57 | public: |
| 58 | static GType value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `gstreamer/gstreamermm/wrap_init.cc:9:9`!; |
| 59 | }; |
| 60 | |
| 61 | } // namespace Glib |
| 62 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 63 | |
| 64 | namespace Gstcxx . . $ Gst/ |
| 65 | { |
| 66 | |
| 67 | |
| 68 | /** A Wrapper for the filesink plugin. |
| 69 | * Please note that not all plug-ins are available on all systems so care |
| 70 | * must be taken that they exist before they are used otherwise there will |
| 71 | * be errors and possibly a crash. |
| 72 | * |
| 73 | * @ingroup GstPlugins |
| 74 | * @deprecated Plugins API is deprecated, and should not be used in a new code. |
| 75 | */ |
| 76 | |
| 77 | class FileSinkcxx . . $ Gst/FileSink# |
| 78 | : public Gstcxx . . $ Gst/::BaseSinkcxx . . $ Gst/BaseSink#, public Gstcxx . . $ Gst/::URIHandlercxx . . $ Gst/URIHandler# |
| 79 | { |
| 80 | |
| 81 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 82 | |
| 83 | public: |
| 84 | using CppObjectTypecxx . . $ Gst/FileSink#CppObjectType# = FileSinkcxx . . $ Gst/FileSink#; |
| 85 | using CppClassTypecxx . . $ Gst/FileSink#CppClassType# = FileSink_Classcxx . . $ Gst/FileSink_Class#; |
| 86 | using BaseObjectTypecxx . . $ Gst/FileSink#BaseObjectType# = GstFileSinkcxx . . $ GstFileSink#; |
| 87 | using BaseClassTypecxx . . $ Gst/FileSink#BaseClassType# = GstFileSinkClasscxx . . $ GstFileSinkClass#; |
| 88 | |
| 89 | // noncopyable |
| 90 | FileSinkcxx . . $ Gst/FileSink#FileSink(ef979d888def48e0).(const FileSinkcxx . . $ Gst/FileSink#&) = delete; |
| 91 | FileSinkcxx . . $ Gst/FileSink#& operatorcxx . . $ Gst/FileSink#`operator=`(27d758fbda812908).=(const FileSinkcxx . . $ Gst/FileSink#&) = delete; |
| 92 | |
| 93 | private: friend class FileSink_Classcxx . . $ Gst/FileSink_Class#; |
| 94 | static CppClassTypecxx . . $ Gst/FileSink#CppClassType# filesink_class_cxx . . $ Gst/FileSink#filesink_class_.; |
| 95 | |
| 96 | protected: |
| 97 | explicit FileSinkcxx . . $ Gst/FileSink#FileSink(237165b4a42a691a).(const Glibcxx . . $ Glib/::ConstructParamscxx . . $ Glib/ConstructParams#& construct_params); |
| 98 | explicit FileSinkcxx . . $ Gst/FileSink#FileSink(48231cc801384065).(GstFileSinkcxx . . $ GstFileSink#* castitem); |
| 99 | |
| 100 | #endif /* DOXYGEN_SHOULD_SKIP_THIS */ |
| 101 | |
| 102 | public: |
| 103 | |
| 104 | FileSinkcxx . . $ Gst/FileSink#FileSink(d557601db1107a65).(FileSinkcxx . . $ Gst/FileSink#&& src) noexcept; |
| 105 | FileSinkcxx . . $ Gst/FileSink#& operatorcxx . . $ Gst/FileSink#`operator=`(5702119e969aba58).=(FileSinkcxx . . $ Gst/FileSink#&& src) noexcept; |
| 106 | |
| 107 | ~cxx . . $ Gst/FileSink#`~FileSink`(ced63f7c635d850d).FileSinkcxx . . $ Gst/FileSink#() noexcept override; |
| 108 | |
| 109 | /** Get the GType for this class, for use with the underlying GObject type system. |
| 110 | */ |
| 111 | static GType get_typecxx . . $ Gst/FileSink#get_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `gstreamer/gstreamermm/wrap_init.cc:9:9`!; |
| 112 | |
| 113 | #ifndef DOXYGEN_SHOULD_SKIP_THIS |
| 114 | |
| 115 | |
| 116 | static GType get_base_typecxx . . $ Gst/FileSink#get_base_type(f708dce9a8856c70).() G_GNUC_CONSTcxx . . $ `gstreamer/gstreamermm/wrap_init.cc:9:9`!; |
| 117 | #endif |
| 118 | |
| 119 | ///Provides access to the underlying C GObject. |
| 120 | GstFileSinkcxx . . $ GstFileSink#* gobjcxx . . $ Gst/FileSink#gobj(fe4776b7599c5a86).() { return reinterpret_cast<GstFileSinkcxx . . $ GstFileSink#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); } |
| 121 | |
| 122 | ///Provides access to the underlying C GObject. |
| 123 | const GstFileSinkcxx . . $ GstFileSink#* gobjcxx . . $ Gst/FileSink#gobj(3ffc713ae05a5d39).() const { return reinterpret_cast<GstFileSinkcxx . . $ GstFileSink#*>(gobject_cxx . . $ Glib/ObjectBase#gobject_.); } |
| 124 | |
| 125 | ///Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. |
| 126 | GstFileSinkcxx . . $ GstFileSink#* gobj_copycxx . . $ Gst/FileSink#gobj_copy(fe4776b7599c5a86).(); |
| 127 | |
| 128 | private: |
| 129 | |
| 130 | |
| 131 | protected: |
| 132 | FileSinkcxx . . $ Gst/FileSink#FileSink(49f6e7a06ebc5aa8).(); |
| 133 | explicit FileSinkcxx . . $ Gst/FileSink#FileSink(1ff0bff2cee2bc51).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name); |
| 134 | |
| 135 | public: |
| 136 | /** Creates a new filesink plugin with a unique name. |
| 137 | */ |
| 138 | |
| 139 | static Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<FileSinkcxx . . $ Gst/FileSink#> createcxx . . $ Gst/FileSink#create(31d78999cef96de9).(); |
| 140 | |
| 141 | |
| 142 | /** Creates a new filesink plugin with the given name. |
| 143 | */ |
| 144 | |
| 145 | static Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<FileSinkcxx . . $ Gst/FileSink#> createcxx . . $ Gst/FileSink#create(21152b749ebfa03b).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name); |
| 146 | |
| 147 | |
| 148 | /** Location of the file to write. |
| 149 | * |
| 150 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 151 | * or receive notification when the value of the property changes. |
| 152 | */ |
| 153 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > property_locationcxx . . $ Gst/FileSink#property_location(ee255b09b2ef680a).() ; |
| 154 | |
| 155 | /** Location of the file to write. |
| 156 | * |
| 157 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 158 | * or receive notification when the value of the property changes. |
| 159 | */ |
| 160 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# > property_locationcxx . . $ Gst/FileSink#property_location(a4e4efe7e17f9e88).() const; |
| 161 | |
| 162 | /** The buffering mode to use. |
| 163 | * |
| 164 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 165 | * or receive notification when the value of the property changes. |
| 166 | */ |
| 167 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< Gstcxx . . $ Gst/::FileSinkBufferModecxx . . $ Gst/FileSinkBufferMode# > property_buffer_modecxx . . $ Gst/FileSink#property_buffer_mode(24124efb1204e380).() ; |
| 168 | |
| 169 | /** The buffering mode to use. |
| 170 | * |
| 171 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 172 | * or receive notification when the value of the property changes. |
| 173 | */ |
| 174 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< Gstcxx . . $ Gst/::FileSinkBufferModecxx . . $ Gst/FileSinkBufferMode# > property_buffer_modecxx . . $ Gst/FileSink#property_buffer_mode(d0a40ee328ed1afb).() const; |
| 175 | |
| 176 | /** Size of buffer in number of bytes for line or full buffer-mode. |
| 177 | * |
| 178 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 179 | * or receive notification when the value of the property changes. |
| 180 | */ |
| 181 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< guint > property_buffer_sizecxx . . $ Gst/FileSink#property_buffer_size(c06a410a81733cde).() ; |
| 182 | |
| 183 | /** Size of buffer in number of bytes for line or full buffer-mode. |
| 184 | * |
| 185 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 186 | * or receive notification when the value of the property changes. |
| 187 | */ |
| 188 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< guint > property_buffer_sizecxx . . $ Gst/FileSink#property_buffer_size(9b12e6784ac5b9b).() const; |
| 189 | |
| 190 | /** Append to an already existing file. |
| 191 | * |
| 192 | * @return A PropertyProxy that allows you to get or set the value of the property, |
| 193 | * or receive notification when the value of the property changes. |
| 194 | */ |
| 195 | Glibcxx . . $ Glib/::PropertyProxycxx . . $ Glib/PropertyProxy#< bool > property_appendcxx . . $ Gst/FileSink#property_append(962e4b383dc974dc).() ; |
| 196 | |
| 197 | /** Append to an already existing file. |
| 198 | * |
| 199 | * @return A PropertyProxy_ReadOnly that allows you to get the value of the property, |
| 200 | * or receive notification when the value of the property changes. |
| 201 | */ |
| 202 | Glibcxx . . $ Glib/::PropertyProxy_ReadOnlycxx . . $ Glib/PropertyProxy_ReadOnly#< bool > property_appendcxx . . $ Gst/FileSink#property_append(bb701360c56d84c7).() const; |
| 203 | |
| 204 | |
| 205 | public: |
| 206 | |
| 207 | public: |
| 208 | //C++ methods used to invoke GTK+ virtual functions: |
| 209 | |
| 210 | protected: |
| 211 | //GTK+ Virtual Functions (override these to change behaviour): |
| 212 | |
| 213 | //Default Signal Handlers:: |
| 214 | |
| 215 | |
| 216 | }; |
| 217 | |
| 218 | } // namespace Gst |
| 219 | |
| 220 | |
| 221 | namespace Glibcxx . . $ Glib/ |
| 222 | { |
| 223 | /** A Glib::wrap() method for this object. |
| 224 | * |
| 225 | * @param object The C instance. |
| 226 | * @param take_copy False if the result should take ownership of the C instance. True if it should take a new copy or ref. |
| 227 | * @result A C++ instance that wraps this C instance. |
| 228 | * |
| 229 | * @relates Gst::FileSink |
| 230 | */ |
| 231 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::FileSinkcxx . . $ Gst/FileSink#> wrapcxx . . $ Glib/wrap(d00d07cf5dba2397).(GstFileSinkcxx . . $ GstFileSink#* object, bool take_copy = false); |
| 232 | } |
| 233 | |
| 234 | |
| 235 | #endif // GSTREAMERMM_DISABLE_DEPRECATED |
| 236 | |
| 237 | |
| 238 | #endif /* _GSTREAMERMM_FILESINK_H */ |
| 239 |