#ifndef HCP2_H #define HCP2_H #include #include #include #include class hcp2 { public: hcp2(std::string strportname); ~hcp2(); private: bool mbthreadrun = true; std::thread * mpthread; std::string mstrportname; std::string mstrgpsdata; private: void threadrecv(); }; #endif // HCP2_H