Marine systems simulation
Passthrough.h
1
49#ifndef Passthrough_h__
50#define Passthrough_h__
51
52#include <SimObject.h>
53
54class CPassthrough : public SimObject
55{
56 public:
57 CPassthrough(std::string simObjectName, ISimObjectCreator* creator);
58
60 const double* Output(const double T, const double* const X);
61
62 void OdeFcn(const double T, const double* const X, double* const XDot, const bool IsMajorTimeStep) { }
63#ifdef FH_VISUALIZATION
64 void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator)
65 { }
66 void RenderUpdate(const double T, const double* const X) { }
67#endif // FH_VISUALIZATION
68
69 private:
70 int m_portWidth;
71 ISignalPort* m_In;
72};
73#endif // Passthrough_h__
Definition: Passthrough.h:55
const double * Output(const double T, const double *const X)