modulecomm_fastrtps_shm.h 682 B

1234567891011121314151617181920212223242526272829
  1. #ifndef MODULECOMM_FASTRTPS_SHM_H
  2. #define MODULECOMM_FASTRTPS_SHM_H
  3. #include "modulecomm_impl_shm.h"
  4. namespace iv {
  5. class modulecomm_fastrtps_shm
  6. {
  7. public:
  8. modulecomm_fastrtps_shm();
  9. void RegisterSend(const char * strcommname,const unsigned int nBufSize,const unsigned int nMsgBufCount);
  10. void RegisterRecv(const char * strcommname,SMCallBack pCall);
  11. void RegisterRecvPlus(const char * strcommname,ModuleFun xFun);
  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_SHM_H