55 const std::string& cfg_name,
56 SGPropertyNode& prop_root )
58 if( cfg_name ==
"feedback-if-disabled" )
60 _feedback_if_disabled = cfg_node.getBoolValue();
64 if( cfg_name ==
"output" )
68 for(
int i = 0;
i < cfg_node.nChildren(); ++
i )
70 SGPropertyNode* child = cfg_node.getChild(
i);
71 const std::string&
name = child->getNameString();
74 if(
name !=
"property" &&
name !=
"prop" )
77 const auto trimmed = simgear::strutils::strip(child->getStringValue());
78 _output_list.push_back( prop_root.getNode(trimmed,
true) );
84 const auto trimmed = simgear::strutils::strip(cfg_node.getStringValue());
85 _output_list.push_back(prop_root.getNode(trimmed,
true));
91 if( cfg_name ==
"input" )
93 _valueInput.push_back(
new simgear::Value(prop_root, cfg_node));
97 if( cfg_name ==
"reference" )
103 if( cfg_name ==
"min" || cfg_name ==
"u_min" )
105 _minInput.push_back(
new simgear::Value(prop_root, cfg_node));
109 if( cfg_name ==
"max" || cfg_name ==
"u_max" )
111 _maxInput.push_back(
new simgear::Value(prop_root, cfg_node));
115 if( cfg_name ==
"period" )
117 _periodical =
new simgear::PeriodicalValue(prop_root, cfg_node);