gsd_UserApp.cc 556 B

12345678910111213141516171819202122232425
  1. /**
  2. *
  3. * gsd_UserApp.cc
  4. *
  5. */
  6. #include "gsd_UserApp.h"
  7. using namespace drogon;
  8. using namespace gsd;
  9. using namespace toolkit;
  10. using namespace std;
  11. void UserApp::initAndStart(const Json::Value &config)
  12. {
  13. /// Initialize and start the plugin
  14. InfoL << "gsd_check Start a Task, version: " << app().getPlugin<CenterGroup>()->getVersion() << ", Engine: " << app().getPlugin<CenterGroup>()->getInferEngine()
  15. << ", Debug: " << app().getPlugin<CenterGroup>()->getDebug();
  16. }
  17. void UserApp::shutdown()
  18. {
  19. /// Shutdown the plugin
  20. InfoL;
  21. }