FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
CMux.h
1#ifndef CMux_H
2#define CMux_H
3
67#include <fhsim/simobject/SimObject.h>
68
69#include <string>
70
71class CMux : public SimObject
72{
73 public:
75 CMux(std::string sSimObjectName, ISimObjectCreator* pCreator);
76 ~CMux();
77
78 virtual void OdeFcn(const double dT, const double* const adX, double* const adXDot) const { }
79
80 const double* Output(const double T, const double* const X);
81
82
83
84 protected:
85 ISignalPort** m_Input;
86
87 double* m_Signal;
88
89
90 int* m_InputWidth;
94};
95
96
97#endif
Definition CMux.h:72
int m_iPortWidth
Definition CMux.h:93
int m_NumInput
The number of input ports.
Definition CMux.h:91
CMux(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.