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#include <string>
6
59class Not : public SimObject
60{
61 public:
78 Not(std::string simObjectName, ISimObjectCreator* creator);
79
80
81 private:
82 // ODE function (no-op, as this simobject has no time dependence).
83 void OdeFcn(const double T, const double* const X,
84 double* const XDot) const { }
85
86 // Input port
87 ISignalPort* m_in;
88
89 // Output port
90 const double* Out(const double T, const double* X);
91
92 // Output port storage
93 double m_out;
94};
95#endif //FHSIMBASE_BOOLEAN_NOT_H
Definition Not.h:60
Not(std::string simObjectName, ISimObjectCreator *creator)
Standard simobject onstructor.