Marine systems simulation
RbCable::CCableConnector Class Reference
+ Inheritance diagram for RbCable::CCableConnector:
+ Collaboration diagram for RbCable::CCableConnector:

Public Member Functions

 CCableConnector (const string &simObjectName, ISimObjectCreator *const creator)
 reads parameters, registers states, output and intput ports.
 
void OdeFcn (const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
 
const double * PositionA (const double dT, const double *const adX)
 
const double * VelocityA (const double dT, const double *const adX)
 
const double * PositionB (const double dT, const double *const adX)
 
const double * VelocityB (const double dT, const double *const adX)
 

Protected Attributes

double m_dMass
 The mass of the object.
 
double m_dGravity
 The gravitational acceleration.
 
double m_adLength [3]
 The vector between connectors;.
 
ISignalPort * m_pInForceA
 A pointer to input A force.
 
ISignalPort * m_pInForceB
 A pointer to input B force.
 
int m_IStatePos
 The index of the position state.
 
int m_IStateVel
 The index of the velocity state.
 
double m_posA [3]
 The position of connector A.
 
double m_posB [3]
 The position of connector B.
 

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