00001
00002
00003 #ifndef _GSTREAMERMM_VIDEOSINK_H
00004 #define _GSTREAMERMM_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 #include <gstreamermm/basesink.h>
00029
00030
00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00032 typedef struct _GstVideoSink GstVideoSink;
00033 typedef struct _GstVideoSinkClass GstVideoSinkClass;
00034 #endif
00035
00036
00037 namespace Gst
00038 { class VideoSink_Class; }
00039 namespace Gst
00040 {
00041
00052 class VideoSink : public Gst::BaseSink
00053 {
00054
00055 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00056
00057 public:
00058 typedef VideoSink CppObjectType;
00059 typedef VideoSink_Class CppClassType;
00060 typedef GstVideoSink BaseObjectType;
00061 typedef GstVideoSinkClass BaseClassType;
00062
00063 private: friend class VideoSink_Class;
00064 static CppClassType videosink_class_;
00065
00066 private:
00067
00068 VideoSink(const VideoSink&);
00069 VideoSink& operator=(const VideoSink&);
00070
00071 protected:
00072 explicit VideoSink(const Glib::ConstructParams& construct_params);
00073 explicit VideoSink(GstVideoSink* castitem);
00074
00075 #endif
00076
00077 public:
00078 virtual ~VideoSink();
00079
00080 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00081 static GType get_type() G_GNUC_CONST;
00082
00083
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<Gst::VideoSink> wrap(GstVideoSink* object, bool take_copy = false);
00144 }
00145
00146
00147 #endif
00148