7#include <CPrintDuringExec.h>
13#include <sys/socket.h>
14#include <netinet/in.h>
84 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
87 CTCP_client(std::string sSimObjectName, ISimObjectCreator* pCreator);
88 virtual void FinalSetup(
const double dT,
const double*
const adX, ISimObjectCreator*
const pCreator);
89 virtual void InitialConditionSetup(
const double T,
const double *
const currentIC,
double* updatedIC, ISimObjectCreator* creator);
93 virtual void OdeFcn(
const double dT,
const double*
const adX,
double*
const adXDot,
const bool bIsMajorTimeStep);
96 bool SetupTCP(
const std::string& IPString,
const int& port);
99 bool SendMsg(
const double dT,
const double*
const adX);
107#ifdef FH_VISUALIZATION
109 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator) {};
112 virtual void RenderUpdate(
const double dT,
const double*
const adX) {};
117 CPrintDuringExec* m_Logger;
120 ISignalPort* m_InSig;
127 virtual const double* OutMsg(
const double dT,
const double*
const adX);
137 std::string m_TCPName;
138 std::string m_IPString;
145 SOCKET m_ConnectSocket;
Definition: CTCP_client.h:82