144 bool Run(
void)
override;
149 std::unique_ptr<FGCondition> condition;
151 FGParameter_ptr OutputValue;
154 Test(
void) : condition(
nullptr), Default(
false) {}
156 void setTestValue(
const std::string &value,
const std::string &Name,
157 std::shared_ptr<FGPropertyManager> pm,
Element* el)
162 throw BaseException(
"No VALUE supplied for switch component: " + Name);
165 std::string GetOutputName(
void)
const {
return OutputValue->GetName();}
168 std::vector <Test*> tests;
169 bool initialized =
false;
171 void VerifyProperties(
void);
172 void Debug(
int from)
override;