| 1 | // Generated by gmmproc 2.50.1 -- DO NOT MODIFY!cxx . . $ `<file>/gstreamer/gstreamermm/event.cc`/ |
| 2 | |
| 3 | |
| 4 | #include <glibmm.h> |
| 5 | |
| 6 | #include <gstreamermm/event.h>cxx . . $ `<file>/gstreamer/gstreamermm/event.h`/ |
| 7 | #include <gstreamermm/private/event_p.h>cxx . . $ `<file>/gstreamer/gstreamermm/private/event_p.h`/ |
| 8 | |
| 9 | |
| 10 | /* gstreamermm - a C++ wrapper for gstreamer |
| 11 | * |
| 12 | * Copyright 2008-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 <gst/gst.h> |
| 30 | #include <gstreamermm/message.h>cxx . . $ `<file>/gstreamer/gstreamermm/message.h`/ |
| 31 | #include <gstreamermm/structure.h>cxx . . $ `<file>/gstreamer/gstreamermm/structure.h`/ |
| 32 | #include <gstreamermm/taglist.h>cxx . . $ `<file>/gstreamer/gstreamermm/taglist.h`/ |
| 33 | #include <gstreamermm/buffer.h>cxx . . $ `<file>/gstreamer/gstreamermm/buffer.h`/ |
| 34 | #include <gstreamermm/toc.h>cxx . . $ `<file>/gstreamer/gstreamermm/toc.h`/ |
| 35 | |
| 36 | #include <iostream> |
| 37 | |
| 38 | namespace Gstcxx . . $ Gst/ |
| 39 | { |
| 40 | |
| 41 | namespace Enumscxx . . $ Gst/Enums/ |
| 42 | { |
| 43 | |
| 44 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# get_namecxx . . $ Gst/Enums/get_name(344a52391065f05b).(EventTypecxx . . $ Gst/EventType# t) |
| 45 | { |
| 46 | return gst_event_type_get_namecxx . . $ Glib/ustring#ustring(85c52e162fed56f9).(GstEventType(t)); |
| 47 | } |
| 48 | |
| 49 | Glibcxx . . $ Glib/::QueryQuarkcxx . . $ Glib/QueryQuark# get_quarkcxx . . $ Gst/Enums/get_quark(81eae298f8d91fa6).(EventTypecxx . . $ Gst/EventType# t) |
| 50 | { |
| 51 | return Glibcxx . . $ Glib/::QueryQuarkcxx . . $ Glib/QueryQuark#(gst_event_type_to_quark(GstEventType(t))); |
| 52 | } |
| 53 | |
| 54 | EventTypeFlagscxx . . $ Gst/EventTypeFlags# get_flagscxx . . $ Gst/Enums/get_flags(6a2c57989e55cb7a).(EventTypecxx . . $ Gst/EventType# t) |
| 55 | { |
| 56 | return static_cast<EventTypeFlagscxx . . $ Gst/EventTypeFlags#>(gst_event_type_get_flags(static_cast<GstEventType>(t))); |
| 57 | } |
| 58 | |
| 59 | } //namespace Enums |
| 60 | |
| 61 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#> Eventcxx . . $ Gst/Event#::create_writablecxx . . $ Gst/Event#create_writable(4f53527c86b80796).() |
| 62 | { |
| 63 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Event>::cast_staticcxx . . $ Glib/RefPtr#cast_static(2cd494c2134fb4a5).(MiniObjectcxx . . $ Gst/MiniObject#::create_writablecxx . . $ Gst/MiniObject#create_writable(92f2c868643191bf).()); |
| 64 | } |
| 65 | |
| 66 | bool Eventcxx . . $ Gst/Event#::is_downstreamcxx . . $ Gst/Event#is_downstream(50ce9a9e25b4a850).() const |
| 67 | { |
| 68 | return GST_EVENT_IS_DOWNSTREAMcxx . . $ `<external>/16760421386521248128/gstevent.h:293:9`!(gobj()); |
| 69 | } |
| 70 | |
| 71 | bool Eventcxx . . $ Gst/Event#::is_upstreamcxx . . $ Gst/Event#is_upstream(50ce9a9e25b4a850).() const |
| 72 | { |
| 73 | return GST_EVENT_IS_UPSTREAMcxx . . $ `<external>/16760421386521248128/gstevent.h:286:9`!(gobj()); |
| 74 | } |
| 75 | |
| 76 | bool Eventcxx . . $ Gst/Event#::is_serializedcxx . . $ Gst/Event#is_serialized(50ce9a9e25b4a850).() const |
| 77 | { |
| 78 | return GST_EVENT_IS_SERIALIZEDcxx . . $ `<external>/16760421386521248128/gstevent.h:300:9`!(gobj()); |
| 79 | } |
| 80 | |
| 81 | bool EventFlushStopcxx . . $ Gst/EventFlushStop#::parse_reset_timecxx . . $ Gst/EventFlushStop#parse_reset_time(50ce9a9e25b4a850).() const |
| 82 | { |
| 83 | gboolean reset_time; |
| 84 | gst_event_parse_flush_stop(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &reset_time); |
| 85 | return reset_time; |
| 86 | } |
| 87 | |
| 88 | Gstcxx . . $ Gst/::TagListcxx . . $ Gst/TagList# EventTagcxx . . $ Gst/EventTag#::parse_tag_listcxx . . $ Gst/EventTag#parse_tag_list(889ac80de6f12e04).() const |
| 89 | { |
| 90 | GstTagList* gst_taglist = gst_tag_list_new_empty(); |
| 91 | gst_event_parse_tag(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_taglist); |
| 92 | return Gstcxx . . $ Gst/::TagListcxx . . $ Gst/TagList#(gst_taglist); |
| 93 | } |
| 94 | |
| 95 | void EventBufferSizecxx . . $ Gst/EventBufferSize#::parsecxx . . $ Gst/EventBufferSize#parse(893f8d4810d373ca).(Formatcxx . . $ Gst/Format#& format, gint64& minsize, gint64& maxsize, |
| 96 | bool& async) const |
| 97 | { |
| 98 | gboolean gst_async = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 99 | gst_event_parse_buffer_size(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), |
| 100 | (GstFormat*)&format, &minsize, &maxsize, &gst_async); |
| 101 | async = gst_async; |
| 102 | } |
| 103 | |
| 104 | gint64 EventBufferSizecxx . . $ Gst/EventBufferSize#::parse_min_sizecxx . . $ Gst/EventBufferSize#parse_min_size(57a65ae535d7db84).() const |
| 105 | { |
| 106 | gint64 gst_minsize = 0; |
| 107 | gst_event_parse_buffer_size(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), 0, &gst_minsize, |
| 108 | nullptr, nullptr); |
| 109 | return gst_minsize; |
| 110 | } |
| 111 | |
| 112 | Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# EventBufferSizecxx . . $ Gst/EventBufferSize#::parse_formatcxx . . $ Gst/EventBufferSize#parse_format(ea732059a5a183c8).() const |
| 113 | { |
| 114 | GstFormat gst_format = GST_FORMAT_UNDEFINED; |
| 115 | gst_event_parse_buffer_size(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), |
| 116 | reinterpret_cast<GstFormat*>(&gst_format), 0, 0, 0); |
| 117 | return static_cast<Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format#>(gst_format); |
| 118 | } |
| 119 | |
| 120 | gint64 EventBufferSizecxx . . $ Gst/EventBufferSize#::parse_max_sizecxx . . $ Gst/EventBufferSize#parse_max_size(57a65ae535d7db84).() const |
| 121 | { |
| 122 | gint64 gst_maxsize = 0; |
| 123 | gst_event_parse_buffer_size(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), 0, 0, |
| 124 | &gst_maxsize, 0); |
| 125 | return gst_maxsize; |
| 126 | } |
| 127 | |
| 128 | bool EventBufferSizecxx . . $ Gst/EventBufferSize#::parse_asynccxx . . $ Gst/EventBufferSize#parse_async(50ce9a9e25b4a850).() const |
| 129 | { |
| 130 | gboolean gst_async = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 131 | gst_event_parse_buffer_size(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), 0, 0, 0, &gst_async); |
| 132 | return gst_async; |
| 133 | } |
| 134 | |
| 135 | void EventQoscxx . . $ Gst/EventQos#::parsecxx . . $ Gst/EventQos#parse(3f07720af207192d).(Gstcxx . . $ Gst/::QOSTypecxx . . $ Gst/QOSType#& type, double& proportion, ClockTimeDiffcxx . . $ Gst/ClockTimeDiff#& diff, |
| 136 | ClockTimecxx . . $ Gst/ClockTime#& timestamp) const |
| 137 | { |
| 138 | gst_event_parse_qos(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), (GstQOSType*)&type, &proportion, &diff, |
| 139 | ×tamp); |
| 140 | } |
| 141 | |
| 142 | QOSTypecxx . . $ Gst/QOSType# EventQoscxx . . $ Gst/EventQos#::parse_typecxx . . $ Gst/EventQos#parse_type(88f68f8b8dbbe5ff).() const |
| 143 | { |
| 144 | GstQOSType type; |
| 145 | gst_event_parse_qos(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &type, nullptr, nullptr, nullptr); |
| 146 | return static_cast<Gstcxx . . $ Gst/::QOSTypecxx . . $ Gst/QOSType#>(type); |
| 147 | } |
| 148 | |
| 149 | double EventQoscxx . . $ Gst/EventQos#::parse_proportioncxx . . $ Gst/EventQos#parse_proportion(21b6c25e127938e2).() const |
| 150 | { |
| 151 | double gst_proportion = 0; |
| 152 | gst_event_parse_qos(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, &gst_proportion, nullptr, nullptr); |
| 153 | return gst_proportion; |
| 154 | } |
| 155 | |
| 156 | Gstcxx . . $ Gst/::ClockTimeDiffcxx . . $ Gst/ClockTimeDiff# EventQoscxx . . $ Gst/EventQos#::parse_diffcxx . . $ Gst/EventQos#parse_diff(57a65ae535d7db84).() const |
| 157 | { |
| 158 | GstClockTimeDiff gst_diff = 0; |
| 159 | gst_event_parse_qos(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, &gst_diff, nullptr); |
| 160 | return gst_diff; |
| 161 | } |
| 162 | |
| 163 | Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# EventQoscxx . . $ Gst/EventQos#::parse_timestampcxx . . $ Gst/EventQos#parse_timestamp(fe4d2d262d4164a8).() const |
| 164 | { |
| 165 | GstClockTime gst_timestamp = 0; |
| 166 | gst_event_parse_qos(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, nullptr, &gst_timestamp); |
| 167 | return gst_timestamp; |
| 168 | } |
| 169 | |
| 170 | void EventSeekcxx . . $ Gst/EventSeek#::parsecxx . . $ Gst/EventSeek#parse(ea2e0c7ec6320b36).(double& rate, Formatcxx . . $ Gst/Format#& format, SeekFlagscxx . . $ Gst/SeekFlags#& flags, |
| 171 | SeekTypecxx . . $ Gst/SeekType#& start_type, gint64& start, SeekTypecxx . . $ Gst/SeekType#& stop_type, gint64& stop) const |
| 172 | { |
| 173 | gst_event_parse_seek(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &rate, |
| 174 | (GstFormat*)&format, (GstSeekFlags*)&flags, (GstSeekType*)&start_type, |
| 175 | &start, (GstSeekType*)&stop_type, &stop); |
| 176 | } |
| 177 | |
| 178 | gint64 EventSeekcxx . . $ Gst/EventSeek#::parse_startcxx . . $ Gst/EventSeek#parse_start(57a65ae535d7db84).() const |
| 179 | { |
| 180 | gint64 gst_start = 0; |
| 181 | gst_event_parse_seek(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, nullptr, nullptr, &gst_start, |
| 182 | nullptr, nullptr); |
| 183 | return gst_start; |
| 184 | } |
| 185 | |
| 186 | double EventSeekcxx . . $ Gst/EventSeek#::parse_ratecxx . . $ Gst/EventSeek#parse_rate(21b6c25e127938e2).() const |
| 187 | { |
| 188 | double gst_rate = 0; |
| 189 | gst_event_parse_seek(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_rate, nullptr, nullptr, nullptr, nullptr, |
| 190 | nullptr, nullptr); |
| 191 | return gst_rate; |
| 192 | } |
| 193 | |
| 194 | Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# EventSeekcxx . . $ Gst/EventSeek#::parse_formatcxx . . $ Gst/EventSeek#parse_format(ea732059a5a183c8).() const |
| 195 | { |
| 196 | GstFormat gst_format = GST_FORMAT_UNDEFINED; |
| 197 | gst_event_parse_seek(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, &gst_format, nullptr, nullptr, nullptr, |
| 198 | nullptr, nullptr); |
| 199 | return static_cast<Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format#>(gst_format); |
| 200 | } |
| 201 | |
| 202 | Gstcxx . . $ Gst/::SeekFlagscxx . . $ Gst/SeekFlags# EventSeekcxx . . $ Gst/EventSeek#::parse_flagscxx . . $ Gst/EventSeek#parse_flags(70f9705494ab9bae).() const |
| 203 | { |
| 204 | GstSeekFlags gst_flags = GST_SEEK_FLAG_NONE; |
| 205 | gst_event_parse_seek(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, &gst_flags, nullptr, nullptr, |
| 206 | nullptr, nullptr); |
| 207 | return static_cast<Gstcxx . . $ Gst/::SeekFlagscxx . . $ Gst/SeekFlags#>(gst_flags); |
| 208 | } |
| 209 | |
| 210 | Gstcxx . . $ Gst/::SeekTypecxx . . $ Gst/SeekType# EventSeekcxx . . $ Gst/EventSeek#::parse_start_typecxx . . $ Gst/EventSeek#parse_start_type(4285c3f20afe4d5).() const |
| 211 | { |
| 212 | GstSeekType gst_type = GST_SEEK_TYPE_NONE; |
| 213 | gst_event_parse_seek(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, nullptr, &gst_type, nullptr, |
| 214 | nullptr, nullptr); |
| 215 | return static_cast<Gstcxx . . $ Gst/::SeekTypecxx . . $ Gst/SeekType#>(gst_type); |
| 216 | } |
| 217 | |
| 218 | Gstcxx . . $ Gst/::SeekTypecxx . . $ Gst/SeekType# EventSeekcxx . . $ Gst/EventSeek#::parse_stop_typecxx . . $ Gst/EventSeek#parse_stop_type(4285c3f20afe4d5).() const |
| 219 | { |
| 220 | GstSeekType gst_type = GST_SEEK_TYPE_NONE; |
| 221 | gst_event_parse_seek(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, nullptr, nullptr, nullptr, &gst_type, |
| 222 | nullptr); |
| 223 | return static_cast<Gstcxx . . $ Gst/::SeekTypecxx . . $ Gst/SeekType#>(gst_type); |
| 224 | } |
| 225 | |
| 226 | gint64 EventSeekcxx . . $ Gst/EventSeek#::parse_stopcxx . . $ Gst/EventSeek#parse_stop(57a65ae535d7db84).() const |
| 227 | { |
| 228 | gint64 gst_stop = 0; |
| 229 | gst_event_parse_seek(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, nullptr, nullptr, nullptr, nullptr, |
| 230 | &gst_stop); |
| 231 | return gst_stop; |
| 232 | } |
| 233 | |
| 234 | ClockTimecxx . . $ Gst/ClockTime# EventLatencycxx . . $ Gst/EventLatency#::parse_latencycxx . . $ Gst/EventLatency#parse_latency(fe4d2d262d4164a8).() const |
| 235 | { |
| 236 | GstClockTime gst_latency = 0; |
| 237 | gst_event_parse_latency(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_latency); |
| 238 | return gst_latency; |
| 239 | } |
| 240 | |
| 241 | void EventStepcxx . . $ Gst/EventStep#::parsecxx . . $ Gst/EventStep#parse(3d19cec6db991d37).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format#& format, guint64& amount, double& rate, |
| 242 | bool& flush, bool& intermediate) const |
| 243 | { |
| 244 | gboolean gst_flush = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 245 | gboolean gst_intermediate = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 246 | |
| 247 | gst_event_parse_step(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), |
| 248 | reinterpret_cast<GstFormat*>(&format), &amount, &rate, &gst_flush, |
| 249 | &gst_intermediate); |
| 250 | |
| 251 | flush = gst_flush; |
| 252 | intermediate = gst_intermediate; |
| 253 | } |
| 254 | |
| 255 | guint64 EventStepcxx . . $ Gst/EventStep#::parse_amountcxx . . $ Gst/EventStep#parse_amount(fe4d2d262d4164a8).() const |
| 256 | { |
| 257 | guint64 gst_amount = 0; |
| 258 | gst_event_parse_step(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, &gst_amount, nullptr, nullptr, nullptr); |
| 259 | return gst_amount; |
| 260 | } |
| 261 | |
| 262 | Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# EventStepcxx . . $ Gst/EventStep#::parse_formatcxx . . $ Gst/EventStep#parse_format(ea732059a5a183c8).() const |
| 263 | { |
| 264 | GstFormat gst_format = GST_FORMAT_UNDEFINED; |
| 265 | gst_event_parse_step(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_format, nullptr, nullptr, nullptr, nullptr); |
| 266 | return static_cast<Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format#>(gst_format); |
| 267 | } |
| 268 | |
| 269 | double EventStepcxx . . $ Gst/EventStep#::parse_ratecxx . . $ Gst/EventStep#parse_rate(21b6c25e127938e2).() const |
| 270 | { |
| 271 | double gst_rate = 0; |
| 272 | gst_event_parse_step(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, &gst_rate, nullptr, nullptr); |
| 273 | return gst_rate; |
| 274 | } |
| 275 | |
| 276 | bool EventStepcxx . . $ Gst/EventStep#::parse_flushcxx . . $ Gst/EventStep#parse_flush(50ce9a9e25b4a850).() const |
| 277 | { |
| 278 | gboolean gst_flush = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 279 | gst_event_parse_step(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, nullptr, &gst_flush, nullptr); |
| 280 | return gst_flush; |
| 281 | } |
| 282 | |
| 283 | bool EventStepcxx . . $ Gst/EventStep#::parse_intermediatecxx . . $ Gst/EventStep#parse_intermediate(50ce9a9e25b4a850).() const |
| 284 | { |
| 285 | gboolean gst_intermediate = FALSEcxx . . $ `<external>/12741050725406041920/gmacros.h:967:9`!; |
| 286 | gst_event_parse_step(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, nullptr, nullptr, |
| 287 | &gst_intermediate); |
| 288 | return gst_intermediate; |
| 289 | } |
| 290 | |
| 291 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> EventSinkMessagecxx . . $ Gst/EventSinkMessage#::parse_messagecxx . . $ Gst/EventSinkMessage#parse_message(e58b3417369805ec).() |
| 292 | { |
| 293 | GstMessage* gst_msg = nullptr; |
| 294 | gst_event_parse_sink_message(gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).(), &gst_msg); |
| 295 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3a0ccda0f9016168).(gst_msg); |
| 296 | } |
| 297 | |
| 298 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#> EventSinkMessagecxx . . $ Gst/EventSinkMessage#::parse_messagecxx . . $ Gst/EventSinkMessage#parse_message(a9d94273d2c2ea0).() const |
| 299 | { |
| 300 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<Gstcxx . . $ Gst/::EventSinkMessagecxx . . $ Gst/EventSinkMessage#*>(this)->parse_messagecxx . . $ Gst/EventSinkMessage#parse_message(e58b3417369805ec).(); |
| 301 | } |
| 302 | |
| 303 | void EventToccxx . . $ Gst/EventToc#::parsecxx . . $ Gst/EventToc#parse(3844746d8085062).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Toccxx . . $ Gst/Toc#>& toc, bool& updated) |
| 304 | { |
| 305 | GstToc *gst_toc = nullptr; |
| 306 | gboolean gst_updated; |
| 307 | gst_event_parse_toc(gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).(), &gst_toc, &gst_updated); |
| 308 | updated = gst_updated; |
| 309 | toc =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(a2b812a7994713a8).(gst_toc); |
| 310 | } |
| 311 | |
| 312 | void EventToccxx . . $ Gst/EventToc#::parsecxx . . $ Gst/EventToc#parse(aa2313289a0f098).(Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Toccxx . . $ Gst/Toc#>& toc, bool& updated) const |
| 313 | { |
| 314 | const_cast<EventToccxx . . $ Gst/EventToc#*>(this)->parsecxx . . $ Gst/EventToc#parse(aa2313289a0f098).(toc, updated); |
| 315 | } |
| 316 | |
| 317 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Toccxx . . $ Gst/Toc#> EventToccxx . . $ Gst/EventToc#::parse_toccxx . . $ Gst/EventToc#parse_toc(174552d3434c3ab1).() |
| 318 | { |
| 319 | GstToc *gst_toc = nullptr; |
| 320 | gst_event_parse_toc(gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).(), &gst_toc, nullptr); |
| 321 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(a2b812a7994713a8).(gst_toc); |
| 322 | } |
| 323 | |
| 324 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Toccxx . . $ Gst/Toc#> EventToccxx . . $ Gst/EventToc#::parse_toccxx . . $ Gst/EventToc#parse_toc(c0db9e3169f78816).() const |
| 325 | { |
| 326 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<EventToccxx . . $ Gst/EventToc#*>(this)->parse_toccxx . . $ Gst/EventToc#parse_toc(174552d3434c3ab1).(); |
| 327 | } |
| 328 | |
| 329 | bool EventToccxx . . $ Gst/EventToc#::parse_updatedcxx . . $ Gst/EventToc#parse_updated(50ce9a9e25b4a850).() const |
| 330 | { |
| 331 | gboolean gst_updated; |
| 332 | gst_event_parse_toc(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, &gst_updated); |
| 333 | return gst_updated; |
| 334 | } |
| 335 | |
| 336 | void EventProtectioncxx . . $ Gst/EventProtection#::parsecxx . . $ Gst/EventProtection#parse(99c49474ab20151f).(Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& system_id, Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& data, Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& origin) const |
| 337 | { |
| 338 | const gchar *gst_system_id = nullptr, *gst_origin = nullptr; |
| 339 | GstBuffer *gst_buffer; |
| 340 | gst_event_parse_protection(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_system_id, &gst_buffer, &gst_origin); |
| 341 | system_id =cxx . . $ Glib/ustring#`operator=`(6082a55360a9226). gst_system_id; |
| 342 | data =cxx . . $ Glib/RefPtr#`operator=`(dc512bde7586264e). Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(gst_buffer, true); |
| 343 | origin =cxx . . $ Glib/ustring#`operator=`(6082a55360a9226). gst_origin; |
| 344 | } |
| 345 | |
| 346 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EventProtectioncxx . . $ Gst/EventProtection#::parse_system_idcxx . . $ Gst/EventProtection#parse_system_id(fff0f585954e56f3).() const |
| 347 | { |
| 348 | const gchar *gst_system_id = nullptr; |
| 349 | gst_event_parse_protection(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_system_id, nullptr, nullptr); |
| 350 | return Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#(gst_system_id); |
| 351 | } |
| 352 | |
| 353 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> EventProtectioncxx . . $ Gst/EventProtection#::parse_datacxx . . $ Gst/EventProtection#parse_data(6fb1b7a5ca7b7240).() |
| 354 | { |
| 355 | GstBuffer* gst_data = nullptr; |
| 356 | gst_event_parse_protection(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).()), nullptr, &gst_data, nullptr); |
| 357 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(3c551c778c6a14a5).(gst_data, true); |
| 358 | } |
| 359 | |
| 360 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#> EventProtectioncxx . . $ Gst/EventProtection#::parse_datacxx . . $ Gst/EventProtection#parse_data(9e6c469e1d332735).() const |
| 361 | { |
| 362 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<EventProtectioncxx . . $ Gst/EventProtection#*>(this)->parse_datacxx . . $ Gst/EventProtection#parse_data(6fb1b7a5ca7b7240).(); |
| 363 | } |
| 364 | |
| 365 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EventProtectioncxx . . $ Gst/EventProtection#::parse_origincxx . . $ Gst/EventProtection#parse_origin(fff0f585954e56f3).() const |
| 366 | { |
| 367 | const gchar *gst_origin = nullptr; |
| 368 | gst_event_parse_protection(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, nullptr, &gst_origin); |
| 369 | return Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#(gst_origin); |
| 370 | } |
| 371 | |
| 372 | void EventSegmentDonecxx . . $ Gst/EventSegmentDone#::parsecxx . . $ Gst/EventSegmentDone#parse(2dda2a5d42036585).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format#& format, gint64& position) const |
| 373 | { |
| 374 | GstFormat gst_format; |
| 375 | gst_event_parse_segment_done(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_format, &position); |
| 376 | format = static_cast<Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format#>(gst_format); |
| 377 | } |
| 378 | |
| 379 | Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# EventSegmentDonecxx . . $ Gst/EventSegmentDone#::parse_formatcxx . . $ Gst/EventSegmentDone#parse_format(ea732059a5a183c8).() const |
| 380 | { |
| 381 | GstFormat format; |
| 382 | gst_event_parse_segment_done(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &format, nullptr); |
| 383 | return static_cast<Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format#>(format); |
| 384 | } |
| 385 | |
| 386 | gint64 EventSegmentDonecxx . . $ Gst/EventSegmentDone#::parse_positioncxx . . $ Gst/EventSegmentDone#parse_position(57a65ae535d7db84).() const |
| 387 | { |
| 388 | gint64 position; |
| 389 | gst_event_parse_segment_done(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, &position); |
| 390 | return position; |
| 391 | } |
| 392 | |
| 393 | Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# EventGapcxx . . $ Gst/EventGap#::parse_timestampcxx . . $ Gst/EventGap#parse_timestamp(fe4d2d262d4164a8).() const |
| 394 | { |
| 395 | GstClockTime timestamp; |
| 396 | gst_event_parse_gap(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), ×tamp, nullptr); |
| 397 | return timestamp; |
| 398 | } |
| 399 | |
| 400 | Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# EventGapcxx . . $ Gst/EventGap#::parse_durationcxx . . $ Gst/EventGap#parse_duration(fe4d2d262d4164a8).() const |
| 401 | { |
| 402 | GstClockTime duration; |
| 403 | gst_event_parse_gap(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), nullptr, &duration); |
| 404 | return duration; |
| 405 | } |
| 406 | |
| 407 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EventStreamStartcxx . . $ Gst/EventStreamStart#::parse_stream_idcxx . . $ Gst/EventStreamStart#parse_stream_id(fff0f585954e56f3).() const |
| 408 | { |
| 409 | const gchar* gst_stream_id = nullptr; |
| 410 | gst_event_parse_stream_start(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_stream_id); |
| 411 | return Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#(gst_stream_id); |
| 412 | } |
| 413 | |
| 414 | Gstcxx . . $ Gst/::StreamFlagscxx . . $ Gst/StreamFlags# EventStreamStartcxx . . $ Gst/EventStreamStart#::parse_stream_flagscxx . . $ Gst/EventStreamStart#parse_stream_flags(cb42c2e619e7ef48).() const |
| 415 | { |
| 416 | GstStreamFlags flags; |
| 417 | gst_event_parse_stream_flags (const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &flags); |
| 418 | return static_cast<Gstcxx . . $ Gst/::StreamFlagscxx . . $ Gst/StreamFlags#>(flags); |
| 419 | } |
| 420 | |
| 421 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> EventCapscxx . . $ Gst/EventCaps#::parse_capscxx . . $ Gst/EventCaps#parse_caps(22811ab509ec2061).() |
| 422 | { |
| 423 | GstCaps* gst_caps = nullptr; |
| 424 | gst_event_parse_caps(gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).(), &gst_caps); |
| 425 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(cf037a2e82e55e6b).(gst_caps, true); |
| 426 | } |
| 427 | |
| 428 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<const Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#> EventCapscxx . . $ Gst/EventCaps#::parse_capscxx . . $ Gst/EventCaps#parse_caps(b365bf96c1803900).() const |
| 429 | { |
| 430 | return const_castcxx . . $ Glib/RefPtr#RefPtr(9e4c744904342adc).<EventCapscxx . . $ Gst/EventCaps#*>(this)->parse_capscxx . . $ Gst/EventCaps#parse_caps(22811ab509ec2061).(); |
| 431 | } |
| 432 | |
| 433 | Gstcxx . . $ Gst/::Segmentcxx . . $ Gst/Segment# EventSegmentcxx . . $ Gst/EventSegment#::copy_segmentcxx . . $ Gst/EventSegment#copy_segment(f901a0bbfe1e5167).() const |
| 434 | { |
| 435 | const GstSegment *gst_segment; |
| 436 | gst_event_parse_segment(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_segment); |
| 437 | return Gstcxx . . $ Gst/Segment#Segment(fe81ed18ca985276).::Segmentcxx . . $ Gst/Segment#(const_cast<GstSegment*>(gst_segment), true); |
| 438 | |
| 439 | } |
| 440 | |
| 441 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# EventTocSelectcxx . . $ Gst/EventTocSelect#::parse_uidcxx . . $ Gst/EventTocSelect#parse_uid(fff0f585954e56f3).() const |
| 442 | { |
| 443 | gchar *gst_uid; |
| 444 | gst_event_parse_toc_select(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &gst_uid); |
| 445 | Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring# uid = gst_uidcxx . . $ Glib/ustring#ustring(85c52e162fed56f9).; |
| 446 | g_free(gst_uid); |
| 447 | return uidcxx . . $ Glib/ustring#ustring(9ff8f5cb794dfdbf).; |
| 448 | } |
| 449 | |
| 450 | |
| 451 | } //namespace Gst |
| 452 | |
| 453 | namespacecxx . . $ `$anonymous_namespace_gstreamer/gstreamermm/event.cc`/ |
| 454 | { |
| 455 | } // anonymous namespace |
| 456 | |
| 457 | // static |
| 458 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::EventType>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 459 | { |
| 460 | return gst_event_type_get_type(); |
| 461 | } |
| 462 | |
| 463 | // static |
| 464 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::EventTypeFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 465 | { |
| 466 | return gst_event_type_flags_get_type(); |
| 467 | } |
| 468 | |
| 469 | // static |
| 470 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::QOSType>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 471 | { |
| 472 | return gst_qos_type_get_type(); |
| 473 | } |
| 474 | |
| 475 | // static |
| 476 | GType Glibcxx . . $ Glib/::Valuecxx . . $ Glib/Value#<Gst::StreamFlags>::value_typecxx . . $ Glib/Value#value_type(f708dce9a8856c70).() |
| 477 | { |
| 478 | return gst_stream_flags_get_type(); |
| 479 | } |
| 480 | |
| 481 | |
| 482 | /* Why reinterpret_cast<Event*>(gobject) is needed: |
| 483 | * |
| 484 | * A Event instance is in fact always a GstEvent instance. |
| 485 | * Unfortunately, GstEvent cannot be a member of Event, |
| 486 | * because it is an opaque struct. Also, the C interface does not provide |
| 487 | * any hooks to install a destroy notification handler, thus we cannot |
| 488 | * wrap it dynamically either. |
| 489 | * |
| 490 | * The cast works because Event does not have any member data, and |
| 491 | * it is impossible to derive from it. This is ensured by using final on the |
| 492 | * class and by using = delete on the default constructor. |
| 493 | */ |
| 494 | |
| 495 | namespace Glibcxx . . $ Glib/ |
| 496 | { |
| 497 | |
| 498 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#> wrapcxx . . $ Glib/wrap(dec56968f86598a5).(GstEvent* object, bool take_copy) |
| 499 | { |
| 500 | if(take_copy && object) |
| 501 | gst_event_ref(object); |
| 502 | |
| 503 | // See the comment at the top of this file, if you want to know why the cast works. |
| 504 | return Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#>(reinterpret_cast<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#*>(object)); |
| 505 | } |
| 506 | |
| 507 | } // namespace Glib |
| 508 | |
| 509 | |
| 510 | namespace Gstcxx . . $ Gst/ |
| 511 | { |
| 512 | |
| 513 | |
| 514 | void Eventcxx . . $ Gst/Event#::referencecxx . . $ Gst/Event#reference(83f5f38750778ac8).() const |
| 515 | { |
| 516 | // See the comment at the top of this file, if you want to know why the cast works. |
| 517 | gst_event_ref(reinterpret_cast<GstEvent*>(const_cast<Eventcxx . . $ Gst/Event#*>(this))); |
| 518 | } |
| 519 | |
| 520 | void Eventcxx . . $ Gst/Event#::unreferencecxx . . $ Gst/Event#unreference(83f5f38750778ac8).() const |
| 521 | { |
| 522 | // See the comment at the top of this file, if you want to know why the cast works. |
| 523 | gst_event_unref(reinterpret_cast<GstEvent*>(const_cast<Eventcxx . . $ Gst/Event#*>(this))); |
| 524 | } |
| 525 | |
| 526 | GstEvent* Eventcxx . . $ Gst/Event#::gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).() |
| 527 | { |
| 528 | // See the comment at the top of this file, if you want to know why the cast works. |
| 529 | return reinterpret_cast<GstEvent*>(this); |
| 530 | } |
| 531 | |
| 532 | const GstEvent* Eventcxx . . $ Gst/Event#::gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).() const |
| 533 | { |
| 534 | // See the comment at the top of this file, if you want to know why the cast works. |
| 535 | return reinterpret_cast<const GstEvent*>(this); |
| 536 | } |
| 537 | |
| 538 | GstEvent* Eventcxx . . $ Gst/Event#::gobj_copycxx . . $ Gst/Event#gobj_copy(ba62e4f8b3cee778).() const |
| 539 | { |
| 540 | // See the comment at the top of this file, if you want to know why the cast works. |
| 541 | const auto gobject = reinterpret_cast<GstEvent*>(const_cast<Eventcxx . . $ Gst/Event#*>(this)); |
| 542 | gst_event_ref(gobject); |
| 543 | return gobject; |
| 544 | } |
| 545 | |
| 546 | |
| 547 | Gstcxx . . $ Gst/::Structurecxx . . $ Gst/Structure# Eventcxx . . $ Gst/Event#::get_structurecxx . . $ Gst/Event#get_structure(65062218a0489aeb).() const |
| 548 | { |
| 549 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(51e1331ca9e65d80).(const_cast<GstStructure*>(gst_event_get_structure(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()))), true); |
| 550 | } |
| 551 | |
| 552 | bool Eventcxx . . $ Gst/Event#::has_namecxx . . $ Gst/Event#has_name(51a66224d46a21f).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name) const |
| 553 | { |
| 554 | return gst_event_has_name(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()); |
| 555 | } |
| 556 | |
| 557 | guint32 Eventcxx . . $ Gst/Event#::get_seqnumcxx . . $ Gst/Event#get_seqnum(ddd8539a2fcdd4ce).() const |
| 558 | { |
| 559 | return gst_event_get_seqnum(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).())); |
| 560 | } |
| 561 | |
| 562 | void Eventcxx . . $ Gst/Event#::set_seqnumcxx . . $ Gst/Event#set_seqnum(cb2f890c2fdad230).(guint32 seqnum) |
| 563 | { |
| 564 | gst_event_set_seqnum(gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).(), seqnum); |
| 565 | } |
| 566 | |
| 567 | gint64 Eventcxx . . $ Gst/Event#::get_running_time_offsetcxx . . $ Gst/Event#get_running_time_offset(57a65ae535d7db84).() const |
| 568 | { |
| 569 | return gst_event_get_running_time_offset(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).())); |
| 570 | } |
| 571 | |
| 572 | void Eventcxx . . $ Gst/Event#::set_running_time_offsetcxx . . $ Gst/Event#set_running_time_offset(1624ee8275b10bda).(gint64 offset) |
| 573 | { |
| 574 | gst_event_set_running_time_offset(gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).(), offset); |
| 575 | } |
| 576 | |
| 577 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Eventcxx . . $ Gst/Event#> Eventcxx . . $ Gst/Event#::copycxx . . $ Gst/Event#copy(3581a9a7cbf6732d).() const |
| 578 | { |
| 579 | return Glibcxx . . $ Glib/::wrapcxx . . $ Glib/wrap(dec56968f86598a5).(gst_event_copy(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()))); |
| 580 | } |
| 581 | |
| 582 | EventTypecxx . . $ Gst/EventType# Eventcxx . . $ Gst/Event#::get_event_typecxx . . $ Gst/Event#get_event_type(3bd2194af709aed6).() const |
| 583 | { |
| 584 | return ((EventTypecxx . . $ Gst/EventType#)(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()->typecxx . . $ _GstEvent#type.)); |
| 585 | } |
| 586 | |
| 587 | Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# Eventcxx . . $ Gst/Event#::get_timestampcxx . . $ Gst/Event#get_timestamp(fe4d2d262d4164a8).() const |
| 588 | { |
| 589 | return (Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime#)(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()->timestampcxx . . $ _GstEvent#timestamp.); |
| 590 | } |
| 591 | |
| 592 | |
| 593 | } // namespace Gst |
| 594 | |
| 595 | |
| 596 | namespace Gstcxx . . $ Gst/ |
| 597 | { |
| 598 | |
| 599 | |
| 600 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventFlushStartcxx . . $ Gst/EventFlushStart#> EventFlushStartcxx . . $ Gst/EventFlushStart#::createcxx . . $ Gst/EventFlushStart#create(b9f9102461c8dd3a).() |
| 601 | { |
| 602 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventFlushStartcxx . . $ Gst/EventFlushStart#>(gst_event_new_flush_start(), false); |
| 603 | } |
| 604 | |
| 605 | |
| 606 | } // namespace Gst |
| 607 | |
| 608 | |
| 609 | namespace Gstcxx . . $ Gst/ |
| 610 | { |
| 611 | |
| 612 | |
| 613 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventFlushStopcxx . . $ Gst/EventFlushStop#> EventFlushStopcxx . . $ Gst/EventFlushStop#::createcxx . . $ Gst/EventFlushStop#create(52d51c7052fa5882).(bool reset_time) |
| 614 | { |
| 615 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventFlushStopcxx . . $ Gst/EventFlushStop#>(gst_event_new_flush_stop(static_cast<int>(reset_time)), false); |
| 616 | } |
| 617 | |
| 618 | |
| 619 | } // namespace Gst |
| 620 | |
| 621 | |
| 622 | namespace Gstcxx . . $ Gst/ |
| 623 | { |
| 624 | |
| 625 | |
| 626 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventStreamStartcxx . . $ Gst/EventStreamStart#> EventStreamStartcxx . . $ Gst/EventStreamStart#::createcxx . . $ Gst/EventStreamStart#create(216089ef4f264858).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& stream_id) |
| 627 | { |
| 628 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventStreamStartcxx . . $ Gst/EventStreamStart#>(gst_event_new_stream_start(stream_id.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()), false); |
| 629 | } |
| 630 | |
| 631 | void EventStreamStartcxx . . $ Gst/EventStreamStart#::set_stream_flagscxx . . $ Gst/EventStreamStart#set_stream_flags(ff94d4be2fcdb29c).(Gstcxx . . $ Gst/::StreamFlagscxx . . $ Gst/StreamFlags# flags) |
| 632 | { |
| 633 | gst_event_set_stream_flags(gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).(), ((GstStreamFlags)(flags))); |
| 634 | } |
| 635 | |
| 636 | bool EventStreamStartcxx . . $ Gst/EventStreamStart#::parse_group_idcxx . . $ Gst/EventStreamStart#parse_group_id(186fade19594183d).(guint& group_id) const |
| 637 | { |
| 638 | return gst_event_parse_group_id(const_cast<GstEvent*>(gobjcxx . . $ Gst/Event#gobj(cb185e615b5b2f39).()), &(group_id)); |
| 639 | } |
| 640 | |
| 641 | void EventStreamStartcxx . . $ Gst/EventStreamStart#::set_group_idcxx . . $ Gst/EventStreamStart#set_group_id(cb2f890c2fdad230).(guint group_id) |
| 642 | { |
| 643 | gst_event_set_group_id(gobjcxx . . $ Gst/Event#gobj(a48510a589508d3).(), group_id); |
| 644 | } |
| 645 | |
| 646 | |
| 647 | } // namespace Gst |
| 648 | |
| 649 | |
| 650 | namespace Gstcxx . . $ Gst/ |
| 651 | { |
| 652 | |
| 653 | |
| 654 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventCapscxx . . $ Gst/EventCaps#> EventCapscxx . . $ Gst/EventCaps#::createcxx . . $ Gst/EventCaps#create(39203ce9b1b7f25d).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Capscxx . . $ Gst/Caps#>& caps) |
| 655 | { |
| 656 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventCapscxx . . $ Gst/EventCaps#>(gst_event_new_caps(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(caps)), false); |
| 657 | } |
| 658 | |
| 659 | |
| 660 | } // namespace Gst |
| 661 | |
| 662 | |
| 663 | namespace Gstcxx . . $ Gst/ |
| 664 | { |
| 665 | |
| 666 | |
| 667 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventSegmentcxx . . $ Gst/EventSegment#> EventSegmentcxx . . $ Gst/EventSegment#::createcxx . . $ Gst/EventSegment#create(21e7cdbd3fd851e1).(const Gstcxx . . $ Gst/::Segmentcxx . . $ Gst/Segment#& segment) |
| 668 | { |
| 669 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventSegmentcxx . . $ Gst/EventSegment#>(gst_event_new_segment(segment.gobjcxx . . $ Gst/Segment#gobj(841fa51e7d3f2dfa).()), false); |
| 670 | } |
| 671 | |
| 672 | |
| 673 | } // namespace Gst |
| 674 | |
| 675 | |
| 676 | namespace Gstcxx . . $ Gst/ |
| 677 | { |
| 678 | |
| 679 | |
| 680 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventTagcxx . . $ Gst/EventTag#> EventTagcxx . . $ Gst/EventTag#::createcxx . . $ Gst/EventTag#create(de2de02a45a665a9).(const Gstcxx . . $ Gst/::TagListcxx . . $ Gst/TagList#& taglist) |
| 681 | { |
| 682 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventTagcxx . . $ Gst/EventTag#>(gst_event_new_tag(const_cast<GstTagList*>(taglist.gobjcxx . . $ Gst/TagList#gobj(5c324d3f5f7ad2ff).())), false); |
| 683 | } |
| 684 | |
| 685 | |
| 686 | } // namespace Gst |
| 687 | |
| 688 | |
| 689 | namespace Gstcxx . . $ Gst/ |
| 690 | { |
| 691 | |
| 692 | |
| 693 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventBufferSizecxx . . $ Gst/EventBufferSize#> EventBufferSizecxx . . $ Gst/EventBufferSize#::createcxx . . $ Gst/EventBufferSize#create(9589dbafd80973d6).(Formatcxx . . $ Gst/Format# format, gint64 minsize, gint64 maxsize, bool async) |
| 694 | { |
| 695 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventBufferSizecxx . . $ Gst/EventBufferSize#>(gst_event_new_buffer_size(((GstFormat)(format)), minsize, maxsize, static_cast<int>(async)), false); |
| 696 | } |
| 697 | |
| 698 | |
| 699 | } // namespace Gst |
| 700 | |
| 701 | |
| 702 | namespace Gstcxx . . $ Gst/ |
| 703 | { |
| 704 | |
| 705 | |
| 706 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventSinkMessagecxx . . $ Gst/EventSinkMessage#> EventSinkMessagecxx . . $ Gst/EventSinkMessage#::createcxx . . $ Gst/EventSinkMessage#create(151f057148c6ec36).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& name, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Messagecxx . . $ Gst/Message#>& message) |
| 707 | { |
| 708 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventSinkMessagecxx . . $ Gst/EventSinkMessage#>(gst_event_new_sink_message(name.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(message)), false); |
| 709 | } |
| 710 | |
| 711 | |
| 712 | } // namespace Gst |
| 713 | |
| 714 | |
| 715 | namespace Gstcxx . . $ Gst/ |
| 716 | { |
| 717 | |
| 718 | |
| 719 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventEoscxx . . $ Gst/EventEos#> EventEoscxx . . $ Gst/EventEos#::createcxx . . $ Gst/EventEos#create(16951bc4a2f22253).() |
| 720 | { |
| 721 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventEoscxx . . $ Gst/EventEos#>(gst_event_new_eos(), false); |
| 722 | } |
| 723 | |
| 724 | |
| 725 | } // namespace Gst |
| 726 | |
| 727 | |
| 728 | namespace Gstcxx . . $ Gst/ |
| 729 | { |
| 730 | |
| 731 | |
| 732 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventToccxx . . $ Gst/EventToc#> EventToccxx . . $ Gst/EventToc#::createcxx . . $ Gst/EventToc#create(e1f7cd2d1b551910).(const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Toccxx . . $ Gst/Toc#>& toc, bool updated) |
| 733 | { |
| 734 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventToccxx . . $ Gst/EventToc#>(gst_event_new_toc(Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(toc), static_cast<int>(updated)), false); |
| 735 | } |
| 736 | |
| 737 | |
| 738 | } // namespace Gst |
| 739 | |
| 740 | |
| 741 | namespace Gstcxx . . $ Gst/ |
| 742 | { |
| 743 | |
| 744 | |
| 745 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventProtectioncxx . . $ Gst/EventProtection#> EventProtectioncxx . . $ Gst/EventProtection#::createcxx . . $ Gst/EventProtection#create(a50cac9a1fe7311).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& system_id, const Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::Buffercxx . . $ Gst/Buffer#>& data, const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& origin) |
| 746 | { |
| 747 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventProtectioncxx . . $ Gst/EventProtection#>(gst_event_new_protection(system_id.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).(), Glibcxx . . $ Glib/::unwrapcxx . . $ Glib/unwrap(d8611424b789c87e).(data), origin.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()), false); |
| 748 | } |
| 749 | |
| 750 | |
| 751 | } // namespace Gst |
| 752 | |
| 753 | |
| 754 | namespace Gstcxx . . $ Gst/ |
| 755 | { |
| 756 | |
| 757 | |
| 758 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventSegmentDonecxx . . $ Gst/EventSegmentDone#> EventSegmentDonecxx . . $ Gst/EventSegmentDone#::createcxx . . $ Gst/EventSegmentDone#create(9783adeee77cd8bf).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# p1, gint64 position) |
| 759 | { |
| 760 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventSegmentDonecxx . . $ Gst/EventSegmentDone#>(gst_event_new_segment_done(((GstFormat)(p1)), position), false); |
| 761 | } |
| 762 | |
| 763 | |
| 764 | } // namespace Gst |
| 765 | |
| 766 | |
| 767 | namespace Gstcxx . . $ Gst/ |
| 768 | { |
| 769 | |
| 770 | |
| 771 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventGapcxx . . $ Gst/EventGap#> EventGapcxx . . $ Gst/EventGap#::createcxx . . $ Gst/EventGap#create(8a012e0b0ebc47cc).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# timestamp, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# duration) |
| 772 | { |
| 773 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventGapcxx . . $ Gst/EventGap#>(gst_event_new_gap(((GstClockTime)(timestamp)), ((GstClockTime)(duration))), false); |
| 774 | } |
| 775 | |
| 776 | |
| 777 | } // namespace Gst |
| 778 | |
| 779 | |
| 780 | namespace Gstcxx . . $ Gst/ |
| 781 | { |
| 782 | |
| 783 | |
| 784 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventQoscxx . . $ Gst/EventQos#> EventQoscxx . . $ Gst/EventQos#::createcxx . . $ Gst/EventQos#create(73ca0cb471ba1295).(QOSTypecxx . . $ Gst/QOSType# type, double proportion, Gstcxx . . $ Gst/::ClockTimeDiffcxx . . $ Gst/ClockTimeDiff# diff, Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# timestamp) |
| 785 | { |
| 786 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventQoscxx . . $ Gst/EventQos#>(gst_event_new_qos(((GstQOSType)(type)), proportion, GstClockTimeDiff(diff), ((GstClockTime)(timestamp))), false); |
| 787 | } |
| 788 | |
| 789 | |
| 790 | } // namespace Gst |
| 791 | |
| 792 | |
| 793 | namespace Gstcxx . . $ Gst/ |
| 794 | { |
| 795 | |
| 796 | |
| 797 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventSeekcxx . . $ Gst/EventSeek#> EventSeekcxx . . $ Gst/EventSeek#::createcxx . . $ Gst/EventSeek#create(fcab98ce49d8a42b).(double rate, Formatcxx . . $ Gst/Format# format, SeekFlagscxx . . $ Gst/SeekFlags# flags, SeekTypecxx . . $ Gst/SeekType# start_type, gint64 start, SeekTypecxx . . $ Gst/SeekType# stop_type, gint64 stop) |
| 798 | { |
| 799 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventSeekcxx . . $ Gst/EventSeek#>(gst_event_new_seek(rate, ((GstFormat)(format)), ((GstSeekFlags)(flags)), ((GstSeekType)(start_type)), start, ((GstSeekType)(stop_type)), stop), false); |
| 800 | } |
| 801 | |
| 802 | |
| 803 | } // namespace Gst |
| 804 | |
| 805 | |
| 806 | namespace Gstcxx . . $ Gst/ |
| 807 | { |
| 808 | |
| 809 | |
| 810 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventLatencycxx . . $ Gst/EventLatency#> EventLatencycxx . . $ Gst/EventLatency#::createcxx . . $ Gst/EventLatency#create(aa26cb4eeeb16b56).(Gstcxx . . $ Gst/::ClockTimecxx . . $ Gst/ClockTime# latency) |
| 811 | { |
| 812 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventLatencycxx . . $ Gst/EventLatency#>(gst_event_new_latency(((GstClockTime)(latency))), false); |
| 813 | } |
| 814 | |
| 815 | |
| 816 | } // namespace Gst |
| 817 | |
| 818 | |
| 819 | namespace Gstcxx . . $ Gst/ |
| 820 | { |
| 821 | |
| 822 | |
| 823 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventStepcxx . . $ Gst/EventStep#> EventStepcxx . . $ Gst/EventStep#::createcxx . . $ Gst/EventStep#create(19af3b24f26ae880).(Gstcxx . . $ Gst/::Formatcxx . . $ Gst/Format# format, guint64 amount, double rate, bool flush, bool intermediate) |
| 824 | { |
| 825 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventStepcxx . . $ Gst/EventStep#>(gst_event_new_step(((GstFormat)(format)), amount, rate, static_cast<int>(flush), static_cast<int>(intermediate)), false); |
| 826 | } |
| 827 | |
| 828 | |
| 829 | } // namespace Gst |
| 830 | |
| 831 | |
| 832 | namespace Gstcxx . . $ Gst/ |
| 833 | { |
| 834 | |
| 835 | |
| 836 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventReconfigurecxx . . $ Gst/EventReconfigure#> EventReconfigurecxx . . $ Gst/EventReconfigure#::createcxx . . $ Gst/EventReconfigure#create(1340561862efdd19).() |
| 837 | { |
| 838 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventReconfigurecxx . . $ Gst/EventReconfigure#>(gst_event_new_reconfigure(), false); |
| 839 | } |
| 840 | |
| 841 | |
| 842 | } // namespace Gst |
| 843 | |
| 844 | |
| 845 | namespace Gstcxx . . $ Gst/ |
| 846 | { |
| 847 | |
| 848 | |
| 849 | Glibcxx . . $ Glib/::RefPtrcxx . . $ Glib/RefPtr#<Gstcxx . . $ Gst/::EventTocSelectcxx . . $ Gst/EventTocSelect#> EventTocSelectcxx . . $ Gst/EventTocSelect#::createcxx . . $ Gst/EventTocSelect#create(b5c30d92cde30f1e).(const Glibcxx . . $ Glib/::ustringcxx . . $ Glib/ustring#& uid) |
| 850 | { |
| 851 | return Glibcxx . . $ Glib/::wrap_event_derivedcxx . . $ Glib/wrap_event_derived(2b101973cce27177).<EventTocSelectcxx . . $ Gst/EventTocSelect#>(gst_event_new_toc_select(uid.c_strcxx . . $ Glib/ustring#c_str(a9f41ea0e82d88cf).()), false); |
| 852 | } |
| 853 | |
| 854 | |
| 855 | } // namespace Gst |
| 856 | |
| 857 |