Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
WatchcallNTSettings.hpp
Go to the documentation of this file.
1
2#ifndef IV_SRC_MODEL_COMMS_WATCHCALLNTSETTINGS_HPP_
3#define IV_SRC_MODEL_COMMS_WATCHCALLNTSETTINGS_HPP_
4
5#include "core/types.hpp"
8{
9struct Settings
10{
11 Settings();
12 Settings(const Settings &other);
13 Settings(Settings &&other) noexcept;
14 ~Settings() = default;
15
16 Settings &operator=(const Settings &other);
17 Settings &operator=(Settings &&other) noexcept;
18
19 bool load(const iv::file::xml::node &node);
20 bool save(iv::file::xml::node &node) const;
21
23
24private:
25 struct Keys
26 {
27 static constexpr std::string_view timeOutWait {"TimeOutWait"};
28 };
30 {
31 static constexpr uint32_t timeOutWait {500};
32 };
33};
34
35}// namespace iv::model::comms::watchcallNT
36
37#endif//IV_SRC_MODEL_COMMS_WATCHCALLNTSETTINGS_HPP_
Definition xmlFile.hpp:15
Definition WatchcallNTSettings.cpp:5
std::chrono::milliseconds pollTime
Definition types.hpp:44
Definition WatchcallNTSettings.hpp:30
static constexpr uint32_t timeOutWait
Definition WatchcallNTSettings.hpp:31
Definition WatchcallNTSettings.hpp:26
static constexpr std::string_view timeOutWait
Definition WatchcallNTSettings.hpp:27
Definition WatchcallNTSettings.hpp:10
bool save(iv::file::xml::node &node) const
Definition WatchcallNTSettings.cpp:42
Settings & operator=(const Settings &other)
Definition WatchcallNTSettings.cpp:19
bool load(const iv::file::xml::node &node)
Definition WatchcallNTSettings.cpp:37
Settings()
Definition WatchcallNTSettings.cpp:7
iv::types::pollTime timeOutWait
Definition WatchcallNTSettings.hpp:22