MBSim |
Project Page |
template class for constant functions with two parameter and scalar return value More...
#include <function.h>
Public Member Functions | |
| ConstantFunction2 () | |
| constructor | |
| ConstantFunction2 (double c_) | |
| constructor | |
| virtual double | operator() (const Arg1 &p1, const Arg2 &p2, const void *=NULL) |
| void | initializeUsingXML (TiXmlElement *element) |
| initialize function with XML code | |
| void | setValue (double c_) |
Public Member Functions inherited from MBSim::Function2< double, Arg1, Arg2 > | |
| virtual | ~Function2 () |
| destructor | |
Protected Attributes | |
| double | c |
template class for constant functions with two parameter and scalar return value
|
inline |
constructor
| constant | return value |
|
inlinevirtual |
initialize function with XML code
| XML | element |
Reimplemented from MBSim::Function2< double, Arg1, Arg2 >.
|
inlinevirtual |
| argument | of function |
| optional | parameter class |
Implements MBSim::Function2< double, Arg1, Arg2 >.
1.8.1.1