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