Marine systems simulation
Interface::CTCP Class Reference
+ Inheritance diagram for Interface::CTCP:
+ Collaboration diagram for Interface::CTCP:

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW CTCP (std::string sSimObjectName, ISimObjectCreator *pCreator)
 
virtual void FinalSetup (const double dT, const double *const adX, ISimObjectCreator *const pCreator)
 
virtual void InitialConditionSetup (const double T, const double *const currentIC, double *updatedIC, ISimObjectCreator *creator)
 
virtual void OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep)
 
bool SetupTCP (const std::string &IPString, const int &port)
 
bool SendMsg (const double dT, const double *const adX)
 
bool ReceiveMsg ()
 
bool ReceiveMsgMR ()
 

Protected Member Functions

virtual const double * OutMsg (const double dT, const double *const adX)
 

Protected Attributes

CPrintDuringExec * m_Logger
 
ISignalPort * m_InSig
 
int m_InNum
 
double * m_InMsg
 
int m_OutNum
 
double * m_OutMsg
 
char * m_MsgBuf
 
std::string m_TCPName
 
std::string m_IPString
 
int m_PortNum
 
SOCKET m_ListenSocket
 
SOCKET m_ClientSocket
 
bool m_TCP
 
int m_RecResult
 
int m_SendResult
 
bool m_RecMR
 
bool m_ShowTCPRst
 
double m_ComDT
 
double m_ComNT
 

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