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/plugin.h>
6 #include <nx/sdk/analytics/helpers/engine.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::Plugin* plugin);
19 virtual ~Engine() override;
20
21 nx::sdk::analytics::Plugin* const plugin() const { return m_plugin; }
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::Plugin* const m_plugin;
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:14
nx::sdk::Result
Definition: result.h:47
nx
Definition: apple_utils.h:6
nx::sdk::analytics::Engine
Definition: engine.h:34
nx::sdk::analytics::Plugin
Definition: plugin.h:23