gstreamermm: fakesrc.h Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

# fakesrc.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_FAKESRC_H
    00004 #define _GSTREAMERMM_FAKESRC_H
    00005
    00006
    00007 #include <glibmm.h>
    00008
    00009 /* gstreamermm - a C++ wrapper for gstreamer
    00010  *
    00011  * Copyright 2008 The gstreamermm Development Team
    00012  *
    00013  * This library is free software; you can redistribute it and/or
    00014  * modify it under the terms of the GNU Lesser General Public
    00015  * License as published by the Free Software Foundation; either
    00016  * version 2.1 of the License, or (at your option) any later version.
    00017  *
    00018  * This library is distributed in the hope that it will be useful,
    00019  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    00020  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00021  * Lesser General Public License for more details.
    00022  *
    00023  * You should have received a copy of the GNU Lesser General Public
    00024  * License along with this library; if not, write to the Free
    00025  * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
    00026  */
    00027
    00028 #include <gstreamermm/basesrc.h>
    00029 #include <gstreamermm/buffer.h>
    00030 #include <gstreamermm/pad.h>
    00031
    00032
    00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00034 typedef struct _GstFakeSrc GstFakeSrc;
    00035 typedef struct _GstFakeSrcClass GstFakeSrcClass;
    00036 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00037
    00038
    00039 namespace Gst
    00040 { class FakeSrc_Class; } // namespace Gst
    00041 namespace Gst
    00042 {
    00043
    00049 enum FakeSrcDataType
    00050 {
    00051   FAKE_SRC_DATA_ALLOCATE = 1,
    00052   FAKE_SRC_DATA_SUBBUFFER
    00053 };
    00054
    00055 } // namespace Gst
    00056
    00057
    00058 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00059 namespace Glib
    00060 {
    00061
    00062 template <>
    00063 class Value<Gst::FakeSrcDataType> : public Glib::Value_Enum<Gst::FakeSrcDataType>
    00064 {
    00065 public:
    00066   static GType value_type() G_GNUC_CONST;
    00067 };
    00068
    00069 } // namespace Glib
    00070 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00071
    00072
    00073 namespace Gst
    00074 {
    00075
    00079 enum FakeSrcSizeType
    00080 {
    00081   FAKE_SRC_SIZETYPE_EMPTY = 1,
    00082   FAKE_SRC_SIZETYPE_FIXED,
    00083   FAKE_SRC_SIZETYPE_RANDOM
    00084 };
    00085
    00086 } // namespace Gst
    00087
    00088
    00089 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00090 namespace Glib
    00091 {
    00092
    00093 template <>
    00094 class Value<Gst::FakeSrcSizeType> : public Glib::Value_Enum<Gst::FakeSrcSizeType>
    00095 {
    00096 public:
    00097   static GType value_type() G_GNUC_CONST;
    00098 };
    00099
    00100 } // namespace Glib
    00101 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00102
    00103
    00104 namespace Gst
    00105 {
    00106
    00110 enum FakeSrcFillType
    00111 {
    00112   FAKE_SRC_FILLTYPE_NOTHING = 1,
    00113   FAKE_SRC_FILLTYPE_ZERO,
    00114   FAKE_SRC_FILLTYPE_RANDOM,
    00115   FAKE_SRC_FILLTYPE_PATTERN,
    00116   FAKE_SRC_FILLTYPE_PATTERN_CONT
    00117 };
    00118
    00119 } // namespace Gst
    00120
    00121
    00122 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00123 namespace Glib
    00124 {
    00125
    00126 template <>
    00127 class Value<Gst::FakeSrcFillType> : public Glib::Value_Enum<Gst::FakeSrcFillType>
    00128 {
    00129 public:
    00130   static GType value_type() G_GNUC_CONST;
    00131 };
    00132
    00133 } // namespace Glib
    00134 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00135
    00136
    00137 namespace Gst
    00138 {
    00139
    00140
    00151 class FakeSrc
    00152 : public Gst::BaseSrc
    00153 {
    00154
    00155 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00156
    00157 public:
    00158   typedef FakeSrc CppObjectType;
    00159   typedef FakeSrc_Class CppClassType;
    00160   typedef GstFakeSrc BaseObjectType;
    00161   typedef GstFakeSrcClass BaseClassType;
    00162
    00163 private:  friend class FakeSrc_Class;
    00164   static CppClassType fakesrc_class_;
    00165
    00166 private:
    00167   // noncopyable
    00168   FakeSrc(const FakeSrc&);
    00169   FakeSrc& operator=(const FakeSrc&);
    00170
    00171 protected:
    00172   explicit FakeSrc(const Glib::ConstructParams& construct_params);
    00173   explicit FakeSrc(GstFakeSrc* castitem);
    00174
    00175 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00176
    00177 public:
    00178   virtual ~FakeSrc();
    00179
    00180 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00181   static GType get_type()      G_GNUC_CONST;
    00182   static GType get_base_type() G_GNUC_CONST;
    00183 #endif
    00184
    00186   GstFakeSrc*       gobj()       { return reinterpret_cast<GstFakeSrc*>(gobject_); }
    00187
    00189   const GstFakeSrc* gobj() const { return reinterpret_cast<GstFakeSrc*>(gobject_); }
    00190
    00192   GstFakeSrc* gobj_copy();
    00193
    00194 private:
    00195
    00196
    00197 protected:
    00198   FakeSrc();
    00199   FakeSrc(const Glib::ustring& name);
    00200
    00201 public:
    00205   static Glib::RefPtr<FakeSrc> create();
    00206
    00207
    00211   static Glib::RefPtr<FakeSrc> create(const Glib::ustring& name);
    00212
    00213
    00214   #ifdef GLIBMM_PROPERTIES_ENABLED
    00215
    00221   Glib::PropertyProxy<FakeSrcDataType> property_data() ;
    00222 #endif //#GLIBMM_PROPERTIES_ENABLED
    00223
    00224 #ifdef GLIBMM_PROPERTIES_ENABLED
    00225
    00231   Glib::PropertyProxy_ReadOnly<FakeSrcDataType> property_data() const;
    00232 #endif //#GLIBMM_PROPERTIES_ENABLED
    00233
    00234   #ifdef GLIBMM_PROPERTIES_ENABLED
    00235
    00241   Glib::PropertyProxy<FakeSrcSizeType> property_sizetype() ;
    00242 #endif //#GLIBMM_PROPERTIES_ENABLED
    00243
    00244 #ifdef GLIBMM_PROPERTIES_ENABLED
    00245
    00251   Glib::PropertyProxy_ReadOnly<FakeSrcSizeType> property_sizetype() const;
    00252 #endif //#GLIBMM_PROPERTIES_ENABLED
    00253
    00254   #ifdef GLIBMM_PROPERTIES_ENABLED
    00255
    00261   Glib::PropertyProxy<int> property_sizemin() ;
    00262 #endif //#GLIBMM_PROPERTIES_ENABLED
    00263
    00264 #ifdef GLIBMM_PROPERTIES_ENABLED
    00265
    00271   Glib::PropertyProxy_ReadOnly<int> property_sizemin() const;
    00272 #endif //#GLIBMM_PROPERTIES_ENABLED
    00273
    00274   #ifdef GLIBMM_PROPERTIES_ENABLED
    00275
    00281   Glib::PropertyProxy<int> property_sizemax() ;
    00282 #endif //#GLIBMM_PROPERTIES_ENABLED
    00283
    00284 #ifdef GLIBMM_PROPERTIES_ENABLED
    00285
    00291   Glib::PropertyProxy_ReadOnly<int> property_sizemax() const;
    00292 #endif //#GLIBMM_PROPERTIES_ENABLED
    00293
    00294   #ifdef GLIBMM_PROPERTIES_ENABLED
    00295
    00301   Glib::PropertyProxy<FakeSrcFillType> property_filltype() ;
    00302 #endif //#GLIBMM_PROPERTIES_ENABLED
    00303
    00304 #ifdef GLIBMM_PROPERTIES_ENABLED
    00305
    00311   Glib::PropertyProxy_ReadOnly<FakeSrcFillType> property_filltype() const;
    00312 #endif //#GLIBMM_PROPERTIES_ENABLED
    00313
    00314   #ifdef GLIBMM_PROPERTIES_ENABLED
    00315
    00321   Glib::PropertyProxy<int> property_datarate() ;
    00322 #endif //#GLIBMM_PROPERTIES_ENABLED
    00323
    00324 #ifdef GLIBMM_PROPERTIES_ENABLED
    00325
    00331   Glib::PropertyProxy_ReadOnly<int> property_datarate() const;
    00332 #endif //#GLIBMM_PROPERTIES_ENABLED
    00333
    00334   #ifdef GLIBMM_PROPERTIES_ENABLED
    00335
    00341   Glib::PropertyProxy<bool> property_sync() ;
    00342 #endif //#GLIBMM_PROPERTIES_ENABLED
    00343
    00344 #ifdef GLIBMM_PROPERTIES_ENABLED
    00345
    00351   Glib::PropertyProxy_ReadOnly<bool> property_sync() const;
    00352 #endif //#GLIBMM_PROPERTIES_ENABLED
    00353
    00354   #ifdef GLIBMM_PROPERTIES_ENABLED
    00355
    00361   Glib::PropertyProxy<Glib::ustring> property_pattern() ;
    00362 #endif //#GLIBMM_PROPERTIES_ENABLED
    00363
    00364 #ifdef GLIBMM_PROPERTIES_ENABLED
    00365
    00371   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_pattern() const;
    00372 #endif //#GLIBMM_PROPERTIES_ENABLED
    00373
    00374   #ifdef GLIBMM_PROPERTIES_ENABLED
    00375
    00381   Glib::PropertyProxy<bool> property_signal_handoffs() ;
    00382 #endif //#GLIBMM_PROPERTIES_ENABLED
    00383
    00384 #ifdef GLIBMM_PROPERTIES_ENABLED
    00385
    00391   Glib::PropertyProxy_ReadOnly<bool> property_signal_handoffs() const;
    00392 #endif //#GLIBMM_PROPERTIES_ENABLED
    00393
    00394   #ifdef GLIBMM_PROPERTIES_ENABLED
    00395
    00401   Glib::PropertyProxy<bool> property_silent() ;
    00402 #endif //#GLIBMM_PROPERTIES_ENABLED
    00403
    00404 #ifdef GLIBMM_PROPERTIES_ENABLED
    00405
    00411   Glib::PropertyProxy_ReadOnly<bool> property_silent() const;
    00412 #endif //#GLIBMM_PROPERTIES_ENABLED
    00413
    00414   #ifdef GLIBMM_PROPERTIES_ENABLED
    00415
    00421   Glib::PropertyProxy<bool> property_dump() ;
    00422 #endif //#GLIBMM_PROPERTIES_ENABLED
    00423
    00424 #ifdef GLIBMM_PROPERTIES_ENABLED
    00425
    00431   Glib::PropertyProxy_ReadOnly<bool> property_dump() const;
    00432 #endif //#GLIBMM_PROPERTIES_ENABLED
    00433
    00434   #ifdef GLIBMM_PROPERTIES_ENABLED
    00435
    00441   Glib::PropertyProxy<int> property_parentsize() ;
    00442 #endif //#GLIBMM_PROPERTIES_ENABLED
    00443
    00444 #ifdef GLIBMM_PROPERTIES_ENABLED
    00445
    00451   Glib::PropertyProxy_ReadOnly<int> property_parentsize() const;
    00452 #endif //#GLIBMM_PROPERTIES_ENABLED
    00453
    00454   #ifdef GLIBMM_PROPERTIES_ENABLED
    00455
    00461   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_last_message() const;
    00462 #endif //#GLIBMM_PROPERTIES_ENABLED
    00463
    00464
    00465   #ifdef GLIBMM_PROPERTIES_ENABLED
    00466
    00472   Glib::PropertyProxy<bool> property_can_activate_pull() ;
    00473 #endif //#GLIBMM_PROPERTIES_ENABLED
    00474
    00475 #ifdef GLIBMM_PROPERTIES_ENABLED
    00476
    00482   Glib::PropertyProxy_ReadOnly<bool> property_can_activate_pull() const;
    00483 #endif //#GLIBMM_PROPERTIES_ENABLED
    00484
    00485   #ifdef GLIBMM_PROPERTIES_ENABLED
    00486
    00492   Glib::PropertyProxy<bool> property_can_activate_push() ;
    00493 #endif //#GLIBMM_PROPERTIES_ENABLED
    00494
    00495 #ifdef GLIBMM_PROPERTIES_ENABLED
    00496
    00502   Glib::PropertyProxy_ReadOnly<bool> property_can_activate_push() const;
    00503 #endif //#GLIBMM_PROPERTIES_ENABLED
    00504
    00505   #ifdef GLIBMM_PROPERTIES_ENABLED
    00506
    00512   Glib::PropertyProxy<bool> property_is_live() ;
    00513 #endif //#GLIBMM_PROPERTIES_ENABLED
    00514
    00515 #ifdef GLIBMM_PROPERTIES_ENABLED
    00516
    00522   Glib::PropertyProxy_ReadOnly<bool> property_is_live() const;
    00523 #endif //#GLIBMM_PROPERTIES_ENABLED
    00524
    00525   #ifdef GLIBMM_PROPERTIES_ENABLED
    00526
    00532   Glib::PropertyProxy<Gst::Format> property_format() ;
    00533 #endif //#GLIBMM_PROPERTIES_ENABLED
    00534
    00535 #ifdef GLIBMM_PROPERTIES_ENABLED
    00536
    00542   Glib::PropertyProxy_ReadOnly<Gst::Format> property_format() const;
    00543 #endif //#GLIBMM_PROPERTIES_ENABLED
    00544
    00545
    00551   Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Buffer>&,const Glib::RefPtr<Gst::Pad>& > signal_handoff();
    00552
    00553
    00554 public:
    00555
    00556 public:
    00557   //C++ methods used to invoke GTK+ virtual functions:
    00558 #ifdef GLIBMM_VFUNCS_ENABLED
    00559 #endif //GLIBMM_VFUNCS_ENABLED
    00560
    00561 protected:
    00562   //GTK+ Virtual Functions (override these to change behaviour):
    00563 #ifdef GLIBMM_VFUNCS_ENABLED
    00564 #endif //GLIBMM_VFUNCS_ENABLED
    00565
    00566   //Default Signal Handlers::
    00567 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00568   virtual void on_handoff(const Glib::RefPtr<Gst::Buffer>& arg0, const Glib::RefPtr<Gst::Pad>& arg1);
    00569 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00570
    00571
    00572 };
    00573
    00574 } //namespace Gst
    00575
    00576
    00577 namespace Glib
    00578 {
    00587   Glib::RefPtr<Gst::FakeSrc> wrap(GstFakeSrc* object, bool take_copy = false);
    00588 }
    00589
    00590
    00591 #endif /* _GSTREAMERMM_FAKESRC_H */
    00592