modulecomm_inter.h 672 B

123456789101112131415161718192021222324252627282930
  1. #ifndef MODULECOMM_INTER_H
  2. #define MODULECOMM_INTER_H
  3. #include "modulecomm_base.h"
  4. namespace iv {
  5. class modulecomm_inter : public modulecomm_base
  6. {
  7. public:
  8. modulecomm_inter();
  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 * mpinter;
  18. };
  19. }
  20. #endif // MODULECOMM_INTER_H