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 <atomic>
6 #include <condition_variable>
7 #include <deque>
8 #include <memory>
9 #include <string>
10 #include <thread>
11 #include <vector>
12
13 #include <nx/sdk/analytics/helpers/consuming_device_agent.h>
14
15 #include "engine.h"
16 #include "stub_analytics_plugin_sdk_features_ini.h"
17
18 namespace nx {
19 namespace vms_server_plugins {
20 namespace analytics {
21 namespace stub {
22 namespace sdk_features {
23
24 class DeviceAgent: public nx::sdk::analytics::ConsumingDeviceAgent
25 {
26 public:
27 DeviceAgent(Engine* engine, const nx::sdk::IDeviceInfo* deviceInfo);
28 virtual ~DeviceAgent() override;
29
30 protected:
31 virtual std::string manifestString() const override;
32
33 private:
34 Engine* const m_engine;
35 };
36
37 } // namespace sdk_features
38 } // namespace stub
39 } // namespace analytics
40 } // namespace vms_server_plugins
41 } // namespace nx
nx::vms_server_plugins::analytics::stub::sdk_features::DeviceAgent
Definition: device_agent.h:24
nx::sdk::analytics::ConsumingDeviceAgent
Definition: consuming_device_agent.h:36
nx::sdk::IDeviceInfo
Definition: i_device_info.h:13
nx
Definition: apple_utils.h:6
nx::vms_server_plugins::analytics::stub::sdk_features::Engine
Definition: engine.h:18