MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
tpldrive_impl.h File Reference
#include <typeinfo>
#include "tpldrive.h"
#include "mbpar.h"
Include dependency graph for tpldrive_impl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ZeroTplDriveCaller< T >
 
class  SingleTplDriveCaller< T >
 
class  SingleTplDriveCaller< doublereal >
 

Functions

template<class T >
TplDriveCaller< T > * DC2TDC (DriveCaller *pDC, T &t)
 

Function Documentation

template<class T >
TplDriveCaller<T>* DC2TDC ( DriveCaller pDC,
T &  t 
)

Definition at line 215 of file tpldrive_impl.h.

References SAFENEWWITHCONSTRUCTOR.

Referenced by ReadStructuralForce().

216 {
217  typedef SingleTplDriveCaller<T> STDC;
218 
219  TplDriveCaller<T> *p = 0;
220  SAFENEWWITHCONSTRUCTOR(p, STDC, STDC(pDC, t));
221  return p;
222 }
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698