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