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

#include <shape.h>

Collaboration diagram for ShapeOwner:

Public Member Functions

 ShapeOwner (const Shape *pS)
 
virtual ~ShapeOwner (void)
 
virtual doublereal dGet (doublereal d) const
 
virtual doublereal dGet (doublereal d1, doublereal d2) const
 
virtual const ShapepGetShape (void) const
 

Protected Attributes

const ShapepShape
 

Detailed Description

Definition at line 66 of file shape.h.

Constructor & Destructor Documentation

ShapeOwner::ShapeOwner ( const Shape pS)

Definition at line 45 of file shape.cc.

References ASSERT, and pShape.

46 : pShape(pS)
47 {
48  ASSERT(pShape != NULL);
49 }
#define ASSERT(expression)
Definition: colamd.c:977
const Shape * pShape
Definition: shape.h:68
ShapeOwner::~ShapeOwner ( void  )
virtual

Definition at line 51 of file shape.cc.

References ASSERT, pShape, and SAFEDELETE.

52 {
53  ASSERT(pShape != NULL);
54  if(pShape != NULL) {
56  }
57 }
#define ASSERT(expression)
Definition: colamd.c:977
const Shape * pShape
Definition: shape.h:68
#define SAFEDELETE(pnt)
Definition: mynewmem.h:710

Member Function Documentation

doublereal ShapeOwner::dGet ( doublereal  d) const
virtual

Definition at line 60 of file shape.cc.

References Shape::dGet(), and pShape.

Referenced by AerodynamicBody::AssJac(), AerodynamicBeam::AssJac(), AerodynamicBeam2::AssJac(), AerodynamicBody::AssVec(), AerodynamicBeam::AssVec(), and AerodynamicBeam2::AssVec().

61 {
62  return pShape->dGet(d);
63 }
const Shape * pShape
Definition: shape.h:68
virtual doublereal dGet(doublereal d1, doublereal d2=0.) const =0

Here is the call graph for this function:

doublereal ShapeOwner::dGet ( doublereal  d1,
doublereal  d2 
) const
virtual

Definition at line 66 of file shape.cc.

References Shape::dGet(), and pShape.

67 {
68  return pShape->dGet(d1, d2);
69 }
const Shape * pShape
Definition: shape.h:68
virtual doublereal dGet(doublereal d1, doublereal d2=0.) const =0

Here is the call graph for this function:

const Shape * ShapeOwner::pGetShape ( void  ) const
virtual

Definition at line 72 of file shape.cc.

References pShape.

Referenced by AerodynamicBody::Restart(), AerodynamicBeam::Restart(), and AerodynamicBeam2::Restart().

73 {
74  return pShape;
75 }
const Shape * pShape
Definition: shape.h:68

Member Data Documentation

const Shape* ShapeOwner::pShape
protected

Definition at line 68 of file shape.h.

Referenced by dGet(), pGetShape(), ShapeOwner(), and ~ShapeOwner().


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