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

#include <tpldrive_impl.h>

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

Public Member Functions

 ZeroTplDriveCaller (void)
 
 ~ZeroTplDriveCaller (void)
 
virtual TplDriveCaller< T > * pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual std::ostream & Restart_int (std::ostream &out) const
 
Get (const doublereal &dVar) const
 
Get (void) const
 
bool bIsDifferentiable (void) const
 
GetP (void) const
 
int getNDrives (void) const
 
- Public Member Functions inherited from TplDriveCaller< T >
virtual ~TplDriveCaller (void)
 

Detailed Description

template<class T>
class ZeroTplDriveCaller< T >

Definition at line 42 of file tpldrive_impl.h.

Constructor & Destructor Documentation

template<class T >
ZeroTplDriveCaller< T >::ZeroTplDriveCaller ( void  )
inline

Definition at line 44 of file tpldrive_impl.h.

References NO_OP.

44  {
45  NO_OP;
46  };
#define NO_OP
Definition: myassert.h:74
template<class T >
ZeroTplDriveCaller< T >::~ZeroTplDriveCaller ( void  )
inline

Definition at line 48 of file tpldrive_impl.h.

References NO_OP.

48  {
49  NO_OP;
50  };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

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

Reimplemented from TplDriveCaller< T >.

Definition at line 80 of file tpldrive_impl.h.

80  {
81  return true;
82  };
template<class T >
T ZeroTplDriveCaller< T >::Get ( const doublereal dVar) const
inlinevirtual

Implements TplDriveCaller< T >.

Definition at line 71 of file tpldrive_impl.h.

71  {
72  return mb_zero<T>();
73  };
template<class T >
T ZeroTplDriveCaller< T >::Get ( void  ) const
inlinevirtual

Reimplemented from TplDriveCaller< T >.

Definition at line 75 of file tpldrive_impl.h.

75  {
76  return mb_zero<T>();
77  };
template<class T >
int ZeroTplDriveCaller< T >::getNDrives ( void  ) const
inlinevirtual

Implements TplDriveCaller< T >.

Definition at line 88 of file tpldrive_impl.h.

88  {
89  return 0;
90  };
template<class T >
T ZeroTplDriveCaller< T >::GetP ( void  ) const
inlinevirtual

Reimplemented from TplDriveCaller< T >.

Definition at line 84 of file tpldrive_impl.h.

84  {
85  return mb_zero<T>();
86  };
template<class T >
virtual TplDriveCaller<T>* ZeroTplDriveCaller< T >::pCopy ( void  ) const
inlinevirtual

Implements TplDriveCaller< T >.

Definition at line 53 of file tpldrive_impl.h.

References SAFENEW.

53  {
54  typedef ZeroTplDriveCaller<T> dc;
55  TplDriveCaller<T>* pDC = 0;
56 
57  SAFENEW(pDC, dc);
58 
59  return pDC;
60  };
#define SAFENEW(pnt, item)
Definition: mynewmem.h:695
template<class T >
virtual std::ostream& ZeroTplDriveCaller< T >::Restart ( std::ostream &  out) const
inlinevirtual

Implements TplDriveCaller< T >.

Definition at line 63 of file tpldrive_impl.h.

63  {
64  return out << "zero";
65  };
template<class T >
virtual std::ostream& ZeroTplDriveCaller< T >::Restart_int ( std::ostream &  out) const
inlinevirtual

Implements TplDriveCaller< T >.

Definition at line 67 of file tpldrive_impl.h.

67  {
68  return out;
69  };

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