You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.1 KiB

4 years ago
​
​
​
​
​
4 years ago
​
4 years ago
​
4 years ago
​
4 years ago
4 years ago
4 years ago
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  1. #ifndef __KERNEL_MODULE_MODEM_MANAGER_HEADER__
  2. #define __KERNEL_MODULE_MODEM_MANAGER_HEADER__
  3. #include "kernelModule.h"
  4. #include "../../components/base/basicThread.h"
  5. typedef std::vector<DBC_MODEM_DATA *> VECTOR_MODEM_DATA;
  6. class kernelModuleModemManager: public kernelModule, public basicThread {
  7. private:
  8. //DBC_INT_LIST * m_pvModems;
  9. VECTOR_MODEM_DATA m_vModemData;
  10. DBC_MODEM_DATA * getModemInfo( uint32_t modem_id );
  11. DBC_INT_LIST * enumerateModems();
  12. protected:
  13. /* From Basic Thread */
  14. virtual void m_fThreadProc( void );
  15. public:
  16. explicit kernelModuleModemManager( uint32_t moduleID );
  17. ~kernelModuleModemManager();
  18. /* From Kernel Module */
  19. virtual bool reloadSettings();
  20. virtual bool startService();
  21. virtual bool stopService( bool force = false );
  22. virtual void dispatchEvent(EVENT_CONTAINER *Evt);
  23. virtual bool validate();
  24. };
  25. #endif