00001
00002
00003 #ifndef _GSTREAMERMM_VIDEOORIENTATION_H
00004 #define _GSTREAMERMM_VIDEOORIENTATION_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 <gst/interfaces/videoorientation.h>
00029 #include <glibmm/interface.h>
00030
00031
00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00033 typedef struct _GstVideoOrientation GstVideoOrientation;
00034 typedef struct _GstVideoOrientationClass GstVideoOrientationClass;
00035 #endif
00036
00037
00038 namespace Gst
00039 { class VideoOrientation_Class; }
00040 namespace Gst
00041 {
00042
00050 class VideoOrientation : public Glib::Interface
00051 {
00052
00053 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00054
00055 public:
00056 typedef VideoOrientation CppObjectType;
00057 typedef VideoOrientation_Class CppClassType;
00058 typedef GstVideoOrientation BaseObjectType;
00059 typedef GstVideoOrientationInterface BaseClassType;
00060
00061 private:
00062 friend class VideoOrientation_Class;
00063 static CppClassType videoorientation_class_;
00064
00065
00066 VideoOrientation(const VideoOrientation&);
00067 VideoOrientation& operator=(const VideoOrientation&);
00068
00069 protected:
00070 VideoOrientation();
00071
00078 explicit VideoOrientation(const Glib::Interface_Class& interface_class);
00079
00080 public:
00081
00082
00083
00084 explicit VideoOrientation(GstVideoOrientation* castitem);
00085
00086 protected:
00087 #endif
00088
00089 public:
00090 virtual ~VideoOrientation();
00091
00092 static void add_interface(GType gtype_implementer);
00093
00094 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00095 static GType get_type() G_GNUC_CONST;
00096 static GType get_base_type() G_GNUC_CONST;
00097 #endif
00098
00100 GstVideoOrientation* gobj() { return reinterpret_cast<GstVideoOrientation*>(gobject_); }
00101
00103 const GstVideoOrientation* gobj() const { return reinterpret_cast<GstVideoOrientation*>(gobject_); }
00104
00105 private:
00106
00107
00108 public:
00109
00116 bool get_hcenter(int& center) const;
00117
00124 bool get_hflip(bool& flip) const;
00125
00132 bool get_vcenter(int& center) const;
00133
00140 bool get_vflip(bool& flip) const;
00141
00148 bool set_hcenter(int center);
00149
00156 bool set_hflip(bool flip);
00157
00164 bool set_vcenter(int center);
00165
00172 bool set_vflip(bool flip);
00173
00174
00175
00176
00177 public:
00178
00179 public:
00180
00181 #ifdef GLIBMM_VFUNCS_ENABLED
00182 #endif //GLIBMM_VFUNCS_ENABLED
00183
00184 protected:
00185
00186 #ifdef GLIBMM_VFUNCS_ENABLED
00187 #endif //GLIBMM_VFUNCS_ENABLED
00188
00189
00190 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00191 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
00192
00193
00194 };
00195
00196 }
00197
00198
00199 namespace Glib
00200 {
00209 Glib::RefPtr<Gst::VideoOrientation> wrap(GstVideoOrientation* object, bool take_copy = false);
00210
00211 }
00212
00213
00214 #endif
00215