nx_metadata_sdk 1.0 Metadata SDK

engine.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/engine.h>
6
7 #include "plugin.h"
8 #include "stream_parser.h"
9
10 namespace nx {
11 namespace vms_server_plugins {
12 namespace analytics {
13 namespace stub {
14 namespace object_streamer {
15
16 class Engine: public nx::sdk::analytics::Engine
17 {
18 public:
19 Engine(Plugin* plugin);
20 virtual ~Engine() override;
21
22 protected:
23 virtual std::string manifestString() const override;
24
25 protected:
26 virtual void doObtainDeviceAgent(
27 nx::sdk::Result<nx::sdk::analytics::IDeviceAgent*>* outResult,
28 const nx::sdk::IDeviceInfo* deviceInfo) override;
29
30 private:
31 void reportIssues(const Issues& issues) const;
32
33 private:
34 Plugin* m_plugin = nullptr;
35 };
36
37 } // namespace object_streamer
38 } // namespace stub
39 } // namespace analytics
40 } // namespace vms_server_plugins
41 } // namespace nx
nx::vms_server_plugins::analytics::stub::object_streamer::Plugin
Definition: plugin.h:14
nx::sdk::IDeviceInfo
Definition: i_device_info.h:13
nx::vms_server_plugins::analytics::stub::object_streamer::Issues
Definition: stream_parser.h:64
nx::sdk::Result
Definition: result.h:48
nx
Definition: apple_utils.h:6
nx::vms_server_plugins::analytics::stub::object_streamer::Engine
Definition: engine.h:16
nx::sdk::analytics::Engine
Definition: engine.h:31