SGSubsystem classes: Registration of all subsystems.
This commit is contained in:
@@ -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}});
|
||||||
|
|||||||
@@ -138,3 +138,7 @@ SGPerformanceMonitor::reportTiming(const string& name, SampleStatistic* timeStat
|
|||||||
|
|
||||||
timeStat->reset();
|
timeStat->reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Register the subsystem.
|
||||||
|
//SGSubsystemMgr::Registrant<SGPerformanceMonitor> registrantSGPerformanceMonitor;
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user