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
66class CDemux : public SimObject
67{
68 public:
70 CDemux(std::string sSimObjectName, ISimObjectCreator* pCreator);
71
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;
88};
89
90
91#endif
Definition CDemux.h:67
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:86
~CDemux()
The destructor.
int m_inputWidth
The width of the Demux object input and output ports.
Definition CDemux.h:87