- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# 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 // Generated by generate_plugin_gmmproc_file. Don't edit this file.
    00029
    00030 #include <gstreamermm/basesrc.h>
    00031 #include <gstreamermm/format.h>
    00032 #include <gstreamermm/buffer.h>
    00033 #include <gstreamermm/pad.h>
    00034
    00035
    00036 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00037 typedef struct _GstFakeSrc GstFakeSrc;
    00038 typedef struct _GstFakeSrcClass GstFakeSrcClass;
    00039 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00040
    00041
    00042 namespace Gst
    00043 { class FakeSrc_Class; } // namespace Gst
    00044 namespace Gst
    00045 {
    00046
    00052 enum FakeSrcDataType
    00053 {
    00054   FAKE_SRC_DATA_ALLOCATE = 1,
    00055   FAKE_SRC_DATA_SUBBUFFER
    00056 };
    00057
    00058 } // namespace Gst
    00059
    00060
    00061 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00062 namespace Glib
    00063 {
    00064
    00065 template <>
    00066 class Value<Gst::FakeSrcDataType> : public Glib::Value_Enum<Gst::FakeSrcDataType>
    00067 {
    00068 public:
    00069   static GType value_type() G_GNUC_CONST;
    00070 };
    00071
    00072 } // namespace Glib
    00073 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00074
    00075
    00076 namespace Gst
    00077 {
    00078
    00079
    00083 enum FakeSrcSizeType
    00084 {
    00085   FAKE_SRC_SIZETYPE_EMPTY = 1,
    00086   FAKE_SRC_SIZETYPE_FIXED,
    00087   FAKE_SRC_SIZETYPE_RANDOM
    00088 };
    00089
    00090 } // namespace Gst
    00091
    00092
    00093 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00094 namespace Glib
    00095 {
    00096
    00097 template <>
    00098 class Value<Gst::FakeSrcSizeType> : public Glib::Value_Enum<Gst::FakeSrcSizeType>
    00099 {
    00100 public:
    00101   static GType value_type() G_GNUC_CONST;
    00102 };
    00103
    00104 } // namespace Glib
    00105 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00106
    00107
    00108 namespace Gst
    00109 {
    00110
    00111
    00115 enum FakeSrcFillType
    00116 {
    00117   FAKE_SRC_FILLTYPE_NOTHING = 1,
    00118   FAKE_SRC_FILLTYPE_ZERO,
    00119   FAKE_SRC_FILLTYPE_RANDOM,
    00120   FAKE_SRC_FILLTYPE_PATTERN,
    00121   FAKE_SRC_FILLTYPE_PATTERN_CONT
    00122 };
    00123
    00124 } // namespace Gst
    00125
    00126
    00127 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00128 namespace Glib
    00129 {
    00130
    00131 template <>
    00132 class Value<Gst::FakeSrcFillType> : public Glib::Value_Enum<Gst::FakeSrcFillType>
    00133 {
    00134 public:
    00135   static GType value_type() G_GNUC_CONST;
    00136 };
    00137
    00138 } // namespace Glib
    00139 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00140
    00141
    00142 namespace Gst
    00143 {
    00144
    00145
    00156 class FakeSrc
    00157 : public Gst::BaseSrc
    00158 {
    00159
    00160 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00161
    00162 public:
    00163   typedef FakeSrc CppObjectType;
    00164   typedef FakeSrc_Class CppClassType;
    00165   typedef GstFakeSrc BaseObjectType;
    00166   typedef GstFakeSrcClass BaseClassType;
    00167
    00168 private:  friend class FakeSrc_Class;
    00169   static CppClassType fakesrc_class_;
    00170
    00171 private:
    00172   // noncopyable
    00173   FakeSrc(const FakeSrc&);
    00174   FakeSrc& operator=(const FakeSrc&);
    00175
    00176 protected:
    00177   explicit FakeSrc(const Glib::ConstructParams& construct_params);
    00178   explicit FakeSrc(GstFakeSrc* castitem);
    00179
    00180 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00181
    00182 public:
    00183   virtual ~FakeSrc();
    00184
    00185 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00186   static GType get_type()      G_GNUC_CONST;
    00187
    00188
    00189   static GType get_base_type() G_GNUC_CONST;
    00190 #endif
    00191
    00193   GstFakeSrc*       gobj()       { return reinterpret_cast<GstFakeSrc*>(gobject_); }
    00194
    00196   const GstFakeSrc* gobj() const { return reinterpret_cast<GstFakeSrc*>(gobject_); }
    00197
    00199   GstFakeSrc* gobj_copy();
    00200
    00201 private:
    00202
    00203
    00204 protected:
    00205   FakeSrc();
    00206   FakeSrc(const Glib::ustring& name);
    00207
    00208 public:
    00212   static Glib::RefPtr<FakeSrc> create();
    00213
    00214
    00218   static Glib::RefPtr<FakeSrc> create(const Glib::ustring& name);
    00219
    00220
    00221   #ifdef GLIBMM_PROPERTIES_ENABLED
    00222
    00228   Glib::PropertyProxy<Gst::FakeSrcDataType> property_data() ;
    00229 #endif //#GLIBMM_PROPERTIES_ENABLED
    00230
    00231 #ifdef GLIBMM_PROPERTIES_ENABLED
    00232
    00238   Glib::PropertyProxy_ReadOnly<Gst::FakeSrcDataType> property_data() const;
    00239 #endif //#GLIBMM_PROPERTIES_ENABLED
    00240
    00241   #ifdef GLIBMM_PROPERTIES_ENABLED
    00242
    00248   Glib::PropertyProxy<Gst::FakeSrcSizeType> property_sizetype() ;
    00249 #endif //#GLIBMM_PROPERTIES_ENABLED
    00250
    00251 #ifdef GLIBMM_PROPERTIES_ENABLED
    00252
    00258   Glib::PropertyProxy_ReadOnly<Gst::FakeSrcSizeType> property_sizetype() const;
    00259 #endif //#GLIBMM_PROPERTIES_ENABLED
    00260
    00261   #ifdef GLIBMM_PROPERTIES_ENABLED
    00262
    00268   Glib::PropertyProxy<int> property_sizemin() ;
    00269 #endif //#GLIBMM_PROPERTIES_ENABLED
    00270
    00271 #ifdef GLIBMM_PROPERTIES_ENABLED
    00272
    00278   Glib::PropertyProxy_ReadOnly<int> property_sizemin() const;
    00279 #endif //#GLIBMM_PROPERTIES_ENABLED
    00280
    00281   #ifdef GLIBMM_PROPERTIES_ENABLED
    00282
    00288   Glib::PropertyProxy<int> property_sizemax() ;
    00289 #endif //#GLIBMM_PROPERTIES_ENABLED
    00290
    00291 #ifdef GLIBMM_PROPERTIES_ENABLED
    00292
    00298   Glib::PropertyProxy_ReadOnly<int> property_sizemax() const;
    00299 #endif //#GLIBMM_PROPERTIES_ENABLED
    00300
    00301   #ifdef GLIBMM_PROPERTIES_ENABLED
    00302
    00308   Glib::PropertyProxy<Gst::FakeSrcFillType> property_filltype() ;
    00309 #endif //#GLIBMM_PROPERTIES_ENABLED
    00310
    00311 #ifdef GLIBMM_PROPERTIES_ENABLED
    00312
    00318   Glib::PropertyProxy_ReadOnly<Gst::FakeSrcFillType> property_filltype() const;
    00319 #endif //#GLIBMM_PROPERTIES_ENABLED
    00320
    00321   #ifdef GLIBMM_PROPERTIES_ENABLED
    00322
    00328   Glib::PropertyProxy<int> property_datarate() ;
    00329 #endif //#GLIBMM_PROPERTIES_ENABLED
    00330
    00331 #ifdef GLIBMM_PROPERTIES_ENABLED
    00332
    00338   Glib::PropertyProxy_ReadOnly<int> property_datarate() const;
    00339 #endif //#GLIBMM_PROPERTIES_ENABLED
    00340
    00341   #ifdef GLIBMM_PROPERTIES_ENABLED
    00342
    00348   Glib::PropertyProxy<bool> property_sync() ;
    00349 #endif //#GLIBMM_PROPERTIES_ENABLED
    00350
    00351 #ifdef GLIBMM_PROPERTIES_ENABLED
    00352
    00358   Glib::PropertyProxy_ReadOnly<bool> property_sync() const;
    00359 #endif //#GLIBMM_PROPERTIES_ENABLED
    00360
    00361   #ifdef GLIBMM_PROPERTIES_ENABLED
    00362
    00368   Glib::PropertyProxy<Glib::ustring> property_pattern() ;
    00369 #endif //#GLIBMM_PROPERTIES_ENABLED
    00370
    00371 #ifdef GLIBMM_PROPERTIES_ENABLED
    00372
    00378   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_pattern() const;
    00379 #endif //#GLIBMM_PROPERTIES_ENABLED
    00380
    00381   #ifdef GLIBMM_PROPERTIES_ENABLED
    00382
    00388   Glib::PropertyProxy<bool> property_signal_handoffs() ;
    00389 #endif //#GLIBMM_PROPERTIES_ENABLED
    00390
    00391 #ifdef GLIBMM_PROPERTIES_ENABLED
    00392
    00398   Glib::PropertyProxy_ReadOnly<bool> property_signal_handoffs() const;
    00399 #endif //#GLIBMM_PROPERTIES_ENABLED
    00400
    00401   #ifdef GLIBMM_PROPERTIES_ENABLED
    00402
    00408   Glib::PropertyProxy<bool> property_silent() ;
    00409 #endif //#GLIBMM_PROPERTIES_ENABLED
    00410
    00411 #ifdef GLIBMM_PROPERTIES_ENABLED
    00412
    00418   Glib::PropertyProxy_ReadOnly<bool> property_silent() const;
    00419 #endif //#GLIBMM_PROPERTIES_ENABLED
    00420
    00421   #ifdef GLIBMM_PROPERTIES_ENABLED
    00422
    00428   Glib::PropertyProxy<bool> property_dump() ;
    00429 #endif //#GLIBMM_PROPERTIES_ENABLED
    00430
    00431 #ifdef GLIBMM_PROPERTIES_ENABLED
    00432
    00438   Glib::PropertyProxy_ReadOnly<bool> property_dump() const;
    00439 #endif //#GLIBMM_PROPERTIES_ENABLED
    00440
    00441   #ifdef GLIBMM_PROPERTIES_ENABLED
    00442
    00448   Glib::PropertyProxy<int> property_parentsize() ;
    00449 #endif //#GLIBMM_PROPERTIES_ENABLED
    00450
    00451 #ifdef GLIBMM_PROPERTIES_ENABLED
    00452
    00458   Glib::PropertyProxy_ReadOnly<int> property_parentsize() const;
    00459 #endif //#GLIBMM_PROPERTIES_ENABLED
    00460
    00461   #ifdef GLIBMM_PROPERTIES_ENABLED
    00462
    00468   Glib::PropertyProxy_ReadOnly<Glib::ustring> property_last_message() const;
    00469 #endif //#GLIBMM_PROPERTIES_ENABLED
    00470
    00471
    00472   #ifdef GLIBMM_PROPERTIES_ENABLED
    00473
    00479   Glib::PropertyProxy<bool> property_can_activate_pull() ;
    00480 #endif //#GLIBMM_PROPERTIES_ENABLED
    00481
    00482 #ifdef GLIBMM_PROPERTIES_ENABLED
    00483
    00489   Glib::PropertyProxy_ReadOnly<bool> property_can_activate_pull() const;
    00490 #endif //#GLIBMM_PROPERTIES_ENABLED
    00491
    00492   #ifdef GLIBMM_PROPERTIES_ENABLED
    00493
    00499   Glib::PropertyProxy<bool> property_can_activate_push() ;
    00500 #endif //#GLIBMM_PROPERTIES_ENABLED
    00501
    00502 #ifdef GLIBMM_PROPERTIES_ENABLED
    00503
    00509   Glib::PropertyProxy_ReadOnly<bool> property_can_activate_push() const;
    00510 #endif //#GLIBMM_PROPERTIES_ENABLED
    00511
    00512   #ifdef GLIBMM_PROPERTIES_ENABLED
    00513
    00519   Glib::PropertyProxy<bool> property_is_live() ;
    00520 #endif //#GLIBMM_PROPERTIES_ENABLED
    00521
    00522 #ifdef GLIBMM_PROPERTIES_ENABLED
    00523
    00529   Glib::PropertyProxy_ReadOnly<bool> property_is_live() const;
    00530 #endif //#GLIBMM_PROPERTIES_ENABLED
    00531
    00532   #ifdef GLIBMM_PROPERTIES_ENABLED
    00533
    00539   Glib::PropertyProxy<Gst::Format> property_format() ;
    00540 #endif //#GLIBMM_PROPERTIES_ENABLED
    00541
    00542 #ifdef GLIBMM_PROPERTIES_ENABLED
    00543
    00549   Glib::PropertyProxy_ReadOnly<Gst::Format> property_format() const;
    00550 #endif //#GLIBMM_PROPERTIES_ENABLED
    00551
    00552
    00558   Glib::SignalProxy2< void,const Glib::RefPtr<Gst::Buffer>&,const Glib::RefPtr<Gst::Pad>& > signal_handoff();
    00559
    00560
    00561 public:
    00562
    00563 public:
    00564   //C++ methods used to invoke GTK+ virtual functions:
    00565 #ifdef GLIBMM_VFUNCS_ENABLED
    00566 #endif //GLIBMM_VFUNCS_ENABLED
    00567
    00568 protected:
    00569   //GTK+ Virtual Functions (override these to change behaviour):
    00570 #ifdef GLIBMM_VFUNCS_ENABLED
    00571 #endif //GLIBMM_VFUNCS_ENABLED
    00572
    00573   //Default Signal Handlers::
    00574 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00575   virtual void on_handoff(const Glib::RefPtr<Gst::Buffer>& arg0, const Glib::RefPtr<Gst::Pad>& arg1);
    00576 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00577
    00578
    00579 };
    00580
    00581 } //namespace Gst
    00582
    00583
    00584 namespace Glib
    00585 {
    00594   Glib::RefPtr<Gst::FakeSrc> wrap(GstFakeSrc* object, bool take_copy = false);
    00595 }
    00596
    00597
    00598 #endif /* _GSTREAMERMM_FAKESRC_H */
    00599