SGSubsystem classes: Registration of all subsystems.

This commit is contained in:
Edward d'Auvergne
2019-07-01 14:37:49 +02:00
parent c11557316d
commit fa754ecaf8
3 changed files with 15 additions and 0 deletions
+6
View File
@@ -1115,3 +1115,9 @@ void SGTerraSync::reposition()
{ {
// stub, remove // stub, remove
} }
// Register the subsystem.
SGSubsystemMgr::Registrant<SGTerraSync> registrantSGTerraSync(
SGSubsystemMgr::GENERAL,
{{"FGRenderer", SGSubsystemMgr::Dependency::NONSUBSYSTEM_HARD}});
+4
View File
@@ -138,3 +138,7 @@ SGPerformanceMonitor::reportTiming(const string& name, SampleStatistic* timeStat
timeStat->reset(); timeStat->reset();
} }
// Register the subsystem.
//SGSubsystemMgr::Registrant<SGPerformanceMonitor> registrantSGPerformanceMonitor;
+5
View File
@@ -126,6 +126,11 @@ void SGEventMgr::dump()
_rtQueue.dump(); _rtQueue.dump();
} }
// Register the subsystem.
SGSubsystemMgr::Registrant<SGEventMgr> registrantSGEventMgr(
SGSubsystemMgr::DISPLAY);
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
// SGTimerQueue // SGTimerQueue
// This is the priority queue implementation: // This is the priority queue implementation: