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 (MBXMLUtils::TiXmlElement *element) |
| initialize function with XML code | |
| void | setValue (double c_) |
Protected Attributes | |
| double | c |
template class for constant functions with two parameter and scalar return value
| MBSim::ConstantFunction2< double, Arg1, Arg2 >::ConstantFunction2 | ( | double | c_ | ) | [inline] |
constructor
| constant | return value |
| void MBSim::ConstantFunction2< double, Arg1, Arg2 >::initializeUsingXML | ( | MBXMLUtils::TiXmlElement * | element | ) | [inline, virtual] |
initialize function with XML code
| XML | element |
Reimplemented from MBSim::Function2< double, Arg1, Arg2 >.
| virtual double MBSim::ConstantFunction2< double, Arg1, Arg2 >::operator() | ( | const Arg1 & | p1, |
| const Arg2 & | p2, | ||
| const void * | = NULL |
||
| ) | [inline, virtual] |
| argument | of function |
| optional | parameter class |
Implements MBSim::Function2< double, Arg1, Arg2 >.
1.8.0