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

Public Member Functions

 CClock (std::string sSimObjectName, ISimObjectCreator *pCreator)
 Constructor.
 
void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 Calculates the state derivatives.
 
void FinalSetup (const double T, const double *const X, ISimObjectCreator *const creator)
 
const double * SimTime (const double T, const double *const X)
 
const double * ElapsedSimTime (const double T, const double *const X)
 
const double * WallTime (const double T, const double *const X)
 
const double * ElapsedWallTime (const double T, const double *const X)
 

Protected Attributes

double m_SimTime
 
double m_ElapsedSimTime
 
double m_WallTime [3]
 
double m_ElapsedWallTime [3]
 
double m_InitSimTime
 
struct tm m_InitWallTime
 

Member Data Documentation

◆ m_ElapsedSimTime

double CClock::m_ElapsedSimTime
protected

The elapsed simulation time in seconds

◆ m_ElapsedWallTime

double CClock::m_ElapsedWallTime[3]
protected

The elapsed wall clock time as hour, minute, second

◆ m_SimTime

double CClock::m_SimTime
protected

The simulation time in seconds.

◆ m_WallTime

double CClock::m_WallTime[3]
protected

The wall clock time as hour, minute, second


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