MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
SingleTDCR< T > Class Template Reference
Inheritance diagram for SingleTDCR< T >:
Collaboration diagram for SingleTDCR< T >:

Public Member Functions

virtual TplDriveCaller< T > * Read (const DataManager *pDM, MBDynParser &HP)
 
- Public Member Functions inherited from TplDriveCallerRead< T >
virtual ~TplDriveCallerRead (void)
 

Detailed Description

template<class T>
class SingleTDCR< T >

Definition at line 76 of file tpldrive_impl.cc.

Member Function Documentation

template<class T >
virtual TplDriveCaller<T>* SingleTDCR< T >::Read ( const DataManager pDM,
MBDynParser HP 
)
inlinevirtual

Implements TplDriveCallerRead< T >.

Reimplemented in ArrayTDCR< T >.

Definition at line 79 of file tpldrive_impl.cc.

References MBDynParser::GetDriveCaller(), GetT(), and SAFENEWWITHCONSTRUCTOR.

Referenced by ArrayTDCR< T >::Read().

79  {
80  T t(mb_zero<T>());
81 
82  t = GetT(HP, t);
83 
84  DriveCaller* pDC = HP.GetDriveCaller();
85 
86  TplDriveCaller<T>* pTplDC = 0;
87 
90  SingleTplDriveCaller<T>(pDC, t));
91 
92  return pTplDC;
93  };
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
doublereal GetT(MBDynParser &HP, const doublereal &t)
Definition: tpldrive.cc:37
DriveCaller * GetDriveCaller(bool bDeferred=false)
Definition: mbpar.cc:2033

Here is the call graph for this function:


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