PosixClock.hpp 617 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2023-03-15
  6. * Changed: 2023-04-01
  7. *
  8. * */
  9. #ifndef LS_STD_POSIX_CLOCK_HPP
  10. #define LS_STD_POSIX_CLOCK_HPP
  11. #include "IClock.hpp"
  12. #include <cstdint>
  13. #include <ls-std/time/type/DateParameterTypes.hpp>
  14. namespace ls::std::time
  15. {
  16. class PosixClock : public ls::std::time::IClock
  17. {
  18. public:
  19. PosixClock();
  20. ~PosixClock() noexcept override;
  21. [[nodiscard]] bool setTime(const ls::std::time::DateParameter &_dateParameter) override;
  22. };
  23. }
  24. #endif