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

#include <tpldrive_impl.h>

Inheritance diagram for SingleTplDriveCaller< doublereal >:
Collaboration diagram for SingleTplDriveCaller< doublereal >:

Public Member Functions

 SingleTplDriveCaller (const DriveCaller *pDC, const doublereal &=0.)
 
 ~SingleTplDriveCaller (void)
 
virtual TplDriveCaller
< doublereal > * 
pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual std::ostream & Restart_int (std::ostream &out) const
 
doublereal Get (const doublereal &dVar) const
 
doublereal Get (void) const
 
bool bIsDifferentiable (void) const
 
doublereal GetP (void) const
 
int getNDrives (void) const
 
- Public Member Functions inherited from TplDriveCaller< doublereal >
virtual ~TplDriveCaller (void)
 
- Public Member Functions inherited from DriveOwner
 DriveOwner (const DriveCaller *pDC=0)
 
 DriveOwner (const DriveOwner &drive)
 
virtual ~DriveOwner (void)
 
void Set (const DriveCaller *pDC)
 
DriveCallerpGetDriveCaller (void) const
 
doublereal dGet (const doublereal &dVar) const
 
doublereal dGet (void) const
 
bool bIsDifferentiable (void) const
 
doublereal dGetP (const doublereal &dVar) const
 
doublereal dGetP (void) const
 

Additional Inherited Members

- Protected Attributes inherited from DriveOwner
DriveCallerpDriveCaller
 

Detailed Description

template<>
class SingleTplDriveCaller< doublereal >

Definition at line 160 of file tpldrive_impl.h.

Constructor & Destructor Documentation

SingleTplDriveCaller< doublereal >::SingleTplDriveCaller ( const DriveCaller pDC,
const doublereal = 0. 
)
inline

Definition at line 163 of file tpldrive_impl.h.

References NO_OP.

164  : DriveOwner(pDC) {
165  NO_OP;
166  };
#define NO_OP
Definition: myassert.h:74
DriveOwner(const DriveCaller *pDC=0)
Definition: drive.cc:627

Definition at line 168 of file tpldrive_impl.h.

References NO_OP.

168  {
169  NO_OP;
170  };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

bool SingleTplDriveCaller< doublereal >::bIsDifferentiable ( void  ) const
inlinevirtual

Reimplemented from TplDriveCaller< doublereal >.

Definition at line 200 of file tpldrive_impl.h.

References DriveOwner::bIsDifferentiable().

200  {
202  };
bool bIsDifferentiable(void) const
Definition: drive.cc:677

Here is the call graph for this function:

doublereal SingleTplDriveCaller< doublereal >::Get ( const doublereal dVar) const
inlinevirtual

Implements TplDriveCaller< doublereal >.

Definition at line 192 of file tpldrive_impl.h.

References DriveOwner::dGet().

192  {
193  return dGet(dVar);
194  };
doublereal dGet(void) const
Definition: drive.cc:671

Here is the call graph for this function:

doublereal SingleTplDriveCaller< doublereal >::Get ( void  ) const
inlinevirtual

Reimplemented from TplDriveCaller< doublereal >.

Definition at line 196 of file tpldrive_impl.h.

References DriveOwner::dGet().

196  {
197  return dGet();
198  };
doublereal dGet(void) const
Definition: drive.cc:671

Here is the call graph for this function:

int SingleTplDriveCaller< doublereal >::getNDrives ( void  ) const
inlinevirtual

Implements TplDriveCaller< doublereal >.

Definition at line 208 of file tpldrive_impl.h.

208  {
209  return 1;
210  };
doublereal SingleTplDriveCaller< doublereal >::GetP ( void  ) const
inlinevirtual

Reimplemented from TplDriveCaller< doublereal >.

Definition at line 204 of file tpldrive_impl.h.

References DriveOwner::dGetP().

204  {
205  return dGetP();
206  };
doublereal dGetP(void) const
Definition: drive.cc:690

Here is the call graph for this function:

virtual TplDriveCaller<doublereal>* SingleTplDriveCaller< doublereal >::pCopy ( void  ) const
inlinevirtual

Implements TplDriveCaller< doublereal >.

Definition at line 173 of file tpldrive_impl.h.

References SingleTplDriveCaller< T >::pCopy(), DriveOwner::pGetDriveCaller(), and SAFENEWWITHCONSTRUCTOR.

173  {
175 
177  SAFENEWWITHCONSTRUCTOR(pDC, dc, dc(pGetDriveCaller()->pCopy()));
178 
179  return pDC;
180  };
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
DriveCaller * pGetDriveCaller(void) const
Definition: drive.cc:658
virtual TplDriveCaller< doublereal > * pCopy(void) const

Here is the call graph for this function:

virtual std::ostream& SingleTplDriveCaller< doublereal >::Restart ( std::ostream &  out) const
inlinevirtual

Implements TplDriveCaller< doublereal >.

Definition at line 183 of file tpldrive_impl.h.

References DriveOwner::pGetDriveCaller(), and DriveCaller::Restart().

183  {
184  out << "single, ";
185  return pGetDriveCaller()->Restart(out);
186  };
virtual std::ostream & Restart(std::ostream &out) const =0
DriveCaller * pGetDriveCaller(void) const
Definition: drive.cc:658

Here is the call graph for this function:

virtual std::ostream& SingleTplDriveCaller< doublereal >::Restart_int ( std::ostream &  out) const
inlinevirtual

Implements TplDriveCaller< doublereal >.

Definition at line 188 of file tpldrive_impl.h.

References DriveOwner::pGetDriveCaller(), and DriveCaller::Restart().

188  {
189  return pGetDriveCaller()->Restart(out);
190  };
virtual std::ostream & Restart(std::ostream &out) const =0
DriveCaller * pGetDriveCaller(void) const
Definition: drive.cc:658

Here is the call graph for this function:


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