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