1
0
Fork 0

SGSubsystemGroup: Removal of the subsystem group naming.

This is a partial reversion of 5253215065, the
changes of which are incompatible with the subsystem class IDs.
This commit is contained in:
Edward d'Auvergne 2019-06-13 16:14:06 +02:00
parent fb5c36fc82
commit 332c240b38
9 changed files with 4 additions and 9 deletions

View file

@ -115,7 +115,6 @@ void readInterfaceProperties( SGPropertyNode_ptr prop_root,
static ComponentForge componentForge;
Autopilot::Autopilot( SGPropertyNode_ptr rootNode, SGPropertyNode_ptr configNode ) :
SGSubsystemGroup("Autopilot"),
_name("unnamed autopilot"),
_serviceable(true),
_rootNode(rootNode)

View file

@ -38,7 +38,7 @@ public:
virtual void removeAutopilot( const std::string & name ) = 0;
protected:
FGXMLAutopilotGroup() : SGSubsystemGroup("FGXMLAutopilotGroup") {}
FGXMLAutopilotGroup() : SGSubsystemGroup() {}
};
#endif // _XMLAUTO_HXX

View file

@ -42,7 +42,6 @@ namespace flightgear
{
CockpitDisplayManager::CockpitDisplayManager ()
: SGSubsystemGroup("CockpitDisplayManager")
{
}

View file

@ -80,7 +80,6 @@ void FG3DCloudsListener::valueChanged( SGPropertyNode * node )
}
FGEnvironmentMgr::FGEnvironmentMgr () :
SGSubsystemGroup("FGEnvironmentMgr"),
_environment(new FGEnvironment()),
fgClouds(nullptr),
_cloudLayersDirty(true),

View file

@ -30,7 +30,6 @@ namespace Environment {
class TerrainSampler : public SGSubsystemGroup
{
public:
TerrainSampler() : SGSubsystemGroup("TerrainSampler") {}
static TerrainSampler * createInstance( SGPropertyNode_ptr rootNode );
};

View file

@ -57,7 +57,7 @@
////////////////////////////////////////////////////////////////////////
FGInput::FGInput () : SGSubsystemGroup("FGInput")
FGInput::FGInput ()
{
if( fgGetBool("/sim/input/no-mouse-input",false) ) {
SG_LOG(SG_INPUT,SG_ALERT,"Mouse input disabled!");

View file

@ -49,7 +49,6 @@
#include "tcas.hxx"
FGInstrumentMgr::FGInstrumentMgr () :
SGSubsystemGroup("FGInstrumentMgr"),
_explicitGps(false)
{
}

View file

@ -144,7 +144,7 @@ FGGlobals *globals = NULL;
// Constructor
FGGlobals::FGGlobals() :
renderer( new FGRenderer ),
subsystem_mgr( new SGSubsystemMgr("subsystem_mgr") ),
subsystem_mgr( new SGSubsystemMgr ),
event_mgr( new SGEventMgr ),
sim_time_sec( 0.0 ),
fg_root( "" ),

View file

@ -28,7 +28,7 @@
#include "vacuum.hxx"
FGSystemMgr::FGSystemMgr () :SGSubsystemGroup("FGSystemMgr")
FGSystemMgr::FGSystemMgr ()
{
SGPropertyNode_ptr config_props = new SGPropertyNode;