00001
00002
00003 #ifndef _GSTREAMERBASEMM_VIDEOSINK_H
00004 #define _GSTREAMERBASEMM_VIDEOSINK_H
00005
00006
00007 #include <glibmm.h>
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #include <gstreamermm/basesink.h>
00031
00032
00033 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00034 typedef struct _GstVideoSink GstVideoSink;
00035 typedef struct _GstVideoSinkClass GstVideoSinkClass;
00036 #endif
00037
00038
00039 namespace GstBase
00040 { class VideoSink_Class; }
00041 namespace GstBase
00042 {
00043
00054 class VideoSink : public Gst::BaseSink
00055 {
00056
00057 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00058
00059 public:
00060 typedef VideoSink CppObjectType;
00061 typedef VideoSink_Class CppClassType;
00062 typedef GstVideoSink BaseObjectType;
00063 typedef GstVideoSinkClass BaseClassType;
00064
00065 private: friend class VideoSink_Class;
00066 static CppClassType videosink_class_;
00067
00068 private:
00069
00070 VideoSink(const VideoSink&);
00071 VideoSink& operator=(const VideoSink&);
00072
00073 protected:
00074 explicit VideoSink(const Glib::ConstructParams& construct_params);
00075 explicit VideoSink(GstVideoSink* castitem);
00076
00077 #endif
00078
00079 public:
00080 virtual ~VideoSink();
00081
00082 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00083 static GType get_type() G_GNUC_CONST;
00084 static GType get_base_type() G_GNUC_CONST;
00085 #endif
00086
00088 GstVideoSink* gobj() { return reinterpret_cast<GstVideoSink*>(gobject_); }
00089
00091 const GstVideoSink* gobj() const { return reinterpret_cast<GstVideoSink*>(gobject_); }
00092
00094 GstVideoSink* gobj_copy();
00095
00096 private:
00097
00098
00099 public:
00102 int get_height() const;
00103
00106 int get_width() const;
00107
00108
00109
00110
00111 public:
00112
00113 public:
00114
00115 #ifdef GLIBMM_VFUNCS_ENABLED
00116 #endif //GLIBMM_VFUNCS_ENABLED
00117
00118 protected:
00119
00120 #ifdef GLIBMM_VFUNCS_ENABLED
00121 #endif //GLIBMM_VFUNCS_ENABLED
00122
00123
00124 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00125 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00126
00127
00128 };
00129
00130 }
00131
00132
00133 namespace Glib
00134 {
00143 Glib::RefPtr<GstBase::VideoSink> wrap(GstVideoSink* object, bool take_copy = false);
00144 }
00145
00146
00147 #endif
00148