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
+4
View File
@@ -138,3 +138,7 @@ SGPerformanceMonitor::reportTiming(const string& name, SampleStatistic* timeStat
timeStat->reset();
}
// Register the subsystem.
//SGSubsystemMgr::Registrant<SGPerformanceMonitor> registrantSGPerformanceMonitor;
+5
View File
@@ -126,6 +126,11 @@ void SGEventMgr::dump()
_rtQueue.dump();
}
// Register the subsystem.
SGSubsystemMgr::Registrant<SGEventMgr> registrantSGEventMgr(
SGSubsystemMgr::DISPLAY);
////////////////////////////////////////////////////////////////////////
// SGTimerQueue
// This is the priority queue implementation: