FhSim
3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
And.h
1
#ifndef FHSIMBASE_BOOLEAN_AND_H
2
#define FHSIMBASE_BOOLEAN_AND_H
3
4
#include <fhsim/simobject/SimObject.h>
5
58
class
And
:
public
SimObject
59
{
60
public
:
77
And
(std::string simObjectName, ISimObjectCreator* creator);
78
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 ports
87
ISignalPort* m_in1;
88
ISignalPort* m_in2;
89
90
// Output port
91
const
double
* Out(
const
double
T,
const
double
* X);
92
93
// Output port storage
94
double
m_out;
95
};
96
#endif
//FHSIMBASE_BOOLEAN_AND_H
And
Definition
And.h:59
And::And
And(std::string simObjectName, ISimObjectCreator *creator)
Standard simobject onstructor.
webfhsim
reloadrepos
fhsim_base
src
boolean
And.h
Generated on Mon Oct 26 2026 10:56:45 for FhSim by
1.9.8