- Main Page
- Modules
- Namespaces
- Classes
- Files

- File List

# indexfactory.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // Generated by gtkmmproc -- DO NOT MODIFY!
    00003 #ifndef _GSTREAMERMM_INDEXFACTORY_H
    00004 #define _GSTREAMERMM_INDEXFACTORY_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/gstelement.h>
    00029 #include <gstreamermm/pluginfeature.h>
    00030
    00031
    00032 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00033 typedef struct _GstIndexFactory GstIndexFactory;
    00034 typedef struct _GstIndexFactoryClass GstIndexFactoryClass;
    00035 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00036
    00037
    00038 namespace Gst
    00039 { class IndexFactory_Class; } // namespace Gst
    00040 namespace Gst
    00041 {
    00042
    00043 class Index;
    00044
    00049 class IndexFactory : public PluginFeature
    00050 {
    00051
    00052 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00053
    00054 public:
    00055   typedef IndexFactory CppObjectType;
    00056   typedef IndexFactory_Class CppClassType;
    00057   typedef GstIndexFactory BaseObjectType;
    00058   typedef GstIndexFactoryClass BaseClassType;
    00059
    00060 private:  friend class IndexFactory_Class;
    00061   static CppClassType indexfactory_class_;
    00062
    00063 private:
    00064   // noncopyable
    00065   IndexFactory(const IndexFactory&);
    00066   IndexFactory& operator=(const IndexFactory&);
    00067
    00068 protected:
    00069   explicit IndexFactory(const Glib::ConstructParams& construct_params);
    00070   explicit IndexFactory(GstIndexFactory* castitem);
    00071
    00072 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
    00073
    00074 public:
    00075   virtual ~IndexFactory();
    00076
    00077 #ifndef DOXYGEN_SHOULD_SKIP_THIS
    00078   static GType get_type()      G_GNUC_CONST;
    00079   static GType get_base_type() G_GNUC_CONST;
    00080 #endif
    00081
    00083   GstIndexFactory*       gobj()       { return reinterpret_cast<GstIndexFactory*>(gobject_); }
    00084
    00086   const GstIndexFactory* gobj() const { return reinterpret_cast<GstIndexFactory*>(gobject_); }
    00087
    00089   GstIndexFactory* gobj_copy();
    00090
    00091 private:
    00092
    00093
    00094 protected:
    00095   explicit IndexFactory(const Glib::ustring& name, const Glib::ustring& longdesc, GType type);
    00096
    00097 public:
    00106   static Glib::RefPtr<IndexFactory> create(const Glib::ustring& name, const Glib::ustring& longdesc, GType type);
    00107
    00108
    00113   static Glib::RefPtr<Gst::IndexFactory> find(const Glib::ustring& name);
    00114
    00119   Glib::RefPtr<Gst::Index> create_index();
    00120
    00126   static Glib::RefPtr<Gst::Index> create_index(const Glib::ustring& factory_name);
    00127
    00128   //Destruction occurs when last reference is lost.
    00129
    00130
    00131 public:
    00132
    00133 public:
    00134   //C++ methods used to invoke GTK+ virtual functions:
    00135 #ifdef GLIBMM_VFUNCS_ENABLED
    00136 #endif //GLIBMM_VFUNCS_ENABLED
    00137
    00138 protected:
    00139   //GTK+ Virtual Functions (override these to change behaviour):
    00140 #ifdef GLIBMM_VFUNCS_ENABLED
    00141 #endif //GLIBMM_VFUNCS_ENABLED
    00142
    00143   //Default Signal Handlers::
    00144 #ifdef GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00145 #endif //GLIBMM_DEFAULT_SIGNAL_HANDLERS_ENABLED
    00146
    00147
    00148 };
    00149
    00150 } // namespace Gst
    00151
    00152
    00153 namespace Glib
    00154 {
    00163   Glib::RefPtr<Gst::IndexFactory> wrap(GstIndexFactory* object, bool take_copy = false);
    00164 }
    00165
    00166
    00167 #endif /* _GSTREAMERMM_INDEXFACTORY_H */
    00168