123456789101112131415161718192021222324252627282930313233 |
- #ifndef MODULECOMM_BASE_H
- #define MODULECOMM_BASE_H
- #include <QDateTime>
- #include <functional>
- #ifndef IV_MODULE_FUN
- typedef std::function<void(const char * ,const unsigned int , const unsigned int , QDateTime * ,const char *)> ModuleFun;
- typedef void (* SMCallBack)(const char * strdata,const unsigned int nSize,const unsigned int index,const QDateTime * dt,const char * strmemname);
- #define IV_MODULE_FUN
- #endif
- namespace iv {
- class modulecomm_base
- {
- public:
- modulecomm_base();
- public:
- virtual void ModuleSendMsg(const char * strdata,const unsigned int nDataLen) = 0;
- virtual void Unregister() = 0;
- virtual void PauseComm() = 0;
- virtual void ContintuComm() = 0;
- };
- }
- #endif // MODULECOMM_BASE_H
|