IFactory.hpp 500 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2021-04-23
  6. * Changed: 2021-04-23
  7. *
  8. * */
  9. #ifndef LS_STD_I_FACTORY_HPP
  10. #define LS_STD_I_FACTORY_HPP
  11. #include <memory>
  12. #include <ls_std/base/Class.hpp>
  13. namespace ls_std
  14. {
  15. class IFactory
  16. {
  17. public:
  18. IFactory() = default;
  19. ~IFactory() = default;
  20. virtual std::shared_ptr<ls_std::Class> build() = 0;
  21. };
  22. }
  23. #endif