Marine systems simulation
CProduct Class Reference
+ Inheritance diagram for CProduct:
+ Collaboration diagram for CProduct:

Public Member Functions

 CProduct (std::string sSimObjectName, ISimObjectCreator *pCreator)
 Constructor.
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 
const double * Output (const double T, const double *const X)
 

Protected Types

enum  EProdType { ProdType_Elementwise , ProdType_Cross , ProdType_Dot , ProdType_Scalar }
 < Enumerator for the kind of product
 

Protected Attributes

ISignalPort * m_Input1
 
ISignalPort * m_Input2
 
double * m_Signal
 
int m_iPortWidth
 
EProdType m_EProdType
 

Member Data Documentation

◆ m_iPortWidth

int CProduct::m_iPortWidth
protected

The number of elements in the input and output ports


The documentation for this class was generated from the following file: