FhSim
3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
CDemux.h
1
#ifndef CDemux_H
2
#define CDemux_H
3
61
#include <fhsim/simobject/SimObject.h>
62
63
#include <string>
64
#include <vector>
65
66
class
CDemux
:
public
SimObject
67
{
68
public
:
70
CDemux
(std::string sSimObjectName, ISimObjectCreator* pCreator);
71
73
~CDemux
();
74
void
OdeFcn(
const
double
dT,
const
double
*
const
adX,
double
*
const
adXDot)
const
{ }
75
76
const
double
* Output(
const
double
T,
const
double
*
const
X,
const
int
Index);
77
78
79
protected
:
80
ISignalPort* m_Input;
81
82
std::vector<double> m_Signal;
83
84
85
std::vector<int> m_OutputWidth;
86
int
m_iNumOutput
;
87
int
m_inputWidth
;
88
};
89
90
91
#endif
CDemux
Definition
CDemux.h:67
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:86
CDemux::~CDemux
~CDemux()
The destructor.
CDemux::m_inputWidth
int m_inputWidth
The width of the Demux object input and output ports.
Definition
CDemux.h:87
webfhsim
reloadrepos
fhsim_base
src
signal
CDemux.h
Generated on Thu Nov 5 2026 22:35:07 for FhSim by
1.9.8