modulecomm_fastrtps_tcp.h 799 B

1234567891011121314151617181920212223242526
  1. #ifndef MODULECOMM_FASTRTPS_TCP_H
  2. #define MODULECOMM_FASTRTPS_TCP_H
  3. #include "modulecomm_impl_tcp.h"
  4. namespace iv {
  5. class modulecomm_fastrtps_tcp
  6. {
  7. public:
  8. modulecomm_fastrtps_tcp();
  9. void RegisterSend(const char * strcommname,const unsigned int nBufSize,const unsigned int nMsgBufCount,unsigned int nListenPort);
  10. void RegisterRecv(const char * strcommname,SMCallBack pCall,const char * strpubip,unsigned int nListenPort);
  11. void RegisterRecvPlus(const char * strcommname,ModuleFun xFun,const char * strpubip,unsigned int nListenPort);
  12. virtual void ModuleSendMsg(const char * strdata,const unsigned int nDataLen);
  13. virtual void Unregister();
  14. virtual void PauseComm();
  15. virtual void ContintuComm();
  16. private:
  17. void * mpif;
  18. };
  19. }
  20. #endif // MODULECOMM_FASTRTPS_TCP_H