|
| Media.Streaming.GStreamer.Core.ElementFactory | | Portability | portable (depends on GHC) | | Stability | alpha | | Maintainer | gtk2hs-devel@lists.sourceforge.net |
|
|
|
|
|
| Description |
| A factory for creating Elements.
|
|
| Synopsis |
|
|
|
|
| Detail
|
|
ElementFactory is used to create instances of Elements.
Use elementFactoryFind and elementFactoryCreate to create
element instances, or use elementFactoryMake as a convenient
shortcut.
|
|
| Types
|
|
|
|
|
|
|
|
|
|
|
| ElementFactory Operations
|
|
|
|
|
| elementFactoryGetElementType | Source |
|
| :: ElementFactoryClass elementFactory | | | => elementFactory | the type of elements managed
by the factory, or Nothing if
the factory is not loaded
| | -> IO (Maybe GType) | | | Get the GType for elements managed by the given factory. The type
can only be retrieved if the element factory is loaded, which can
be assured with
Media.Streaming.GStreamer.Core.PluginFeature.pluginFeatureLoad.
|
|
|
| elementFactoryGetLongname | Source |
|
|
|
|
|
|
| elementFactoryGetDescription | Source |
|
|
|
|
|
|
| elementFactoryGetNumPadTemplates | Source |
|
|
|
| elementFactoryGetURIType | Source |
|
| :: ElementFactoryClass elementFactory | | | => elementFactory | the type of URIs supported by the factory
| | -> IO Int | | | Get the type of URIs supported by the given factory.
|
|
|
| elementFactoryGetURIProtocols | Source |
|
| :: ElementFactoryClass elementFactory | | | => elementFactory | the supported protocols
| | -> IO [String] | | | Get the list of protocols supported by the given factory.
|
|
|
| elementFactoryHasInterface | Source |
|
| :: ElementFactoryClass elementFactory | | | => elementFactory | name - the interface name
| | -> String | true if the interface is implemented
| | -> IO Bool | | Check if the given factory implements the interface with the given name.
Since 0.10.14.
|
|
|
|
| :: ElementFactoryClass elementFactory | | | => elementFactory | name - the new element's name
| | -> String | the new element if it could be created,
otherwise Nothing
| | -> IO (Maybe Element) | | | Create a new element of the type supplied by the given
factory. It will be given the name supplied.
|
|
|
|
| :: String | factoryName - the name of an element factory
| | -> Maybe String | name - the new element's name, or
Nothing generate a unique name
| | -> IO (Maybe Element) | the new element if it could be created,
otherwise Nothing
| | Create a new element of the type supplied by the named
factory.
|
|
|
| elementFactoryCanSinkCaps | Source |
|
| :: ElementFactoryClass elementFactory | | | => elementFactory | caps - the capabilities to check for
| | -> Caps | True if factory can sink the given capabilities
| | -> IO Bool | | | Check if the given factory can sink the given capabilities.
|
|
|
| elementFactoryCanSrcCaps | Source |
|
| :: ElementFactoryClass elementFactory | | | => elementFactory | caps - the capabilities to check for
| | -> Caps | True if factory can source the given capabilities
| | -> IO Bool | | | Check if the given factory can source the given capabilities.
|
|
|
| elementFactoryGetPadTemplates | Source |
|
|
|
| Produced by Haddock version 2.6.0 |