#include <indexfactory.h>
Public Member Functions | |
virtual | ~IndexFactory () |
GstIndexFactory* | gobj () |
Provides access to the underlying C GObject. | |
const GstIndexFactory* | gobj () const |
Provides access to the underlying C GObject. | |
GstIndexFactory* | gobj_copy () |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
Glib::RefPtr<Gst::Index> | create_index () |
Create a new Gst::Index instance from the given indexfactory. | |
Static Public Member Functions | |
static Glib::RefPtr<IndexFactory> | create (const Glib::ustring& name, const Glib::ustring& longdesc, GType type) |
Create a new index factory with the given parameters. | |
static Glib::RefPtr <Gst::IndexFactory> | find (const Glib::ustring& name) |
Search for an indexfactory of the given name. | |
static Glib::RefPtr<Gst::Index> | create_index (const Glib::ustring& factory_name) |
Create a new Gst::Index instance from the indexfactory with the given name. | |
Protected Member Functions | |
IndexFactory (const Glib::ustring& name, const Glib::ustring& longdesc, GType type) | |
Related Functions | |
(Note that these are not member functions.) | |
Glib::RefPtr<Gst::IndexFactory> | wrap (GstIndexFactory* object, bool take_copy=false) |
A Glib::wrap() method for this object. |
Gst::IndexFactory is used to dynamically create Gst::Index implementations.
virtual Gst::IndexFactory::~IndexFactory | ( | ) | [virtual] |
Gst::IndexFactory::IndexFactory | ( | const Glib::ustring & | name, | |
const Glib::ustring & | longdesc, | |||
GType | type | |||
) | [explicit, protected] |
static Glib::RefPtr<IndexFactory> Gst::IndexFactory::create | ( | const Glib::ustring & | name, | |
const Glib::ustring & | longdesc, | |||
GType | type | |||
) | [static] |
Create a new index factory with the given parameters.
name | Name of the index factory to create. | |
longdesc | Long description of the index factory to create. | |
type | The GType of the Gst::Index element of this factory. |
static Glib::RefPtr<Gst::Index> Gst::IndexFactory::create_index | ( | const Glib::ustring & | factory_name | ) | [static] |
Create a new Gst::Index instance from the indexfactory with the given name.
name | The name of the factory used to create the instance. |
Glib::RefPtr<Gst::Index> Gst::IndexFactory::create_index | ( | ) |
static Glib::RefPtr<Gst::IndexFactory> Gst::IndexFactory::find | ( | const Glib::ustring & | name | ) | [static] |
Search for an indexfactory of the given name.
name | Name of indexfactory to find. |
0
otherwise. const GstIndexFactory* Gst::IndexFactory::gobj | ( | ) | const [inline] |
GstIndexFactory* Gst::IndexFactory::gobj | ( | ) | [inline] |
GstIndexFactory* Gst::IndexFactory::gobj_copy | ( | ) |
Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.
Reimplemented from Gst::PluginFeature.
Glib::RefPtr<Gst::IndexFactory> wrap | ( | GstIndexFactory * | object, | |
bool | take_copy = false | |||
) | [related] |
A Glib::wrap() method for this object.
object | The C instance. | |
take_copy | False if the result should take ownership of the C instance. True if it should take a new copy or ref. |