modulecomm_fastrtps_shm.h 748 B

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