- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

# videoorientation.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_VIDEOORIENTATION_H
    00004 #define _GSTREAMERMM_VIDEOORIENTATION_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 <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 /* DOXYGEN_SHOULD_SKIP_THIS */
    00036
    00037
    00038 namespace Gst
    00039 { class VideoOrientation_Class; } // namespace Gst
    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   // noncopyable
    00066   VideoOrientation(const VideoOrientation&);
    00067   VideoOrientation& operator=(const VideoOrientation&);
    00068
    00069 protected:
    00070   VideoOrientation(); // you must derive from this class
    00071
    00078   explicit VideoOrientation(const Glib::Interface_Class& interface_class);
    00079
    00080 public:
    00081   // This is public so that C++ wrapper instances can be
    00082   // created for C instances of unwrapped types.
    00083   // For instance, if an unexpected C type implements the C interface.
    00084   explicit VideoOrientation(GstVideoOrientation* castitem);
    00085
    00086 protected:
    00087 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    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
    00125   bool get_hflip(bool& flip) const;
    00126
    00133   bool get_vcenter(int& center) const;
    00134
    00142   bool get_vflip(bool& flip) const;
    00143
    00150   bool set_hcenter(int center);
    00151
    00158   bool set_hflip(bool flip);
    00159
    00166   bool set_vcenter(int center);
    00167
    00174   bool set_vflip(bool flip);
    00175
    00176   #ifdef GLIBMM_VFUNCS_ENABLED
    00177   virtual bool get_hflip_vfunc(bool& flip) const;
    00178   virtual bool get_vflip_vfunc(bool& flip) const;
    00179 #endif //GLIBMM_VFUNCS_ENABLED
    00180
    00181   #ifdef GLIBMM_VFUNCS_ENABLED
    00182   virtual bool get_hcenter_vfunc(int& center) const;
    00183 #endif //GLIBMM_VFUNCS_ENABLED
    00184
    00185   #ifdef GLIBMM_VFUNCS_ENABLED
    00186   virtual bool get_vcenter_vfunc(int& center) const;
    00187 #endif //GLIBMM_VFUNCS_ENABLED
    00188
    00189   #ifdef GLIBMM_VFUNCS_ENABLED
    00190   virtual bool set_hflip_vfunc(bool flip);
    00191 #endif //GLIBMM_VFUNCS_ENABLED
    00192
    00193   #ifdef GLIBMM_VFUNCS_ENABLED
    00194   virtual bool set_vflip_vfunc(bool flip);
    00195 #endif //GLIBMM_VFUNCS_ENABLED
    00196
    00197   #ifdef GLIBMM_VFUNCS_ENABLED
    00198   virtual bool set_hcenter_vfunc(int center);
    00199 #endif //GLIBMM_VFUNCS_ENABLED
    00200
    00201   #ifdef GLIBMM_VFUNCS_ENABLED
    00202   virtual bool set_vcenter_vfunc(int center);
    00203 #endif //GLIBMM_VFUNCS_ENABLED
    00204
    00205
    00206 protected:
    00207
    00208
    00209 public:
    00210
    00211 public:
    00212   //C++ methods used to invoke GTK+ virtual functions:
    00213 #ifdef GLIBMM_VFUNCS_ENABLED
    00214 #endif //GLIBMM_VFUNCS_ENABLED
    00215
    00216 protected:
    00217   //GTK+ Virtual Functions (override these to change behaviour):
    00218 #ifdef GLIBMM_VFUNCS_ENABLED
    00219 #endif //GLIBMM_VFUNCS_ENABLED
    00220
    00221   //Default Signal Handlers::
    00222 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00223 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00224
    00225
    00226 };
    00227
    00228 } // namespace Gst
    00229
    00230
    00231 namespace Glib
    00232 {
    00241   Glib::RefPtr<Gst::VideoOrientation> wrap(GstVideoOrientation* object, bool take_copy = false);
    00242
    00243 } // namespace Glib
    00244
    00245
    00246 #endif /* _GSTREAMERMM_VIDEOORIENTATION_H */
    00247