758 pNode(nullptr), pCopyTo(nullptr) {}
791 double GetValue(
void)
const override;
798 std::string
GetName(
void)
const override {
return Name;}
824 const std::string& prefix=
"");
835 void Debug(
int from);
FGFunction(FGPropertyManager *pm)
std::string GetName(void) const override
Retrieves the name of the function.
~FGFunction(void) override
Destructor Make sure the function is untied before destruction.
void CheckMaxArguments(Element *el, unsigned int _max)
FGFunction()
Default constructor.
void CheckOddOrEvenArguments(Element *el, OddEven odd_even)
double GetValue(void) const override
Retrieves the value of the function object.
std::string GetValueAsString(void) const
The value that the function evaluates to, as a string.
std::string CreateOutputNode(Element *el, const std::string &Prefix)
virtual void bind(Element *, const std::string &)
std::vector< FGParameter_ptr > Parameters
FGPropertyManager * PropertyManager
bool IsConstant(void) const override
Does the function always return the same result (i.e.
void CheckMinArguments(Element *el, unsigned int _min)
FGFunction(FGFDMExec *fdmex, Element *element, const std::string &prefix="", FGPropertyValue *var=0L)
Constructor.
void cacheValue(bool shouldCache)
Specifies whether to cache the value of the function, so it is calculated only once per frame.
void Load(Element *element, FGPropertyValue *var, FGFDMExec *fdmex, const std::string &prefix="")
FGJSBBase()
Constructor for FGJSBBase.
Represents various types of parameters.
Represents a property value which can use late binding.
SGSharedPtr< FGPropertyNode > FGPropertyNode_ptr