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::Function MBSim::ConstantFunction2< Ret, Arg1, Arg2 > MBSim::SymbolicFunction2< 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 (MBXMLUtils::TiXmlElement *element)
 initialize function with XML code
virtual MBXMLUtils::TiXmlElement * writeXMLFile (MBXMLUtils::TiXmlNode *parent)
virtual std::string getType () const

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 std::string MBSim::Function2< Ret, Arg1, Arg2 >::getType ( ) const [inline, virtual]
Returns:
std::string representation

Reimplemented in MBSim::LinearRegularizedBilateralConstraint, and MBSim::SymbolicFunction2< Ret, Arg1, Arg2 >.

template<class Ret, class Arg1, class Arg2>
virtual void MBSim::Function2< Ret, Arg1, Arg2 >::initializeUsingXML ( MBXMLUtils::TiXmlElement *  element) [inline, virtual]

initialize function with XML code

Parameters:
XMLelement

Reimplemented in MBSim::GeneralGuidingVelocity, MBSim::TimeDependentGuidingVelocity, MBSim::GuidingVelocity, MBSim::GeneralJacobian, MBSim::StateDependentJacobian, MBSim::ConstantJacobian, MBSim::Jacobian, MBSim::TMatrix, MBSim::TimeDependentCardanAngles, MBSim::RotationAboutAxesXYZ, MBSim::EulerAngles, MBSim::CardanAngles, MBSim::RotationAboutAxesYZ, MBSim::ConstantInfluenceFunction, MBSim::RotationAboutAxesXZ, MBSim::FlexibilityInfluenceFunction, MBSim::RotationAboutAxesXY, MBSim::InfluenceFunction, MBSim::TimeDependentRotationAboutFixedAxis, MBSim::LinearRegularizedStribeckFriction, MBSim::StateDependentRotationAboutFixedAxis, MBSim::LinearRegularizedCoulombFriction, MBSim::RotationAboutFixedAxis, MBSim::LinearRegularizedBilateralConstraint, MBSim::RotationAboutZAxis, MBSim::LinearRegularizedUnilateralConstraint, MBSim::RotationAboutYAxis, MBSim::RotationAboutXAxis, MBSim::ConstantFunction2< double, Arg1, Arg2 >, MBSim::Rotation, MBSim::NonlinearSpringDamperForce, MBSim::GeneralTranslation, MBSim::LinearSpringDamperForce, MBSim::StateDependentTranslation, MBSim::ConstantFunction2< Ret, Arg1, Arg2 >, MBSim::TimeDependentTranslation, MBSim::TabularFunction2_SSS, MBSim::LinearTranslation, MBSim::TranslationInXYZDirection, MBSim::TranslationInYZDirection, MBSim::TranslationInXZDirection, MBSim::SymbolicFunction2< Ret, Arg1, Arg2 >, MBSim::TranslationInXYDirection, MBSim::TranslationInZDirection, MBSim::TranslationInYDirection, MBSim::TranslationInXDirection, and MBSim::Translation.

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]
Returns:
return value of function
Parameters:
argumentof function
optionalparameter class

Implemented in MBSim::GeneralGuidingVelocity, MBSim::TimeDependentGuidingVelocity, MBSim::GuidingVelocity, MBSim::TEulerAngles2, MBSim::TCardanAngles2, MBSim::TEulerAngles, MBSim::TCardanAngles, MBSim::JRotationAboutAxesXYZ, MBSim::JRotationAboutAxesYZ, MBSim::JRotationAboutAxesXZ, MBSim::JRotationAboutAxesXY, MBSim::GeneralJacobian, MBSim::StateDependentJacobian, MBSim::ConstantJacobian, MBSim::Jacobian, MBSim::TMatrix, MBSim::TimeDependentCardanAngles, MBSim::RotationAboutAxesXYZ, MBSim::EulerAngles, MBSim::CardanAngles, MBSim::RotationAboutAxesYZ, MBSim::ConstantInfluenceFunction, MBSim::RotationAboutAxesXZ, MBSim::RotationAboutAxesXY, MBSim::FlexibilityInfluenceFunction, MBSim::InfluenceFunction, MBSim::TimeDependentRotationAboutFixedAxis, MBSim::LinearRegularizedStribeckFriction, MBSim::StateDependentRotationAboutFixedAxis, MBSim::LinearRegularizedCoulombFriction, MBSim::RotationAboutFixedAxis, MBSim::LinearRegularizedBilateralConstraint, MBSim::RotationAboutZAxis, MBSim::RotationAboutYAxis, MBSim::LinearRegularizedUnilateralConstraint, MBSim::RotationAboutXAxis, MBSim::ConstantFunction2< double, Arg1, Arg2 >, MBSim::Rotation, MBSim::NonlinearSpringDamperForce, MBSim::GeneralTranslation, MBSim::LinearSpringDamperForce, MBSim::StateDependentTranslation, MBSim::ConstantFunction2< Ret, Arg1, Arg2 >, MBSim::TimeDependentTranslation, MBSim::TimeDependentLinearTranslation, MBSim::TabularFunction2_SSS, MBSim::LinearTranslation, MBSim::TranslationInXYZDirection, MBSim::TranslationInYZDirection, MBSim::TranslationInXZDirection, MBSim::TranslationInXYDirection, MBSim::SymbolicFunction2< Ret, Arg1, Arg2 >, MBSim::TranslationInZDirection, MBSim::TranslationInYDirection, MBSim::TranslationInXDirection, MBSim::StandardDampingFunction, MBSim::Translation, and MBSim::DampingFunction.


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