Fhsim
Marine systems simulation
Loading...
Searching...
No Matches
And.h
1
#ifndef FHSIMBASE_BOOLEAN_AND_H
2
#define FHSIMBASE_BOOLEAN_AND_H
3
4
#include <SimObject.h>
5
58
class
And
:
public
SimObject
59
{
60
public
:
77
And
(std::string simObjectName, ISimObjectCreator* creator);
78
79
#ifdef FH_VISUALIZATION
81
virtual
void
RenderInit(Ogre::Root*
const
ogreRoot, ISimObjectCreator*
const
creator) { }
82
84
virtual
void
RenderUpdate(
const
double
T,
const
double
*
const
X) { }
85
#endif
86
87
88
private
:
89
// ODE function (no-op, as this simobject has no time dependence).
90
void
OdeFcn(
const
double
T,
const
double
*
const
X,
91
double
*
const
XDot,
const
bool
isMajorTimeStep) { }
92
93
// Input ports
94
ISignalPort* m_in1;
95
ISignalPort* m_in2;
96
97
// Output port
98
const
double
* Out(
const
double
T,
const
double
* X);
99
100
// Output port storage
101
double
m_out;
102
};
103
#endif
//FHSIMBASE_BOOLEAN_AND_H
And
Definition
And.h:59
And::And
And(std::string simObjectName, ISimObjectCreator *creator)
Standard simobject onstructor.
update_root
webfhsim
reloadrepos
fhsim_base
src
boolean
And.h
Generated by
1.9.8