Marine systems simulation
Not.h
1#ifndef FHSIMBASE_BOOLEAN_NOT_H
2#define FHSIMBASE_BOOLEAN_NOT_H
3
4#include <SimObject.h>
5
58class Not : public SimObject
59{
60 public:
77 Not(std::string simObjectName, ISimObjectCreator* creator);
78
79#ifdef FH_VISUALIZATION
81 virtual void RenderInit(Ogre::Root* const ogreRoot, ISimObjectCreator* const creator) { }
82
84 virtual void RenderUpdate(const double T, const double* const X) { }
85#endif
86
87 private:
88 // ODE function (no-op, as this simobject has no time dependence).
89 void OdeFcn(const double T, const double* const X,
90 double* const XDot, const bool isMajorTimeStep) { }
91
92 // Input port
93 ISignalPort* m_in;
94
95 // Output port
96 const double* Out(const double T, const double* X);
97
98 // Output port storage
99 double m_out;
100};
101#endif //FHSIMBASE_BOOLEAN_NOT_H
Definition: Not.h:59
Not(std::string simObjectName, ISimObjectCreator *creator)
Standard simobject onstructor.