Marine systems simulation
CExit.h
1#ifndef _CExit_H
2#define _CExit_H
3
60#include <CPrintDuringExec.h>
61#include <SimObject.h>
62#include <string>
63
64class CExit : public SimObject
65{
66 public:
68 CExit(std::string sSimObjectName, ISimObjectCreator* pCreator);
69 ~CExit();
70
72 virtual void OdeFcn(const double dT, const double* const adX, double* const adXDot, const bool bIsMajorTimeStep);
73
74#ifdef FH_VISUALIZATION
76 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator) { }
77
79 virtual void RenderUpdate(const double T, const double* const X) { }
80#endif
81
82 protected:
83 ISignalPort** m_Input;
84
87
88 CPrintDuringExec* m_Print;
89};
90
91
92#endif
Definition: CExit.h:65
int * m_piPortWidth
The width of the input and output ports.
Definition: CExit.h:85
CExit(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.
int m_iNumInports
Number of inputports.
Definition: CExit.h:86
virtual void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.