gstreamermm: videotestsrc.h Source File

- Main Page
- Modules
- Namespaces
- Classes
- Files

# videotestsrc.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_VIDEOTESTSRC_H
    00004 #define _GSTREAMERMM_VIDEOTESTSRC_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/pushsrc.h>
    00029
    00030
    00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00032 typedef struct _GstVideoTestSrc GstVideoTestSrc;
    00033 typedef struct _GstVideoTestSrcClass GstVideoTestSrcClass;
    00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00035
    00036
    00037 namespace Gst
    00038 { class VideoTestSrc_Class; } // namespace Gst
    00039 namespace Gst
    00040 {
    00041
    00047 enum VideoTestSrcPattern
    00048 {
    00049   VIDEO_TEST_SRC_SMPTE,
    00050   VIDEO_TEST_SRC_SNOW,
    00051   VIDEO_TEST_SRC_BLACK,
    00052   VIDEO_TEST_SRC_WHITE,
    00053   VIDEO_TEST_SRC_RED,
    00054   VIDEO_TEST_SRC_GREEN,
    00055   VIDEO_TEST_SRC_BLUE,
    00056   VIDEO_TEST_SRC_CHECKERS1,
    00057   VIDEO_TEST_SRC_CHECKERS2,
    00058   VIDEO_TEST_SRC_CHECKERS4,
    00059   VIDEO_TEST_SRC_CHECKERS8,
    00060   VIDEO_TEST_SRC_CIRCULAR,
    00061   VIDEO_TEST_SRC_BLINK,
    00062   VIDEO_TEST_SRC_SMPTE75,
    00063   VIDEO_TEST_SRC_ZONE_PLATE
    00064 };
    00065
    00066 } // namespace Gst
    00067
    00068
    00069 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00070 namespace Glib
    00071 {
    00072
    00073 template <>
    00074 class Value<Gst::VideoTestSrcPattern> : public Glib::Value_Enum<Gst::VideoTestSrcPattern>
    00075 {
    00076 public:
    00077   static GType value_type() G_GNUC_CONST;
    00078 };
    00079
    00080 } // namespace Glib
    00081 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00082
    00083
    00084 namespace Gst
    00085 {
    00086
    00090 enum VideoTestSrcColorSpec
    00091 {
    00092   VIDEO_TEST_SRC_BT601,
    00093   VIDEO_TEST_SRC_BT709
    00094 };
    00095
    00096 } // namespace Gst
    00097
    00098
    00099 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00100 namespace Glib
    00101 {
    00102
    00103 template <>
    00104 class Value<Gst::VideoTestSrcColorSpec> : public Glib::Value_Enum<Gst::VideoTestSrcColorSpec>
    00105 {
    00106 public:
    00107   static GType value_type() G_GNUC_CONST;
    00108 };
    00109
    00110 } // namespace Glib
    00111 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00112
    00113
    00114 namespace Gst
    00115 {
    00116
    00117
    00128 class VideoTestSrc
    00129 : public Gst::PushSrc
    00130 {
    00131
    00132 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00133
    00134 public:
    00135   typedef VideoTestSrc CppObjectType;
    00136   typedef VideoTestSrc_Class CppClassType;
    00137   typedef GstVideoTestSrc BaseObjectType;
    00138   typedef GstVideoTestSrcClass BaseClassType;
    00139
    00140 private:  friend class VideoTestSrc_Class;
    00141   static CppClassType videotestsrc_class_;
    00142
    00143 private:
    00144   // noncopyable
    00145   VideoTestSrc(const VideoTestSrc&);
    00146   VideoTestSrc& operator=(const VideoTestSrc&);
    00147
    00148 protected:
    00149   explicit VideoTestSrc(const Glib::ConstructParams& construct_params);
    00150   explicit VideoTestSrc(GstVideoTestSrc* castitem);
    00151
    00152 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00153
    00154 public:
    00155   virtual ~VideoTestSrc();
    00156
    00157 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00158   static GType get_type()      G_GNUC_CONST;
    00159   static GType get_base_type() G_GNUC_CONST;
    00160 #endif
    00161
    00163   GstVideoTestSrc*       gobj()       { return reinterpret_cast<GstVideoTestSrc*>(gobject_); }
    00164
    00166   const GstVideoTestSrc* gobj() const { return reinterpret_cast<GstVideoTestSrc*>(gobject_); }
    00167
    00169   GstVideoTestSrc* gobj_copy();
    00170
    00171 private:
    00172
    00173
    00174 protected:
    00175   VideoTestSrc();
    00176   VideoTestSrc(const Glib::ustring& name);
    00177
    00178 public:
    00182   static Glib::RefPtr<VideoTestSrc> create();
    00183
    00184
    00188   static Glib::RefPtr<VideoTestSrc> create(const Glib::ustring& name);
    00189
    00190
    00191   #ifdef GLIBMM_PROPERTIES_ENABLED
    00192
    00198   Glib::PropertyProxy<VideoTestSrcPattern> property_pattern() ;
    00199 #endif //#GLIBMM_PROPERTIES_ENABLED
    00200
    00201 #ifdef GLIBMM_PROPERTIES_ENABLED
    00202
    00208   Glib::PropertyProxy_ReadOnly<VideoTestSrcPattern> property_pattern() const;
    00209 #endif //#GLIBMM_PROPERTIES_ENABLED
    00210
    00211   #ifdef GLIBMM_PROPERTIES_ENABLED
    00212
    00218   Glib::PropertyProxy<gint64> property_timestamp_offset() ;
    00219 #endif //#GLIBMM_PROPERTIES_ENABLED
    00220
    00221 #ifdef GLIBMM_PROPERTIES_ENABLED
    00222
    00228   Glib::PropertyProxy_ReadOnly<gint64> property_timestamp_offset() const;
    00229 #endif //#GLIBMM_PROPERTIES_ENABLED
    00230
    00231   #ifdef GLIBMM_PROPERTIES_ENABLED
    00232
    00238   Glib::PropertyProxy<bool> property_is_live() ;
    00239 #endif //#GLIBMM_PROPERTIES_ENABLED
    00240
    00241 #ifdef GLIBMM_PROPERTIES_ENABLED
    00242
    00248   Glib::PropertyProxy_ReadOnly<bool> property_is_live() const;
    00249 #endif //#GLIBMM_PROPERTIES_ENABLED
    00250
    00251   #ifdef GLIBMM_PROPERTIES_ENABLED
    00252
    00258   Glib::PropertyProxy<bool> property_peer_alloc() ;
    00259 #endif //#GLIBMM_PROPERTIES_ENABLED
    00260
    00261 #ifdef GLIBMM_PROPERTIES_ENABLED
    00262
    00268   Glib::PropertyProxy_ReadOnly<bool> property_peer_alloc() const;
    00269 #endif //#GLIBMM_PROPERTIES_ENABLED
    00270
    00271   #ifdef GLIBMM_PROPERTIES_ENABLED
    00272
    00278   Glib::PropertyProxy<VideoTestSrcColorSpec> property_colorspec() ;
    00279 #endif //#GLIBMM_PROPERTIES_ENABLED
    00280
    00281 #ifdef GLIBMM_PROPERTIES_ENABLED
    00282
    00288   Glib::PropertyProxy_ReadOnly<VideoTestSrcColorSpec> property_colorspec() const;
    00289 #endif //#GLIBMM_PROPERTIES_ENABLED
    00290
    00291   #ifdef GLIBMM_PROPERTIES_ENABLED
    00292
    00298   Glib::PropertyProxy<int> property_k0() ;
    00299 #endif //#GLIBMM_PROPERTIES_ENABLED
    00300
    00301 #ifdef GLIBMM_PROPERTIES_ENABLED
    00302
    00308   Glib::PropertyProxy_ReadOnly<int> property_k0() const;
    00309 #endif //#GLIBMM_PROPERTIES_ENABLED
    00310
    00311   #ifdef GLIBMM_PROPERTIES_ENABLED
    00312
    00318   Glib::PropertyProxy<int> property_kx() ;
    00319 #endif //#GLIBMM_PROPERTIES_ENABLED
    00320
    00321 #ifdef GLIBMM_PROPERTIES_ENABLED
    00322
    00328   Glib::PropertyProxy_ReadOnly<int> property_kx() const;
    00329 #endif //#GLIBMM_PROPERTIES_ENABLED
    00330
    00331   #ifdef GLIBMM_PROPERTIES_ENABLED
    00332
    00338   Glib::PropertyProxy<int> property_ky() ;
    00339 #endif //#GLIBMM_PROPERTIES_ENABLED
    00340
    00341 #ifdef GLIBMM_PROPERTIES_ENABLED
    00342
    00348   Glib::PropertyProxy_ReadOnly<int> property_ky() const;
    00349 #endif //#GLIBMM_PROPERTIES_ENABLED
    00350
    00351   #ifdef GLIBMM_PROPERTIES_ENABLED
    00352
    00358   Glib::PropertyProxy<int> property_kt() ;
    00359 #endif //#GLIBMM_PROPERTIES_ENABLED
    00360
    00361 #ifdef GLIBMM_PROPERTIES_ENABLED
    00362
    00368   Glib::PropertyProxy_ReadOnly<int> property_kt() const;
    00369 #endif //#GLIBMM_PROPERTIES_ENABLED
    00370
    00371   #ifdef GLIBMM_PROPERTIES_ENABLED
    00372
    00378   Glib::PropertyProxy<int> property_kxt() ;
    00379 #endif //#GLIBMM_PROPERTIES_ENABLED
    00380
    00381 #ifdef GLIBMM_PROPERTIES_ENABLED
    00382
    00388   Glib::PropertyProxy_ReadOnly<int> property_kxt() const;
    00389 #endif //#GLIBMM_PROPERTIES_ENABLED
    00390
    00391   #ifdef GLIBMM_PROPERTIES_ENABLED
    00392
    00398   Glib::PropertyProxy<int> property_kyt() ;
    00399 #endif //#GLIBMM_PROPERTIES_ENABLED
    00400
    00401 #ifdef GLIBMM_PROPERTIES_ENABLED
    00402
    00408   Glib::PropertyProxy_ReadOnly<int> property_kyt() const;
    00409 #endif //#GLIBMM_PROPERTIES_ENABLED
    00410
    00411   #ifdef GLIBMM_PROPERTIES_ENABLED
    00412
    00418   Glib::PropertyProxy<int> property_kxy() ;
    00419 #endif //#GLIBMM_PROPERTIES_ENABLED
    00420
    00421 #ifdef GLIBMM_PROPERTIES_ENABLED
    00422
    00428   Glib::PropertyProxy_ReadOnly<int> property_kxy() const;
    00429 #endif //#GLIBMM_PROPERTIES_ENABLED
    00430
    00431   #ifdef GLIBMM_PROPERTIES_ENABLED
    00432
    00438   Glib::PropertyProxy<int> property_kx2() ;
    00439 #endif //#GLIBMM_PROPERTIES_ENABLED
    00440
    00441 #ifdef GLIBMM_PROPERTIES_ENABLED
    00442
    00448   Glib::PropertyProxy_ReadOnly<int> property_kx2() const;
    00449 #endif //#GLIBMM_PROPERTIES_ENABLED
    00450
    00451   #ifdef GLIBMM_PROPERTIES_ENABLED
    00452
    00458   Glib::PropertyProxy<int> property_ky2() ;
    00459 #endif //#GLIBMM_PROPERTIES_ENABLED
    00460
    00461 #ifdef GLIBMM_PROPERTIES_ENABLED
    00462
    00468   Glib::PropertyProxy_ReadOnly<int> property_ky2() const;
    00469 #endif //#GLIBMM_PROPERTIES_ENABLED
    00470
    00471   #ifdef GLIBMM_PROPERTIES_ENABLED
    00472
    00478   Glib::PropertyProxy<int> property_kt2() ;
    00479 #endif //#GLIBMM_PROPERTIES_ENABLED
    00480
    00481 #ifdef GLIBMM_PROPERTIES_ENABLED
    00482
    00488   Glib::PropertyProxy_ReadOnly<int> property_kt2() const;
    00489 #endif //#GLIBMM_PROPERTIES_ENABLED
    00490
    00491   #ifdef GLIBMM_PROPERTIES_ENABLED
    00492
    00498   Glib::PropertyProxy<int> property_xoffset() ;
    00499 #endif //#GLIBMM_PROPERTIES_ENABLED
    00500
    00501 #ifdef GLIBMM_PROPERTIES_ENABLED
    00502
    00508   Glib::PropertyProxy_ReadOnly<int> property_xoffset() const;
    00509 #endif //#GLIBMM_PROPERTIES_ENABLED
    00510
    00511   #ifdef GLIBMM_PROPERTIES_ENABLED
    00512
    00518   Glib::PropertyProxy<int> property_yoffset() ;
    00519 #endif //#GLIBMM_PROPERTIES_ENABLED
    00520
    00521 #ifdef GLIBMM_PROPERTIES_ENABLED
    00522
    00528   Glib::PropertyProxy_ReadOnly<int> property_yoffset() const;
    00529 #endif //#GLIBMM_PROPERTIES_ENABLED
    00530
    00531
    00532 public:
    00533
    00534 public:
    00535   //C++ methods used to invoke GTK+ virtual functions:
    00536 #ifdef GLIBMM_VFUNCS_ENABLED
    00537 #endif //GLIBMM_VFUNCS_ENABLED
    00538
    00539 protected:
    00540   //GTK+ Virtual Functions (override these to change behaviour):
    00541 #ifdef GLIBMM_VFUNCS_ENABLED
    00542 #endif //GLIBMM_VFUNCS_ENABLED
    00543
    00544   //Default Signal Handlers::
    00545 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00546 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00547
    00548
    00549 };
    00550
    00551 } //namespace Gst
    00552
    00553
    00554 namespace Glib
    00555 {
    00564   Glib::RefPtr<Gst::VideoTestSrc> wrap(GstVideoTestSrc* object, bool take_copy = false);
    00565 }
    00566
    00567
    00568 #endif /* _GSTREAMERMM_VIDEOTESTSRC_H */
    00569