12345678910111213141516171819202122232425262728293031323334353637383940 |
- /*
- * Author: Patrick-Christopher Mattulat
- * Company: Lynar Studios
- * E-Mail: webmaster@lynarstudios.com
- * Created: 2023-03-15
- * Changed: 2024-09-11
- *
- * */
- #ifndef LS_STD_SYSTEM_TIME_PARAMETER_HPP
- #define LS_STD_SYSTEM_TIME_PARAMETER_HPP
- #include "IClock.hpp"
- #include <ls-std/os/dynamic-goal.hpp>
- #include <memory>
- /*
- * @doc: class(name: 'SystemTimeParameter', package: 'time')
- * @doc: time.SystemTimeParameter.description('This class holds information for setting the system time.')
- * */
- namespace ls::std::time
- {
- class LS_STD_DYNAMIC_GOAL SystemTimeParameter
- {
- public:
- SystemTimeParameter();
- ~SystemTimeParameter();
- [[nodiscard]] ::std::shared_ptr<ls::std::time::IClock> getClock() const;
- void setClock(const ::std::shared_ptr<ls::std::time::IClock> &_clock);
- private:
- ::std::shared_ptr<ls::std::time::IClock> clock{};
- };
- }
- #endif
|