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

Public Member Functions

 CLogic (std::string sSimObjectName, ISimObjectCreator *pCreator)
 The constructor sets the pointer to the output object and the parser object.
 
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  ELogicType { LogicType_OR , LogicType_XOR , LogicType_AND }
 An enumerator which tells which kind of logics is wanted.
 

Protected Attributes

ISignalPort ** m_Input
 
double * m_Signal
 
int m_iNumInput
 
int m_iPortWidth
 
ELogicType m_ELogicType
 The type of logic.
 

Member Data Documentation

◆ m_iNumInput

int CLogic::m_iNumInput
protected

The number of input ports

◆ m_iPortWidth

int CLogic::m_iPortWidth
protected

The number of elements in the input and output ports


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