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
65class CDemux : public SimObject
66{
67 public:
69 CDemux(std::string sSimObjectName, ISimObjectCreator* pCreator);
70
73 void OdeFcn(const double dT, const double* const adX, double* const adXDot) const { }
74
75 const double* Output(const double T, const double* const X, const int Index);
76
77
78 protected:
79 ISignalPort* m_Input;
80
81 double* m_Signal;
82
83
84 int* m_OutputWidth;
87};
88
89
90#endif
Definition CDemux.h:66
CDemux(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.
int m_iNumOutput
The number of input ports.
Definition CDemux.h:85
~CDemux()
The destructor.
int m_inputWidth
The width of the Demux object input and output ports.
Definition CDemux.h:86