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
#include <string>
6
7
61
class
Or
:
public
SimObject
62
{
63
public
:
80
Or
(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
#endif
//FHSIMBASE_BOOLEAN_OR_H
Or
Definition
Or.h:62
Or::Or
Or(std::string simObjectName, ISimObjectCreator *creator)
Standard simobject onstructor.
webfhsim
reloadrepos
fhsim_base
src
boolean
Or.h
Generated on Thu Nov 5 2026 22:35:07 for FhSim by
1.9.8