PosixClock.hpp 815 B

123456789101112131415161718192021222324252627282930313233343536
  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_POSIX_CLOCK_HPP
  11. #define LS_STD_POSIX_CLOCK_HPP
  12. #include "IClock.hpp"
  13. #include <cstdint>
  14. #include <ls-std/time/type/DateParameterTypes.hpp>
  15. /*
  16. * @doc: class(name: 'PosixClock', package: 'time')
  17. * @doc: time.PosixClock.description('This is a POSIX based internal time.')
  18. * */
  19. namespace ls::standard::time
  20. {
  21. class PosixClock : public ls::standard::time::IClock
  22. {
  23. public:
  24. PosixClock();
  25. ~PosixClock() noexcept override;
  26. [[nodiscard]] bool setTime(const ls::standard::time::DateParameter &_dateParameter) override;
  27. };
  28. }
  29. #endif