SystemTimeParameter.cpp 657 B

1234567891011121314151617181920212223242526272829
  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-31
  7. *
  8. * */
  9. #include <ls-std/time/system-time/SystemTimeParameter.hpp>
  10. #include <memory>
  11. using ls::std::time::IClock;
  12. using ls::std::time::SystemTimeParameter;
  13. using std::shared_ptr;
  14. SystemTimeParameter::SystemTimeParameter() = default;
  15. SystemTimeParameter::~SystemTimeParameter() = default;
  16. shared_ptr<IClock> SystemTimeParameter::getClock()
  17. {
  18. return this->clock;
  19. }
  20. void SystemTimeParameter::setClock(const shared_ptr<IClock> &_clock)
  21. {
  22. this->clock = _clock;
  23. }