123456789101112131415161718192021222324252627 |
- #ifndef HCP2_H
- #define HCP2_H
- #include <iostream>
- #include <string>
- #include <cstring>
- #include <thread>
- 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
|