62 cerr << element->ReadFrom()
63 <<
"FCS Function should contain a \"function\" element" << endl;
64 throw(
"Malformed FCS function specification.");
83 Output = function->GetValue();
115void FGFCSFunction::Debug(
int from)
122 cout <<
" INPUT: " <<
InputNodes[0]->GetName() << endl;
124 cout <<
" OUTPUT: " << node->getNameString() << endl;
128 if (from == 0) cout <<
"Instantiated: FGFCSFunction" << endl;
129 if (from == 1) cout <<
"Destroyed: FGFCSFunction" << endl;
Element * FindElement(const std::string &el="")
Searches for a specified element.
FGFCSComponent(FGFCS *fcs, Element *el)
Constructor.
std::vector< FGPropertyValue_ptr > InputNodes
virtual void bind(Element *el)
virtual void SetOutput(void)
std::vector< FGPropertyNode_ptr > OutputNodes
FGFCSFunction(FGFCS *fcs, Element *element)
Represents a mathematical function.