Marine systems simulation
CSign.h
1#ifndef CSign_H
2#define CSign_H
3
56#include "SimObject.h"
57
58#include <string>
59
60class CSign : public SimObject
61{
62 public:
64 CSign(std::string sSimObjectName, ISimObjectCreator* pCreator);
65 ~CSign();
66 virtual void OdeFcn(const double dT, const double* const adX, double* const adXDot, const bool bIsMajorTimeStep) { }
67
68 const double* Output(const double T, const double* const X);
69
70
71#ifdef FH_VISUALIZATION
73 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator) { }
74
76 virtual void RenderUpdate(const double T, const double* const X) { }
77#endif
78
79 protected:
80 ISignalPort* m_Input;
81 double* m_Signal;
84};
85
86
87#endif
Definition: CSign.h:61
CSign(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.
int m_iPortWidth
Definition: CSign.h:83