SystemTimeParameter.hpp 695 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-03-15
  6. * Changed: 2024-05-31
  7. *
  8. * */
  9. #ifndef LS_STD_SYSTEM_TIME_PARAMETER_HPP
  10. #define LS_STD_SYSTEM_TIME_PARAMETER_HPP
  11. #include "IClock.hpp"
  12. #include <ls-std/core/definition.hpp>
  13. #include <memory>
  14. namespace ls::std::time
  15. {
  16. ls_std_class SystemTimeParameter
  17. {
  18. public:
  19. SystemTimeParameter();
  20. ~SystemTimeParameter();
  21. [[nodiscard]] ::std::shared_ptr<IClock> getClock() const;
  22. void setClock(const ::std::shared_ptr<IClock> &_clock);
  23. private:
  24. ::std::shared_ptr<IClock> clock{};
  25. };
  26. }
  27. #endif