All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
TplDriveHint< T > Class Template Reference

#include <hint_impl.h>

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

Public Member Functions

 TplDriveHint (const char *s)
virtual ~TplDriveHint (void)
TplDriveCaller< T > * pCreateDrive (DataManager *pDM) const
- Public Member Functions inherited from DriveHint
 DriveHint (const char *s)
virtual ~DriveHint (void)
DriveCallerpCreateDrive (DataManager *pDM) const
- Public Member Functions inherited from ParsableHint
 ParsableHint (const char *s)
virtual ~ParsableHint (void)
- Public Member Functions inherited from Hint
virtual ~Hint (void)

Additional Inherited Members

- Protected Attributes inherited from ParsableHint
char * sHint

Detailed Description

template<class T>
class TplDriveHint< T >

Definition at line 102 of file hint_impl.h.

Constructor & Destructor Documentation

template<class T >
TplDriveHint< T >::TplDriveHint ( const char *  s)

Definition at line 110 of file hint_impl.h.

References NO_OP.

111 : DriveHint(s)
112 {
113  NO_OP;
114 }
#define NO_OP
Definition: myassert.h:74
DriveHint(const char *s)
Definition: hint_impl.cc:105
template<class T >
TplDriveHint< T >::~TplDriveHint ( void  )

Definition at line 117 of file hint_impl.h.

References NO_OP.

118 {
119  NO_OP;
120 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

template<class T >
TplDriveCaller< T > * TplDriveHint< T >::pCreateDrive ( DataManager pDM) const

Definition at line 124 of file hint_impl.h.

References HighParser::ExpectArg(), and DataManager::GetMathParser().

Referenced by DriveDisplacementJoint::SetValue(), DriveHingeJoint::SetValue(), ElasticConstitutiveLaw< doublereal, doublereal >::SetValue(), and DriveDisplacementPinJoint::SetValue().

125 {
126  std::istringstream in(sHint);
127  InputStream In(in);
129  MBDynParser HP(pDM->GetMathParser(), In, "TplDriveHint::pCreateDrive");
130  HP.ExpectArg();
131  HP.SetDataManager(pDM);
133  return HP.GetTplDriveCaller<T>();
134 }
virtual void ExpectArg(void)
Definition: parser.cc:798
MathParser & GetMathParser(void) const
Definition: dataman.h:341
char * sHint
Definition: hint_impl.h:45

Here is the call graph for this function:

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