All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
DriveHint Class Reference

#include <hint_impl.h>

Inheritance diagram for DriveHint:
Collaboration diagram for DriveHint:

Public Member Functions

 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

Definition at line 52 of file hint_impl.h.

Constructor & Destructor Documentation

DriveHint::DriveHint ( const char *  s)

Definition at line 105 of file hint_impl.cc.

References NO_OP.

106 : ParsableHint(s)
107 {
108  NO_OP;
109 }
ParsableHint(const char *s)
Definition: hint_impl.cc:90
#define NO_OP
Definition: myassert.h:74
DriveHint::~DriveHint ( void  )

Definition at line 111 of file hint_impl.cc.

References NO_OP.

112 {
113  NO_OP;
114 }
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

DriveCaller * DriveHint::pCreateDrive ( DataManager pDM) const

Definition at line 117 of file hint_impl.cc.

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

Referenced by DistanceJoint::SetValue(), DistanceJointWithOffset::SetValue(), and AxialRotationJoint::SetValue().

118 {
119  std::istringstream in(sHint);
120  InputStream In(in);
122  MBDynParser HP(pDM->GetMathParser(), In, "DriveHint::pCreateDrive");
123  HP.ExpectArg();
124  HP.SetDataManager(pDM);
126  return HP.GetDriveCaller(false);
127 }
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 files: