Marine systems simulation
CSaturation.h
1#ifndef CSaturation_H
2#define CSaturation_H
3
61#include "SimObject.h"
62
63#include <string>
64
65class CSaturation : public SimObject
66{
67 public:
69 CSaturation(std::string sSimObjectName, ISimObjectCreator* pCreator);
71
72 virtual void OdeFcn(const double dT, const double* const adX, double* const adXDot, const bool bIsMajorTimeStep) { }
73
74 const double* Output(const double T, const double* const X);
75
76
77#ifdef FH_VISUALIZATION
79 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator) { }
80
82 virtual void RenderUpdate(const double T, const double* const X) { }
83#endif
84
85 protected:
86 ISignalPort* m_Input;
87 double* m_Signal;
91 double* m_MaxVals;
93 double* m_MinVals;
94};
95
96
97#endif
Definition: CSaturation.h:66
int m_iPortWidth
Definition: CSaturation.h:89
CSaturation(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.
double * m_MinVals
Definition: CSaturation.h:93
double * m_MaxVals
Definition: CSaturation.h:91