#ifndef MODULECOMMPLUS_IMPL_H #define MODULECOMMPLUS_IMPL_H #include namespace iv { struct modulecommplusSendState { public: bool mbUse = false; //Default is 0,if 1 this unit is exist char mstrmemename[256]; char mstrmemsharename[256]; char mstrip[100]; int mnPID; qint64 mnWriteCount = 0; qint64 mnLastShareReq = 0; qint64 mnLastInterReq = 0; qint64 mnLastRTPSReq = 0; }; } class modulecommplus_impl { public: modulecommplus_impl(char * strmemname); private: //QSharedMemory Sys For Get state QSharedMemory * mpSys; const int mnMemMaxCount = 1000; const char * mstrsysmemname = "modulecommplusSendState"; int mnIndex = -1; private: int FindAdress(const char * strmemname); int CreateAdress(const char * strmemname); }; #endif // MODULECOMMPLUS_IMPL_H