FhSim
3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
Or.h
1
#ifndef FHSIMBASE_BOOLEAN_OR_H
2
#define FHSIMBASE_BOOLEAN_OR_H
3
4
#include <fhsim/simobject/SimObject.h>
5
6
60
class
Or
:
public
SimObject
61
{
62
public
:
79
Or
(std::string simObjectName, ISimObjectCreator* creator);
80
81
82
private
:
83
// ODE function (no-op, as this simobject has no time dependence).
84
void
OdeFcn(
const
double
T,
const
double
*
const
X,
85
double
*
const
XDot)
const
{ }
86
87
// Input ports
88
ISignalPort* m_in1;
89
ISignalPort* m_in2;
90
91
// Output port
92
const
double
* Out(
const
double
T,
const
double
* X);
93
94
// Output port storage
95
double
m_out;
96
};
97
#endif
//FHSIMBASE_BOOLEAN_OR_H
Or
Definition
Or.h:61
Or::Or
Or(std::string simObjectName, ISimObjectCreator *creator)
Standard simobject onstructor.
webfhsim
reloadrepos
fhsim_base
src
boolean
Or.h
Generated on Mon Oct 26 2026 10:56:45 for FhSim by
1.9.8