FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
SeineConnector Class Reference
+ Inheritance diagram for SeineConnector:
+ Collaboration diagram for SeineConnector:

Public Member Functions

 SeineConnector (std::string simObjectName, ISimObjectCreator *creator)
 The constructor sets the pointer to the output object and the parser object.
 
 ~SeineConnector ()
 The destructor cleans up.
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot) const
 Calculates the state derivatives.
 
virtual const double * Pos (const double dT, const double *const adX)
 Writes to the output ports.
 
const double *const GetPos (const double dT, const double *const adX)
 
virtual const double * Vel (const double dT, const double *const adX)
 

Protected Attributes

ISignalPort * m_inIsConnected
 A pointer to the input telling if the connector is connected to pos 1 or pos 2.
 
ISignalPort * m_inPos1
 A pointer to the input position 1.
 
ISignalPort * m_inVel1
 A pointer to the input velocity 1.
 
ISignalPort * m_inPos2
 A pointer to the input position 2.
 
ISignalPort * m_inVel2
 A pointer to the input velocity 2.
 
int m_IOutPos
 
int m_IOutVel
 
int m_IInConnected
 
int m_IInPos1
 
int m_IInVel1
 
int m_IInPos2
 
int m_IInVel2
 

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