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 sample {
13
14 class Engine: public nx::sdk::analytics::Engine
15 {
16 public:
17 Engine();
18 virtual ~Engine() override;
19
20 protected:
21 virtual std::string manifestString() const override;
22
23 protected:
24 virtual void doObtainDeviceAgent(
25 nx::sdk::Result<nx::sdk::analytics::IDeviceAgent*>* outResult,
26 const nx::sdk::IDeviceInfo* deviceInfo) override;
27 };
28
29 } // namespace sample
30 } // namespace analytics
31 } // namespace vms_server_plugins
32 } // namespace nx
nx::vms_server_plugins::analytics::sample::Engine::manifestString
virtual std::string manifestString() const override
Definition: engine.cpp:43
nx::vms_server_plugins::analytics::sample::Engine
Definition: engine.h:14
nx::vms_server_plugins::analytics::sample::Engine::doObtainDeviceAgent
virtual void doObtainDeviceAgent(nx::sdk::Result< nx::sdk::analytics::IDeviceAgent *> *outResult, const nx::sdk::IDeviceInfo *deviceInfo) override
Definition: engine.cpp:34
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