Component state and registry - Drivers support

A component with "drivers" will initialise/start its drivers after it is
initialised/started itself. It will also stop/destroy non-driver reverse
dependencies before stopping/destroying its drivers.
This commit is contained in:
Emmanuel BENOîT 2015-09-17 10:57:46 +02:00
parent 81ea62047e
commit 68a337ec6a
3 changed files with 71 additions and 11 deletions

6
TODO
View file

@ -1,8 +1,7 @@
To Do:
* Test for ComponentState.{init,destroy}
* Test for ComponentState.{init,destroy} and driver-related stuff
* Registry tests
* Registry doc
* Implement "DriverFor" support
* General usage documentation
* Uncouple component-provided names from the library
* Automatically-updated singletons
@ -11,4 +10,5 @@ To Do:
Other ideas (maybe later if needed):
* Unregistering components
* Hierarchy of registries
* Hierarchy of registries
* Driver-related helpers (e.g. determine type of driver components, register/unregister drivers with main)