12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /*
- * @Description:
- * @Version: 1.0
- * @Autor: lishengyin
- * @Date: 2022-04-12 15:45:22
- * @LastEditors: lishengyin
- * @LastEditTime: 2022-04-24 11:09:27
- */
- #ifndef __PARSERBASE_HPP_
- #define __PARSERBASE_HPP_
- #include <iostream>
- #include "ins_base.hpp"
- #include "dataTypeList.hpp"
- #include "GetCenter.hpp"
- #include "Disposition.hpp"
- using namespace std;
- namespace ins
- {
- class ParserBase
- {
- private:
-
- public:
- using ptr = std::shared_ptr<ParserBase>;
- ParserBase(){}
- ~ParserBase(){}
- /**
- * @description: 解析数据
- * @param {*}
- * @return {*}
- */
- virtual bool ParserData(std::shared_ptr<InsPacket> packet) = 0;
- };
- } // namespace ins
- #endif
|