FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Not.h
1#ifndef FHSIMBASE_BOOLEAN_NOT_H
2#define FHSIMBASE_BOOLEAN_NOT_H
3
4#include <fhsim/simobject/SimObject.h>
5
58class Not : public SimObject
59{
60 public:
77 Not(std::string simObjectName, ISimObjectCreator* creator);
78
79
80 private:
81 // ODE function (no-op, as this simobject has no time dependence).
82 void OdeFcn(const double T, const double* const X,
83 double* const XDot) const { }
84
85 // Input port
86 ISignalPort* m_in;
87
88 // Output port
89 const double* Out(const double T, const double* X);
90
91 // Output port storage
92 double m_out;
93};
94#endif //FHSIMBASE_BOOLEAN_NOT_H
Definition Not.h:59
Not(std::string simObjectName, ISimObjectCreator *creator)
Standard simobject onstructor.