MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
TplDriveOwner< T > Class Template Reference

#include <tpldrive.h>

Inheritance diagram for TplDriveOwner< T >:
Collaboration diagram for TplDriveOwner< T >:

Public Member Functions

 TplDriveOwner (const TplDriveCaller< T > *pDC=0)
 
virtual ~TplDriveOwner (void)
 
void Set (const TplDriveCaller< T > *pDC)
 
TplDriveCaller< T > * pGetDriveCaller (void) const
 
Get (const doublereal &dVar) const
 
Get (void) const
 
virtual bool bIsDifferentiable (void) const
 
virtual T GetP (void) const
 

Protected Attributes

TplDriveCaller< T > * pTplDriveCaller
 

Detailed Description

template<class T>
class TplDriveOwner< T >

Definition at line 81 of file tpldrive.h.

Constructor & Destructor Documentation

template<class T>
TplDriveOwner< T >::TplDriveOwner ( const TplDriveCaller< T > *  pDC = 0)
inline

Definition at line 86 of file tpldrive.h.

87  : pTplDriveCaller(const_cast<TplDriveCaller<T> *>(pDC)) {
88  NO_OP;
89  };
TplDriveCaller< T > * pTplDriveCaller
Definition: tpldrive.h:83
#define NO_OP
Definition: myassert.h:74
template<class T>
virtual TplDriveOwner< T >::~TplDriveOwner ( void  )
inlinevirtual

Definition at line 91 of file tpldrive.h.

91  {
92  if (pTplDriveCaller != 0) {
94  }
95  };
TplDriveCaller< T > * pTplDriveCaller
Definition: tpldrive.h:83
#define SAFEDELETE(pnt)
Definition: mynewmem.h:710

Member Function Documentation

template<class T>
virtual bool TplDriveOwner< T >::bIsDifferentiable ( void  ) const
inlinevirtual

Definition at line 118 of file tpldrive.h.

Referenced by TotalEquation::InitialAssRes(), TotalJoint::InitialAssRes(), and TotalPinJoint::InitialAssRes().

118  {
119  return pTplDriveCaller->bIsDifferentiable();
120  };
TplDriveCaller< T > * pTplDriveCaller
Definition: tpldrive.h:83
template<class T>
T TplDriveOwner< T >::Get ( const doublereal dVar) const
inline

Definition at line 109 of file tpldrive.h.

Referenced by VariableBody::AfterPredict(), AbsoluteForce::AssJac(), FollowerForce::AssJac(), FollowerCouple::AssJac(), AbsoluteInternalForce::AssJac(), FollowerInternalForce::AssJac(), FollowerInternalCouple::AssJac(), AbsoluteDispForce::AssRes(), AbsoluteInternalDispForce::AssRes(), DynamicVariableBody::AssRes(), TotalEquation::AssRes(), TotalJoint::AssRes(), AbsoluteForce::AssRes(), StaticVariableBody::AssRes(), FollowerForce::AssRes(), AbsoluteCouple::AssRes(), ModuleIMUConstraint::AssRes(), TotalPinJoint::AssRes(), FollowerCouple::AssRes(), AbsoluteInternalForce::AssRes(), TotalForce::AssRes(), FollowerInternalForce::AssRes(), AbsoluteInternalCouple::AssRes(), FollowerInternalCouple::AssRes(), VariableBody::dGetPrivData(), TotalEquation::dGetPrivData(), TotalJoint::dGetPrivData(), TotalPinJoint::dGetPrivData(), DynamicVariableBody::GetB_int(), DynamicVariableBody::GetG_int(), VariableBody::GetJ_int(), VariableBody::GetS_int(), AbsoluteForce::InitialAssJac(), FollowerForce::InitialAssJac(), FollowerCouple::InitialAssJac(), AbsoluteInternalForce::InitialAssJac(), FollowerInternalForce::InitialAssJac(), FollowerInternalCouple::InitialAssJac(), AbsoluteDispForce::InitialAssRes(), AbsoluteInternalDispForce::InitialAssRes(), DynamicVariableBody::InitialAssRes(), TotalEquation::InitialAssRes(), TotalJoint::InitialAssRes(), AbsoluteForce::InitialAssRes(), FollowerForce::InitialAssRes(), AbsoluteCouple::InitialAssRes(), FollowerCouple::InitialAssRes(), TotalPinJoint::InitialAssRes(), AbsoluteInternalForce::InitialAssRes(), TotalForce::InitialAssRes(), FollowerInternalForce::InitialAssRes(), AbsoluteInternalCouple::InitialAssRes(), FollowerInternalCouple::InitialAssRes(), AbsoluteDispForce::Output(), AbsoluteInternalDispForce::Output(), AbsoluteForce::Output(), FollowerForce::Output(), AbsoluteCouple::Output(), FollowerCouple::Output(), AbsoluteInternalForce::Output(), FollowerInternalForce::Output(), AbsoluteInternalCouple::Output(), FollowerInternalCouple::Output(), TotalEquation::SetValue(), TotalJoint::SetValue(), DynamicVariableBody::SetValue(), TotalPinJoint::SetValue(), and DriveRigidBodyKinematics::Update().

109  {
110  return pTplDriveCaller->Get(dVar);
111  };
TplDriveCaller< T > * pTplDriveCaller
Definition: tpldrive.h:83
template<class T>
T TplDriveOwner< T >::Get ( void  ) const
inline

Definition at line 113 of file tpldrive.h.

Referenced by LogConstitutiveLaw< doublereal, doublereal >::LogConstitutiveLaw(), GiNaCElasticConstitutiveLaw< T, Tder >::Update(), HuntCrossleyCL::Update(), MusclePennestriCL::Update(), NLPViscoElasticConstitutiveLaw< T, Tder >::Update(), NLSFViscoElasticConstitutiveLaw< T, Tder >::Update(), ContContactCL::Update(), MusclePennestriReflexiveCL::Update(), NLSFViscoElasticConstitutiveLaw< doublereal, doublereal >::Update(), GiNaCElasticConstitutiveLaw< doublereal, doublereal >::Update(), NLPViscoElasticConstitutiveLaw< doublereal, doublereal >::Update(), LinearElasticIsotropicConstitutiveLaw< T, Tder >::Update(), LinearElasticGenericConstitutiveLaw< T, Tder >::Update(), ShockAbsorberConstitutiveLaw< doublereal, doublereal >::Update(), ContContact3DCL::Update(), LinearElasticGenericAxialTorsionCouplingConstitutiveLaw< Vec6, Mat6x6 >::Update(), GiNaCViscoElasticConstitutiveLaw< T, Tder >::Update(), LogConstitutiveLaw< doublereal, doublereal >::Update(), DoubleLinearElasticConstitutiveLaw< doublereal, doublereal >::Update(), DoubleLinearElasticConstitutiveLaw< Vec3, Mat3x3 >::Update(), GiNaCViscoElasticConstitutiveLaw< doublereal, doublereal >::Update(), IsotropicHardeningConstitutiveLaw< T, Tder >::Update(), ContactConstitutiveLaw< doublereal, doublereal >::Update(), ContactConstitutiveLaw< Vec3, Mat3x3 >::Update(), LinearViscoElasticIsotropicConstitutiveLaw< T, Tder >::Update(), LinearViscoElasticGenericConstitutiveLaw< T, Tder >::Update(), LTVViscoElasticGenericConstitutiveLaw< T, Tder >::Update(), LinearViscoElasticGenericAxialTorsionCouplingConstitutiveLaw< Vec6, Mat6x6 >::Update(), DoubleLinearViscoElasticConstitutiveLaw< doublereal, doublereal >::Update(), DoubleLinearViscoElasticConstitutiveLaw< Vec3, Mat3x3 >::Update(), and TurbulentViscoElasticConstitutiveLaw< doublereal, doublereal >::Update().

113  {
114  return pTplDriveCaller->Get();
115  };
TplDriveCaller< T > * pTplDriveCaller
Definition: tpldrive.h:83
template<class T>
virtual T TplDriveOwner< T >::GetP ( void  ) const
inlinevirtual

Definition at line 121 of file tpldrive.h.

Referenced by DynamicVariableBody::AssRes(), TotalEquation::InitialAssRes(), TotalJoint::InitialAssRes(), and TotalPinJoint::InitialAssRes().

121  {
122  return pTplDriveCaller->GetP();
123  };
TplDriveCaller< T > * pTplDriveCaller
Definition: tpldrive.h:83
template<class T>
void TplDriveOwner< T >::Set ( const TplDriveCaller< T > *  pDC)
inline

Member Data Documentation


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