SGSubsystemMgr: Expanded the dependency list types.

All the dependency types are now documented.
This commit is contained in:
Edward d'Auvergne
2018-05-07 21:04:29 +02:00
parent c8625ce599
commit 5bf28d3f90

View File

@@ -581,11 +581,17 @@ public:
return dynamic_cast<T*>(get_subsystem(T::staticSubsystemClassId(), subsystemInstanceId));
}
/**
* @brief Subsystem dependency structure.
*/
struct Dependency {
enum Type {
HARD,
SOFT,
PROPERTY
HARD, ///< The subsystem cannot run without this subsystem dependency.
SOFT, ///< The subsystem uses this subsystem dependency, but can run without it.
SEQUENCE, ///< Used for ordering subsystem initialisation.
NONSUBSYSTEM_HARD, ///< The subsystem cannot run without this non-subsystem dependency.
NONSUBSYSTEM_SOFT, ///< The subsystem uses this non-subsystem dependency, but can run without it.
PROPERTY ///< The subsystem requires this property to exist to run.
};
std::string name;