MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Vec3DriveOwner Class Reference

#include <vec3drv.h>

Inheritance diagram for Vec3DriveOwner:
Collaboration diagram for Vec3DriveOwner:

Public Member Functions

 Vec3DriveOwner (const DriveCaller *pDC=NULL, const Vec3 &V=Vec3())
 
virtual ~Vec3DriveOwner (void)
 
virtual ostream & Restart (ostream &out) const
 
virtual Vec3 GetVec (void) const
 
virtual Vec3 GetDir (void) const
 
- 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
 

Protected Attributes

const Vec3 Dir
 
- Protected Attributes inherited from DriveOwner
DriveCallerpDriveCaller
 

Detailed Description

Definition at line 40 of file vec3drv.h.

Constructor & Destructor Documentation

Vec3DriveOwner::Vec3DriveOwner ( const DriveCaller pDC = NULL,
const Vec3 V = Vec3() 
)
inline

Definition at line 45 of file vec3drv.h.

References NO_OP.

46  : DriveOwner(pDC), Dir(V) {
47  NO_OP;
48  };
#define NO_OP
Definition: myassert.h:74
const Vec3 Dir
Definition: vec3drv.h:42
DriveOwner(const DriveCaller *pDC=0)
Definition: drive.cc:627
virtual Vec3DriveOwner::~Vec3DriveOwner ( void  )
inlinevirtual

Definition at line 50 of file vec3drv.h.

References NO_OP.

50  {
51  NO_OP;
52  };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

virtual Vec3 Vec3DriveOwner::GetDir ( void  ) const
inlinevirtual

Definition at line 63 of file vec3drv.h.

References Dir.

63  {
64  return Dir;
65  };
const Vec3 Dir
Definition: vec3drv.h:42
virtual Vec3 Vec3DriveOwner::GetVec ( void  ) const
inlinevirtual

Definition at line 59 of file vec3drv.h.

References DriveOwner::dGet(), and Dir.

59  {
60  return Dir*dGet();
61  };
doublereal dGet(void) const
Definition: drive.cc:671
const Vec3 Dir
Definition: vec3drv.h:42

Here is the call graph for this function:

virtual ostream& Vec3DriveOwner::Restart ( ostream &  out) const
inlinevirtual

Definition at line 54 of file vec3drv.h.

References Dir, DriveOwner::pGetDriveCaller(), DriveCaller::Restart(), and Vec3::Write().

54  {
55  out << "reference, local, eye, ", Dir.Write(out, ", ") << ", ";
56  return pGetDriveCaller()->Restart(out);
57  };
std::ostream & Write(std::ostream &out, const char *sFill=" ") const
Definition: matvec3.cc:738
virtual std::ostream & Restart(std::ostream &out) const =0
DriveCaller * pGetDriveCaller(void) const
Definition: drive.cc:658
const Vec3 Dir
Definition: vec3drv.h:42

Here is the call graph for this function:

Member Data Documentation

const Vec3 Vec3DriveOwner::Dir
protected

Definition at line 42 of file vec3drv.h.

Referenced by GetDir(), GetVec(), and Restart().


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