FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Equal.h
1#ifndef FHSIMBASE_BOOLEAN_EQUAL_H
2#define FHSIMBASE_BOOLEAN_EQUAL_H
3
4#include <fhsim/simobject/SimObject.h>
5
61class Equal : public SimObject
62{
63 public:
80 Equal(std::string simObjectName, ISimObjectCreator* creator);
81
82
83 private:
84 // ODE function (no-op, as this simobject has no time dependence).
85 void OdeFcn(const double T, const double* const X,
86 double* const XDot) const { }
87
88 // Input ports
89 ISignalPort* m_in1;
90 ISignalPort* m_in2;
91
92 // Output port
93 const double* Out(const double T, const double* X);
94
95 // Output port storage
96 double m_out;
97};
98
99
100#endif //FHSIMBASE_BOOLEAN_EQUAL_H
Definition Equal.h:62
Equal(std::string simObjectName, ISimObjectCreator *creator)
Standard simobject onstructor.