SystemTimeParameter.cpp 753 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-03-15
  7. *
  8. * */
  9. #include <ls-std/time/system-time/IPosixClock.hpp>
  10. #include <ls-std/time/system-time/SystemTimeParameter.hpp>
  11. #include <memory>
  12. using ls::std::time::IPosixClock;
  13. using ls::std::time::SystemTimeParameter;
  14. using std::shared_ptr;
  15. SystemTimeParameter::SystemTimeParameter() = default;
  16. SystemTimeParameter::~SystemTimeParameter() = default;
  17. shared_ptr<IPosixClock> SystemTimeParameter::getPosixClock()
  18. {
  19. return this->posixClock;
  20. }
  21. void SystemTimeParameter::setPosixClock(const shared_ptr<IPosixClock> &_posixClock)
  22. {
  23. this->posixClock = _posixClock;
  24. }