nx_server_plugin_sdk  1.0
Server Plugin SDK
device_agent.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2 
3 #pragma once
4 
5 #include <nx/sdk/analytics/helpers/consuming_device_agent.h>
6 
7 #include <string>
8 
9 #include "engine.h"
10 #include "stub_analytics_plugin_roi_ini.h"
11 
12 namespace nx {
13 namespace vms_server_plugins {
14 namespace analytics {
15 namespace stub {
16 namespace roi {
17 
19 {
20 public:
21  DeviceAgent(Engine* engine, const nx::sdk::IDeviceInfo* deviceInfo);
22  virtual ~DeviceAgent() override;
23 
24 protected:
25  virtual void getIntegrationSideSettings(
26  nx::sdk::Result<const nx::sdk::ISettingsResponse*>* outResult) const override;
27 
28  virtual void doSetSettings(
30  const nx::sdk::IStringMap* settings) override;
31 
32  virtual std::string manifestString() const override;
33 
34 private:
35  Engine* const m_engine;
36  std::string m_integrationSideTestPolygonSettingValue;
37 };
38 
39 } // namespace roi
40 } // namespace stub
41 } // namespace analytics
42 } // namespace vms_server_plugins
43 } // namespace nx
Definition: i_string_map.h:9
Definition: consuming_device_agent.h:36
Definition: i_device_info.h:13
Definition: result.h:52
Definition: apple_utils.h:6