3 #include <simgear/debug/logstream.hxx>
6 #include "fg_props.hxx"
10 ////////////////////////////////////////////////////////////////////////
11 // Implementation of FGSubsystem
12 ////////////////////////////////////////////////////////////////////////
15 FGSubsystem::FGSubsystem ()
20 FGSubsystem::~FGSubsystem ()
25 FGSubsystem::suspend ()
31 FGSubsystem::suspend (bool suspended)
33 _suspended = suspended;
37 FGSubsystem::resume ()
43 FGSubsystem::is_suspended () const
45 if (!_freeze_master_node.valid())
46 _freeze_master_node = fgGetNode("/sim/freeze/master", true);
47 return _suspended || _freeze_master_node->getBoolValue();