Class SystemManager

Entry point for systems. Allow to register systems.

Inherits from

  • Object (base class)

Constructors

Name Description
this

Properties

Name Type Description
statAll [get] const(Stat) Reference on profiling statistics of all the system's prepare, unprepare and run.
statEnabled [get] bool Tells whether statistics profiling is enabled or not.
statRate [get, set] const(core.time.Duration) Set/get rate at which StatEvent events are sent.
statRun [get] const(Stat) Reference on profiling statistics of all the system's run.

Methods

Name Description
disableStat Disable statistics profiling on the system-manager and all its registered systems.
enableStat Enable statistics profiling on the system-manager and all its registered systems. A delegate dg can be given, the rate at which it will be called to provide significant stat's.
opSlice Return a bidirectional range on the list of the registered systems.
prepare Prepare all the registered systems.
register Register a new system.
run Run all the registered systems.
runFull Prepare, run and unprepare all the registered systems.
unprepare Unprepare all the registered systems.
unregister Unregister a system.

Authors

Claude Merle

Copyright

© 2015-2016 Claude Merle

License

This file is part of EntitySysD.

EntitySysD is free software: you can redistribute it and/or modify it under the terms of the Lesser GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

EntitySysD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Lesser GNU General Public License for more details.

You should have received a copy of the Lesser GNU General Public License along with EntitySysD. If not, see http://www.gnu.org/licenses/.