linux版本中间件

VideoExten.h 475B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include <iostream>
  3. #include <string>
  4. class CVideoExten
  5. {
  6. public:
  7. CVideoExten(uint32_t a_ExtId, std::string a_ExtPwd, bool a_IsUsed = false);
  8. ~CVideoExten();
  9. uint32_t id() const { return m_Id; }
  10. std::string pwd() const { return m_Password; }
  11. bool isUsed() const { return m_IsUsed; };
  12. bool& isUsed() { return m_IsUsed; }
  13. private:
  14. uint32_t m_Id; // 分机号
  15. std::string m_Password; // 分机密码
  16. bool m_IsUsed; // 是否被用 true已被用,false可用
  17. };