| gstreamermm
    0.10.11
    | 
A base class for anything that can be added to a Gst::Plugin. More...


| Public Types | |
| typedef sigc::slot< bool, const Glib::RefPtr < Gst::PluginFeature >& > | SlotFilter | 
| For example, bool on_filter(const Glib::RefPtr<Gst::PluginFeature>& feature);. | |
| Public Member Functions | |
| virtual | ~PluginFeature () | 
| GstPluginFeature* | gobj () | 
| Provides access to the underlying C GObject. | |
| const GstPluginFeature* | gobj () const | 
| Provides access to the underlying C GObject. | |
| GstPluginFeature* | gobj_copy () | 
| Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. | |
| void | set_rank (guint rank) | 
| Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature. | |
| void | set_name (const Glib::ustring& name) | 
| Sets the name of a plugin feature. | |
| guint | get_rank () const | 
| Gets the rank of a plugin feature. | |
| Glib::ustring | get_name () const | 
| Gets the name of a plugin feature. | |
| Glib::RefPtr< Gst::PluginFeature > | load () | 
| Loads the plugin containing feature if it's not already loaded. | |
| bool | check_version (guint min_major, guint min_minor, guint min_micro) const | 
| Checks whether the given plugin feature is at least the required version. | |
| Static Public Member Functions | |
| static GType | get_type () | 
| Get the GType for this class, for use with the underlying GObject type system. | |
| Related Functions | |
| (Note that these are not member functions.) | |
| Glib::RefPtr< Gst::PluginFeature > | wrap (GstPluginFeature* object, bool take_copy=false) | 
| A Glib::wrap() method for this object. | |
A base class for anything that can be added to a Gst::Plugin.
| typedef sigc::slot< bool, const Glib::RefPtr<Gst::PluginFeature>& > Gst::PluginFeature::SlotFilter | 
For example, bool on_filter(const Glib::RefPtr<Gst::PluginFeature>& feature);.
The filter function should return true if the feature is a match, false otherwise.
| virtual Gst::PluginFeature::~PluginFeature | ( | ) |  [virtual] | 
| bool Gst::PluginFeature::check_version | ( | guint | min_major, | 
| guint | min_minor, | ||
| guint | min_micro | ||
| ) | const | 
Checks whether the given plugin feature is at least the required version.
| min_major | Minimum required major version. | 
| min_minor | Minimum required minor version. | 
| min_micro | Minimum required micro version. | 
true if the plugin feature has at least the required version, otherwise #false. | Glib::ustring Gst::PluginFeature::get_name | ( | ) | const | 
| guint Gst::PluginFeature::get_rank | ( | ) | const | 
Gets the rank of a plugin feature.
| static GType Gst::PluginFeature::get_type | ( | ) |  [static] | 
Get the GType for this class, for use with the underlying GObject type system.
Reimplemented from Gst::Object.
Reimplemented in Gst::ElementFactory, Gst::TypeFindFactory, and Gst::IndexFactory.
| GstPluginFeature* Gst::PluginFeature::gobj | ( | ) |  [inline] | 
Provides access to the underlying C GObject.
Reimplemented from Gst::Object.
Reimplemented in Gst::ElementFactory, Gst::TypeFindFactory, and Gst::IndexFactory.
| const GstPluginFeature* Gst::PluginFeature::gobj | ( | ) | const  [inline] | 
Provides access to the underlying C GObject.
Reimplemented from Gst::Object.
Reimplemented in Gst::ElementFactory, Gst::TypeFindFactory, and Gst::IndexFactory.
| GstPluginFeature* Gst::PluginFeature::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::Object.
Reimplemented in Gst::ElementFactory, Gst::TypeFindFactory, and Gst::IndexFactory.
Loads the plugin containing feature if it's not already loaded.
feature is unaffected; use the return value instead.
Normally this function is used like this:
[C example ellipted]
0 on error. | void Gst::PluginFeature::set_name | ( | const Glib::ustring & | name | ) | 
Sets the name of a plugin feature.
The name uniquely identifies a feature within all features of the same type. Renaming a plugin feature is not allowed. A copy is made of the name so you should free the supplied name after calling this function.
| name | The name to set. | 
Reimplemented from Gst::Object.
| void Gst::PluginFeature::set_rank | ( | guint | rank | ) | 
Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature.
| rank | Rank value - higher number means more priority rank. | 
| Glib::RefPtr< Gst::PluginFeature > wrap | ( | GstPluginFeature * | 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. | 
 1.7.6.1
 1.7.6.1