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