Fhsim
Marine systems simulation
Loading...
Searching...
No Matches
CExit.h
1
#ifndef _CExit_H
2
#define _CExit_H
3
60
#include <CPrintDuringExec.h>
61
#include <SimObject.h>
62
#include <string>
63
64
class
CExit
:
public
SimObject
65
{
66
public
:
68
CExit
(std::string sSimObjectName, ISimObjectCreator* pCreator);
69
~CExit
();
70
72
virtual
void
OdeFcn
(
const
double
dT,
const
double
*
const
adX,
double
*
const
adXDot,
const
bool
bIsMajorTimeStep);
73
74
#ifdef FH_VISUALIZATION
76
virtual
void
RenderInit(Ogre::Root*
const
ogreRoot, ISimObjectCreator*
const
creator) { }
77
79
virtual
void
RenderUpdate(
const
double
T,
const
double
*
const
X) { }
80
#endif
81
82
protected
:
83
ISignalPort** m_Input;
84
85
int
*
m_piPortWidth
;
86
int
m_iNumInports
;
87
88
CPrintDuringExec* m_Print;
89
};
90
91
92
#endif
CExit
Definition
CExit.h:65
CExit::m_piPortWidth
int * m_piPortWidth
The width of the input and output ports.
Definition
CExit.h:85
CExit::CExit
CExit(std::string sSimObjectName, ISimObjectCreator *pCreator)
Constructor.
CExit::m_iNumInports
int m_iNumInports
Number of inputports.
Definition
CExit.h:86
CExit::OdeFcn
virtual void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
update_root
webfhsim
reloadrepos
fhsim_base
src
sink
CExit.h
Generated by
1.9.8