gstreamer/docs/random/wtay/registry

64 lines
983 B
Text
Raw Normal View History

Requirements
------------
- plugable backends:
- XML
- flat file
- GConf/bonobo conf
- web registry
- in memory (trivial?)
- SQL backend (gda?)
- provide API to the core to load/inspect/save plugins.
- provide user/system registry
- provide combination of backends
- provide backend specific queries
user/system registry
--------------------
first query the user registry, then fall back to system registry.
model:
------
registry_pool
!
!---> registry (name, priority)
!
!
!---> registry (name, priority)
! !
! !-> plugin
! !
! !-> plugin
! ... !
! !-> feature ...
!
...
A registrypool holds a list of registries each with a priority
A registry contains a list of plugins (or libraries)
A plugin contains a list of features (elementfactories, typefacories, ...)
Loading the registry will do
- instantiate empty GstPlugin objects (loaded flag == FALSE)
- instantiate empty plugin features
API
---