Fhsim
Marine systems simulation
Loading...
Searching...
No Matches
CMux.h
1
#ifndef CMux_H
2
#define CMux_H
3
67
#include "SimObject.h"
68
69
#include <string>
70
71
class
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
bool
bIsMajorTimeStep) { }
79
80
const
double
* Output(
const
double
T,
const
double
*
const
X);
81
82
83
#ifdef FH_VISUALIZATION
85
virtual
void
RenderInit(Ogre::Root*
const
ogreRoot, ISimObjectCreator*
const
creator) { }
86
88
virtual
void
RenderUpdate(
const
double
T,
const
double
*
const
X) { }
89
#endif
90
91
protected
:
92
ISignalPort** m_Input;
93
94
double
* m_Signal;
95
96
97
int
* m_InputWidth;
98
int
m_NumInput
;
100
int
m_iPortWidth
;
101
};
102
103
104
#endif
CMux
Definition
CMux.h:72
CMux::m_iPortWidth
int m_iPortWidth
Definition
CMux.h:100
CMux::m_NumInput
int m_NumInput
The number of input ports.
Definition
CMux.h:98
CMux::CMux
CMux(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.
update_root
webfhsim
reloadrepos
fhsim_base
src
signal
CMux.h
Generated by
1.9.8