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.

57 lines
1.2 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1 year ago
2 years ago
1 year ago
2 years ago
  1. //
  2. // Created by zwsd
  3. //
  4. #pragma once
  5. #include <fstream>
  6. #include <iostream>
  7. #include <list>
  8. #include <map>
  9. #include <memory>
  10. #include <set>
  11. #include <sstream>
  12. #include <string>
  13. #include <vector>
  14. #include "iflytop/components/restful_server/restful_server.hpp"
  15. #include "iflytop/core/components/jobs/work_queue.hpp"
  16. #include "iflytop/core/components/timer/simple_timer.hpp"
  17. #include "iflytop/core/spdlogfactory/logger.hpp"
  18. #include "iflytoplinuxsdk/src/iflytop/components/iflytop_front_end_service/iflytop_front_end_service.hpp"
  19. //
  20. #include "configs/gconfig.hpp"
  21. #include "iflytop/components/iflytop_front_end_service/iflytop_front_end_service.hpp"
  22. #include "iflytoplinuxsdk/src/iflytop/core/components/zservice_container/zservice_container.hpp"
  23. //
  24. //
  25. #include "extapi_service.hpp"
  26. /**
  27. * @brief
  28. *
  29. * service: MainControlService
  30. *
  31. * :
  32. * :
  33. * :
  34. * :
  35. *
  36. */
  37. namespace iflytop {
  38. using namespace std;
  39. using namespace core;
  40. class MainControlService : public enable_shared_from_this<MainControlService> {
  41. ENABLE_LOGGER(MainControlService);
  42. ExtAPIService m_extAPIService;
  43. public:
  44. MainControlService(){};
  45. void initialize(int argc, char *argv[]);
  46. private:
  47. void initializeService();
  48. };
  49. } // namespace iflytop