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