SCFLoader.h 458 B

123456789101112131415161718192021222324
  1. #pragma once
  2. namespace DiosCtrlBox
  3. {
  4. class SCFLoader
  5. {
  6. public:
  7. SCFLoader();
  8. ~SCFLoader();
  9. public:
  10. static SCFLoader *Instance();
  11. SCF* GetSCFInstance();
  12. SCFPacket *CreateSingletonSCFPacket(const std::string &name);
  13. void ReleaseSCFPacket(const std::string &name);
  14. private:
  15. void Initialize();
  16. private:
  17. static SCFLoader *m_instance;
  18. HMODULE m_DllFileHandle;
  19. SCF *m_SCFInstance;
  20. std::map<std::string, SCFPacket *> m_scfPackets;
  21. };
  22. }