Engine.hpp 853 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * author: Patrick-Christopher Mattulat
  3. * e-mail: webmaster@lynarstudios.com
  4. */
  5. #ifndef LS_ATLANTIS_ENGINE_CYCLE_ENGINE_HPP
  6. #define LS_ATLANTIS_ENGINE_CYCLE_ENGINE_HPP
  7. #include <Export.hpp>
  8. #include <cycle/EngineParameter.hpp>
  9. #include <cycle/EngineRuntimeData.hpp>
  10. #include <interface/AStatusCode.hpp>
  11. #include <memory>
  12. namespace ls::atlantis::cycle
  13. {
  14. class LS_ATLANTIS_DYNAMIC_GOAL Engine
  15. {
  16. public:
  17. explicit Engine(const ls::atlantis::cycle::EngineParameter &_parameter);
  18. ~Engine();
  19. [[nodiscard]] ::std::shared_ptr<ls::atlantis::cycle::EngineRuntimeData> getData() const;
  20. [[nodiscard]] ::std::shared_ptr<ls::atlantis::interfaces::AStatusCode> init();
  21. private:
  22. ::std::shared_ptr<ls::atlantis::cycle::EngineRuntimeData> data{};
  23. ls::atlantis::cycle::EngineParameter parameter{};
  24. };
  25. }
  26. #endif