куча изменений, но зато теперь сохраняются настройки QoS и есть алгоритм сохранения параметров в API
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <boost/property_tree/ptree.hpp>
|
||||
#include <terminal_api/ControlProtoCInterface.h>
|
||||
|
||||
|
||||
@@ -10,6 +11,7 @@ namespace api_driver {
|
||||
|
||||
constexpr int CACHE_STATISTICS_UPDATE_MS = 500;
|
||||
constexpr int CACHE_SETTINGS_UPDATE_MS = 5000;
|
||||
constexpr int CACHE_QOS_UPDATE_MS = 5000;
|
||||
|
||||
class TerminalApiDaemon;
|
||||
|
||||
@@ -40,6 +42,8 @@ namespace api_driver {
|
||||
|
||||
~ApiDriver();
|
||||
|
||||
void setQosSettings(boost::property_tree::ptree & pt);
|
||||
|
||||
private:
|
||||
TSID sid{0};
|
||||
unsigned int access{0};
|
||||
|
Reference in New Issue
Block a user