#ifndef __TESTAPP_HPP__ #define __TESTAPP_HPP__ #include #include "Util/SqlPool.h" #include "UtilBase.hpp" #include "Util/logger.h" //#include "config.hpp" #include "HepuPlugin.hpp" using namespace std; using namespace toolkit; namespace gsd { class TestApp { private: TestApp(){ InfoL<<"Test APP"<; static std::shared_ptr CreateNew(); virtual bool Init(); virtual bool StartTask(); virtual void Destroy(); virtual bool Alive(); ~TestApp(){ this->Destroy(); } protected: HepuPlugin::Ptr m_HepuPlugin = nullptr; Timer::Ptr timer0 = nullptr; }; } #endif