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
8 namespace nx {
9 namespace vms_server_plugins {
10 namespace analytics {
11 namespace stub {
12 namespace roi {
13
14 class Engine: public nx::sdk::analytics::Engine
15 {
16 public:
17 Engine(nx::sdk::analytics::Integration* integration);
18 virtual ~Engine() override;
19
20 nx::sdk::analytics::Integration* const integration() const { return m_integration; }
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 nx::sdk::analytics::Integration* const m_integration;
32 };
33
34 } // namespace roi
35 } // namespace stub
36 } // namespace analytics
37 } // namespace vms_server_plugins
38 } // namespace nx
nx::vms_server_plugins::analytics::stub::roi::Engine
Definition: engine.h:14
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