63class CSum :
public SimObject
67 CSum(std::string sSimObjectName, ISimObjectCreator* pCreator);
71 virtual void OdeFcn(
const double dT,
const double*
const adX,
double*
const adXDot,
const bool bIsMajorTimeStep) { }
72 virtual const double* Out(
const double dT,
const double*
const adX);
74#ifdef FH_VISUALIZATION
75 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator)
77 virtual void RenderUpdate(
const double T,
const double*
const X) { }
80 ISignalPort** m_apInPorts;
81 double* m_adOutSignal;
int m_iPortWidth
Definition: CSum.h:84
virtual void OdeFcn(const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
Calculates the state derivatives.
Definition: CSum.h:71
int m_iNumInput
The number of input ports.
Definition: CSum.h:82
CSum(std::string sSimObjectName, ISimObjectCreator *pCreator)
The constructor sets the pointer to the output object and the parser object.