nx_metadata_sdk 1.0 Metadata 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 <thread>
6 #include <atomic>
7 #include <memory>
8 #include <condition_variable>
9 #include <vector>
10 #include <string>
11 #include <deque>
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 void doSetNeededMetadataTypes(
32 nx::sdk::Result<void>* outValue,
33 const nx::sdk::analytics::IMetadataTypes* neededMetadataTypes) override;
34
35 virtual std::string manifestString() const override;
36
37 private:
38 Engine* const m_engine;
39 };
40
41 } // namespace sdk_features
42 } // namespace stub
43 } // namespace analytics
44 } // namespace vms_server_plugins
45 } // 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:38
nx::sdk::analytics::IMetadataTypes
Definition: i_metadata_types.h:13
nx::sdk::Result< void >
Definition: result.h:81
nx::sdk::IDeviceInfo
Definition: i_device_info.h:14
nx
Definition: apple_utils.h:6
nx::vms_server_plugins::analytics::stub::sdk_features::Engine
Definition: engine.h:18