]> git.mxchange.org Git - simgear.git/commit
Support for incremental init of subsystems.
authorJames Turner <zakalawe@mac.com>
Tue, 18 Sep 2012 19:26:28 +0000 (20:26 +0100)
committerJames Turner <zakalawe@mac.com>
Tue, 18 Sep 2012 19:26:28 +0000 (20:26 +0100)
commitd6e18c8a3522785f0068945bb0e4d517785df5e5
tree29c86c39ccb2298823d599e307e45d3623bbe16d
parent4993a5c6c04c32f62af801e03315ef481a6a1d47
Support for incremental init of subsystems.

Allow subsystem init to be incremental, i.e requiring repeated init calls until a 'done' code is returned. Use this to support incremental init in groups and the manager. (It would also be possible to support it in an individual subsystem).

Note that if you use the existing init() calls, behaviour is unchanged.
simgear/structure/subsystem_mgr.cxx
simgear/structure/subsystem_mgr.hxx