gstreamermm  1.4.3
Public Member Functions | Static Public Member Functions | Related Functions | List of all members
Gst::TypeFindFactory Class Reference

A class used to get information about registered typefind functions. More...

Inheritance diagram for Gst::TypeFindFactory:
Inheritance graph
[legend]
Collaboration diagram for Gst::TypeFindFactory:
Collaboration graph
[legend]

Public Member Functions

virtual ~TypeFindFactory ()
 
GstTypeFindFactory* gobj ()
 Provides access to the underlying C GObject. More...
 
const GstTypeFindFactory* gobj () const
 Provides access to the underlying C GObject. More...
 
GstTypeFindFactory* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
 
std::vector< Glib::ustringget_extensions () const
 Gets the extensions associated with a Gst::TypeFindFactory. More...
 
Glib::RefPtr< Gst::Capsget_caps ()
 Gets the Gst::Caps associated with a typefind factory. More...
 
Glib::RefPtr< const Gst::Capsget_caps () const
 Gets the Gst::Caps associated with a typefind factory. More...
 
void call_slot (Gst::TypeFind&find)
 Calls the Gst::TypeFind::SlotFind associated with this factory. More...
 
- Public Member Functions inherited from Gst::PluginFeature
virtual ~PluginFeature ()
 
GstPluginFeature* gobj ()
 Provides access to the underlying C GObject. More...
 
const GstPluginFeature* gobj () const
 Provides access to the underlying C GObject. More...
 
GstPluginFeature* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
 
void set_rank (guint rank)
 Specifies a rank for a plugin feature, so that autoplugging uses the most appropriate feature. More...
 
guint get_rank () const
 Gets the rank of a plugin feature. More...
 
Glib::RefPtr< Gst::PluginFeatureload ()
 Loads the plugin containing feature if it's not already loaded. More...
 
Glib::RefPtr< Gst::Pluginget_plugin () const
 Get the plugin that provides this feature. More...
 
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. More...
 
- Public Member Functions inherited from Gst::Object
virtual ~Object ()
 
GstObject* gobj ()
 Provides access to the underlying C GObject. More...
 
const GstObject* gobj () const
 Provides access to the underlying C GObject. More...
 
GstObject* gobj_copy ()
 Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. More...
 
bool is_element () const
 
bool is_element_factory () const
 
bool is_pad () const
 
bool is_pad_template () const
 
bool is_bin () const
 
guint32 get_flags () const
 Returns the entire set of flags for the object. More...
 
bool set_name (const Glib::ustring& name)
 Sets the name of object, or gives object a guaranteed unique name (if name is 0). More...
 
Glib::ustring get_name () const
 Returns a copy of the name of object. More...
 
bool set_parent (const Glib::RefPtr< Gst::Object >& parent)
 Sets the parent of object to parent. More...
 
Glib::RefPtr< Gst::Objectget_parent ()
 Returns the parent of object. More...
 
Glib::RefPtr< const Gst::Objectget_parent () const
 Returns the parent of object. More...
 
void unparent ()
 Clear the parent of object, removing the associated reference. More...
 
bool has_ancestor (const Glib::RefPtr< const Gst::Object >& ancestor) const
 Check if object has an ancestor ancestor somewhere up in the hierarchy. More...
 
Glib::ustring get_path_string ()
 Generates a string describing the path of object in the object hierarchy. More...
 
Glib::PropertyProxy
< Glib::ustring
property_name ()
 The name of the object. More...
 
Glib::PropertyProxy_ReadOnly
< Glib::ustring
property_name () const
 The name of the object. More...
 
Glib::SignalProxy2< void,
const Glib::RefPtr< Object >
&, GParamSpec* > 
signal_deep_notify ()
 
int get_refcount () const
 

Static Public Member Functions

static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...
 
static Glib::ListHandle
< Glib::RefPtr
< Gst::TypeFindFactory > > 
get_list ()
 Gets the list of all registered typefind factories. More...
 
- Static Public Member Functions inherited from Gst::PluginFeature
static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...
 
- Static Public Member Functions inherited from Gst::Object
static GType get_type ()
 Get the GType for this class, for use with the underlying GObject type system. More...
 
static bool check_uniqueness (const Glib::ListHandle< const Gst::Object >& list, const Glib::ustring& name)
 Checks to see if there is any object named name in list. More...
 

Related Functions

(Note that these are not member functions.)

Glib::RefPtr
< Gst::TypeFindFactory
wrap (GstTypeFindFactory* object, bool take_copy=false)
 A Glib::wrap() method for this object. More...
 

Additional Inherited Members

- Public Types inherited from Gst::PluginFeature
typedef sigc::slot< bool,
const Glib::RefPtr
< Gst::PluginFeature >& > 
SlotFilter
 For example, bool on_filter(const Glib::RefPtr<Gst::PluginFeature>& feature);. More...
 
- Protected Member Functions inherited from Gst::Object
virtual void on_deep_notify (const Glib::RefPtr< Object >& prop_object, GParamSpec* prop)
 This is a default handler for the signal signal_deep_notify(). More...
 

Detailed Description

A class used to get information about registered typefind functions.

The methods in this class allow querying information about registered typefind functions.

Writing typefinders in C++ is not possible presently.

Last reviewed on 2005-11-09 (0.9.4).

Constructor & Destructor Documentation

virtual Gst::TypeFindFactory::~TypeFindFactory ( )
virtual

Member Function Documentation

void Gst::TypeFindFactory::call_slot ( Gst::TypeFind find)

Calls the Gst::TypeFind::SlotFind associated with this factory.

Parameters
findA properly setup Gst::TypeFind entry. The get_data and suggest_type members must be set.
Glib::RefPtr<Gst::Caps> Gst::TypeFindFactory::get_caps ( )

Gets the Gst::Caps associated with a typefind factory.

Returns
The Gst::Caps associated with this factory.
Glib::RefPtr<const Gst::Caps> Gst::TypeFindFactory::get_caps ( ) const

Gets the Gst::Caps associated with a typefind factory.

Returns
The Gst::Caps associated with this factory.
std::vector<Glib::ustring> Gst::TypeFindFactory::get_extensions ( ) const

Gets the extensions associated with a Gst::TypeFindFactory.

The returned array should not be changed. If you need to change stuff in it, you should copy it using Glib::strdupv(). This function may return 0 to indicate a 0-length list.

Returns
A 0-terminated array of extensions associated with this factory.
static Glib::ListHandle< Glib::RefPtr<Gst::TypeFindFactory> > Gst::TypeFindFactory::get_list ( )
static

Gets the list of all registered typefind factories.

You must free the list using Gst::PluginFeature::list_free().

The returned factories are sorted by highest rank first, and then by factory name.

Free-function: gst_plugin_feature_list_free

Returns
The list of all registered Gst::TypeFindFactory.
static GType Gst::TypeFindFactory::get_type ( )
static

Get the GType for this class, for use with the underlying GObject type system.

GstTypeFindFactory* Gst::TypeFindFactory::gobj ( )
inline

Provides access to the underlying C GObject.

const GstTypeFindFactory* Gst::TypeFindFactory::gobj ( ) const
inline

Provides access to the underlying C GObject.

GstTypeFindFactory* Gst::TypeFindFactory::gobj_copy ( )

Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.

Friends And Related Function Documentation

Glib::RefPtr< Gst::TypeFindFactory > wrap ( GstTypeFindFactory *  object,
bool  take_copy = false 
)
related

A Glib::wrap() method for this object.

Parameters
objectThe C instance.
take_copyFalse if the result should take ownership of the C instance. True if it should take a new copy or ref.
Returns
A C++ instance that wraps this C instance.

The documentation for this class was generated from the following file: