Fhsim
Marine systems simulation
Loading...
Searching...
No Matches
CDemux.h
1
#ifndef CDemux_H
2
#define CDemux_H
3
61
#include "SimObject.h"
62
63
#include <string>
64
65
class
CDemux
:
public
SimObject
66
{
67
public
:
69
CDemux
(std::string sSimObjectName, ISimObjectCreator* pCreator);
70
72
~CDemux
();
73
void
OdeFcn(
const
double
dT,
const
double
*
const
adX,
double
*
const
adXDot,
const
bool
bIsMajorTimeStep) { }
74
75
const
double
* Output(
const
double
T,
const
double
*
const
X,
const
int
Index);
76
77
#ifdef FH_VISUALIZATION
79
virtual
void
RenderInit(Ogre::Root*
const
ogreRoot, ISimObjectCreator*
const
creator) { }
80
82
virtual
void
RenderUpdate(
const
double
T,
const
double
*
const
X) { }
83
#endif
84
85
protected
:
86
ISignalPort* m_Input;
87
88
double
* m_Signal;
89
90
91
int
* m_OutputWidth;
92
int
m_iNumOutput
;
93
int
m_inputWidth
;
94
};
95
96
97
#endif
CDemux
Definition
CDemux.h:66
CDemux::CDemux
CDemux(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.
CDemux::m_iNumOutput
int m_iNumOutput
The number of input ports.
Definition
CDemux.h:92
CDemux::~CDemux
~CDemux()
The destructor.
CDemux::m_inputWidth
int m_inputWidth
The width of the Demux object input and output ports.
Definition
CDemux.h:93
update_root
webfhsim
reloadrepos
fhsim_base
src
signal
CDemux.h
Generated by
1.9.8