- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# videosink.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_VIDEOSINK_H
    00004 #define _GSTREAMERMM_VIDEOSINK_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/basesink.h>
    00029
    00030
    00031 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00032 typedef struct _GstVideoSink GstVideoSink;
    00033 typedef struct _GstVideoSinkClass GstVideoSinkClass;
    00034 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00035
    00036
    00037 namespace Gst
    00038 { class VideoSink_Class; } // namespace Gst
    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   // noncopyable
    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 /* DOXYGEN_SHOULD_SKIP_THIS */
    00076
    00077 public:
    00078   virtual ~VideoSink();
    00079
    00080 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00081   static GType get_type()      G_GNUC_CONST;
    00082   static GType get_base_type() G_GNUC_CONST;
    00083 #endif
    00084
    00086   GstVideoSink*       gobj()       { return reinterpret_cast<GstVideoSink*>(gobject_); }
    00087
    00089   const GstVideoSink* gobj() const { return reinterpret_cast<GstVideoSink*>(gobject_); }
    00090
    00092   GstVideoSink* gobj_copy();
    00093
    00094 private:
    00095
    00096
    00097 public:
    00100    int get_height() const;
    00101
    00104    int get_width() const;
    00105
    00106   //TODO: _WRAP_METHOD(void center_rect(...), gst_video_sink_center_rect)
    00107
    00108
    00109 public:
    00110
    00111 public:
    00112   //C++ methods used to invoke GTK+ virtual functions:
    00113 #ifdef GLIBMM_VFUNCS_ENABLED
    00114 #endif //GLIBMM_VFUNCS_ENABLED
    00115
    00116 protected:
    00117   //GTK+ Virtual Functions (override these to change behaviour):
    00118 #ifdef GLIBMM_VFUNCS_ENABLED
    00119 #endif //GLIBMM_VFUNCS_ENABLED
    00120
    00121   //Default Signal Handlers::
    00122 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00123 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00124
    00125
    00126 };
    00127
    00128 } // namespace Gst
    00129
    00130
    00131 namespace Glib
    00132 {
    00141   Glib::RefPtr<Gst::VideoSink> wrap(GstVideoSink* object, bool take_copy = false);
    00142 }
    00143
    00144
    00145 #endif /* _GSTREAMERMM_VIDEOSINK_H */
    00146