nx_server_plugin_sdk 1.0 Server Plugin 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 #include <nx/sdk/analytics/helpers/integration.h>
7 #include <nx/sdk/analytics/i_uncompressed_video_frame.h>
8
9 namespace nx {
10 namespace vms_server_plugins {
11 namespace analytics {
12 namespace stub {
13 namespace taxonomy_features {
14
15 class Engine: public nx::sdk::analytics::Engine
16 {
17 public:
18 Engine(nx::sdk::analytics::Integration* integration);
19 virtual ~Engine() override;
20
21 nx::sdk::analytics::Integration* const integration() const { return m_integration; }
22
23 protected:
24 virtual std::string manifestString() const override;
25
26 protected:
27 virtual void doObtainDeviceAgent(
28 nx::sdk::Result<nx::sdk::analytics::IDeviceAgent*>* outResult,
29 const nx::sdk::IDeviceInfo* deviceInfo) override;
30
31 private:
32 nx::sdk::analytics::Integration* const m_integration;
33 };
34
35 } // namespace taxonomy_features
36 } // namespace stub
37 } // namespace analytics
38 } // namespace vms_server_plugins
39 } // namespace nx
nx::vms_server_plugins::analytics::stub::taxonomy_features::Engine
Definition: engine.h:15
nx::sdk::IDeviceInfo
Definition: i_device_info.h:13
nx::sdk::Result
Definition: result.h:52
nx
Definition: apple_utils.h:6
nx::sdk::analytics::Engine
Definition: engine.h:31
nx::sdk::analytics::Integration
Definition: integration.h:21