SystemTimeParameter.hpp 994 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Co-Author: Claude Sonnet 4.6 (LLM)
  4. * Company: Lynar Studios
  5. * E-Mail: webmaster@lynarstudios.com
  6. * Created: 2023-03-15
  7. * Changed: 2026-06-23
  8. *
  9. * */
  10. #ifndef LS_STD_SYSTEM_TIME_PARAMETER_HPP
  11. #define LS_STD_SYSTEM_TIME_PARAMETER_HPP
  12. #include "IClock.hpp"
  13. #include <ls-std/os/dynamic-goal.hpp>
  14. #include <memory>
  15. /*
  16. * @doc: class(name: 'SystemTimeParameter', package: 'time')
  17. * @doc: time.SystemTimeParameter.description('This class holds information for setting the system time.')
  18. * */
  19. namespace ls::standard::time
  20. {
  21. class LS_STD_DYNAMIC_GOAL SystemTimeParameter
  22. {
  23. public:
  24. SystemTimeParameter();
  25. ~SystemTimeParameter();
  26. [[nodiscard]] ::std::shared_ptr<ls::standard::time::IClock> getClock() const;
  27. void setClock(const ::std::shared_ptr<ls::standard::time::IClock> &_clock);
  28. private:
  29. ::std::shared_ptr<ls::standard::time::IClock> clock{};
  30. };
  31. }
  32. #endif