MBSim

Project Page
Public Member Functions
MBSim::Function2< Ret, Arg1, Arg2 > Class Template Reference

template class for functions with two parameters More...

#include <function.h>

Inheritance diagram for MBSim::Function2< Ret, Arg1, Arg2 >:
MBSim::ConstantFunction2< Ret, Arg1, Arg2 >

List of all members.

Public Member Functions

virtual ~Function2 ()
 destructor
virtual Ret operator() (const Arg1 &p1, const Arg2 &p2, const void *=NULL)=0
virtual void initializeUsingXML (TiXmlElement *element)
 initialize function with XML code

Detailed Description

template<class Ret, class Arg1, class Arg2>
class MBSim::Function2< Ret, Arg1, Arg2 >

template class for functions with two parameters

Author:
Markus Friedrich
Date:
2009-08-31 some comments (Thorsten Schindler)

Member Function Documentation

template<class Ret, class Arg1, class Arg2>
virtual void MBSim::Function2< Ret, Arg1, Arg2 >::initializeUsingXML ( TiXmlElement *  element)
inlinevirtual
template<class Ret, class Arg1, class Arg2>
virtual Ret MBSim::Function2< Ret, Arg1, Arg2 >::operator() ( const Arg1 &  p1,
const Arg2 &  p2,
const void *  = NULL 
)
pure virtual

The documentation for this class was generated from the following file: