Marine systems simulation
CSeineOperation Class Reference
+ Inheritance diagram for CSeineOperation:
+ Collaboration diagram for CSeineOperation:

Public Member Functions

 CSeineOperation (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
 ~CSeineOperation ()
 The destructor cleans up.
 
void CalcOutput (const double dT, const double *const adX)
 Performs calculations common to several output ports.
 
void CalcOutput2 (const double dT, const double *const adX)
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 
virtual void FinalSetup (const double dT, const double *const adX, ISimObjectCreator *const pCreator)
 
virtual const double * WarpConnected (const double dT, const double *const adX)
 
virtual const double * BuoyPos (const double dT, const double *const adX)
 
virtual const double * VesselHeading (const double dT, const double *const adX)
 
virtual const double * VesselSpeed (const double dT, const double *const adX)
 
virtual const double * PWarpLength (const double dT, const double *const adX)
 
virtual const double * SWarpLength (const double dT, const double *const adX)
 

Protected Types

enum  EPhase_t {
  Phase_NotSet = 0 , Phase_SetFirstLeg , Phase_SetNet , Phase_SetSecondLeg ,
  Phase_Towing , Phase_Hauling , Phase_Finished
}
 Enumerator to define which operational phase the vessel is in.
 

Protected Member Functions

void SetOperationalPhase (const double dT)
 Sets the operational phase of the system.
 
void SetAttractorStrengths (const double dT)
 Sets the strength of the attractors.
 

Protected Attributes

ISignalPort * m_pInVesselPos
 
ISignalPort * m_pInPBridleTension
 
ISignalPort * m_pInSBridleTension
 
ISignalPort * m_pInNetSWingPos
 
ISignalPort * m_pInNetPWingPos
 
ISignalPort * m_pInNetVel
 
ISignalPort * m_pInPBridlePos
 
ISignalPort * m_pInSBridlePos
 
ICommonComputation * m_pCommonCalc
 Calculations necessary for more than one output port.
 
ICommonComputation * m_pCommonCalc2
 
double m_adVesselHeading [7]
 
double m_adVesselSpeed [7]
 
double m_adPhaseStartTime [7]
 
double m_dPayOutSpeedFactor
 
double m_dMinTension
 
double m_adBuoyPos [3]
 
double m_dLastCall
 
double m_dDeltaT
 
double m_dWarpLengthCorrectionSpeed
 
double m_dInitialSpeed
 
double m_dSetSpeed
 
double m_dTowSpeed
 
double m_dHaulSpeed
 
double m_dFinishedSpeed
 
double m_dWinchHaulSpeed
 
double m_dInitialHeading
 
double m_dTowHeading
 
double m_dSpreadAngle
 
double m_dSetWarpLength
 
bool m_bWarpConnected
 
double m_dOutPWarpLength
 
double m_dOutSWarpLength
 
double m_dAddedTrackLength
 
double m_dTowTime
 
double m_dMinWarpLength
 
std::string m_sAttractorNameNet
 
std::string m_sAttractorNameWarps
 
std::string m_asPhase [7]
 
std::string m_asSpeed [7]
 
std::string m_asHeading [7]
 
CAttractorBasem_pAttractorNet
 
CAttractorBasem_pAttractorWarps
 
EPhase_t m_EPhase
 
double m_adBool [2]
 
double m_dWingSpread
 
double m_dNetTangentialSpeed
 
double m_dNetNormalSpeed
 
double m_dFileWritePeriod
 
double m_adBridleTension [2]
 
double m_dBridleSpread
 
bool m_bOutputToFile
 
sfh::timers::StopWatch m_StopWatchFileWrite
 
sfh::timers::StopWatch m_StopWatchRenderUpdate
 
std::ofstream m_Outfile
 
std::string m_sFileName
 
sfh::filters::IIR m_BridleTensionFilter
 

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