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::vms_server_plugins::analytics::stub::http_requests {
9
10 class Engine: public nx::sdk::analytics::Engine
11 {
12 public:
13 Engine(nx::sdk::analytics::Integration* integration);
14 virtual ~Engine() override;
15 nx::sdk::Ptr<nx::sdk::IUtilityProvider> utilityProvider() const;
16
17 protected:
18 virtual std::string manifestString() const override;
19
20 protected:
21 virtual void doObtainDeviceAgent(
22 nx::sdk::Result<nx::sdk::analytics::IDeviceAgent*>* outResult,
23 const nx::sdk::IDeviceInfo* deviceInfo) override;
24
25 private:
26 nx::sdk::analytics::Integration* const m_integration;
27 };
28
29 } // namespace nx::vms_server_plugins::analytics::stub::http_requests
nx::vms_server_plugins::analytics::stub::http_requests::Engine
Definition: engine.h:10
nx::sdk::Ptr< nx::sdk::IUtilityProvider >
nx::vms_server_plugins::analytics::stub::http_requests
Definition: device_agent.cpp:19
nx::sdk::IDeviceInfo
Definition: i_device_info.h:13
nx::sdk::Result
Definition: result.h:52
nx::sdk::analytics::Engine
Definition: engine.h:31
nx::sdk::analytics::Integration
Definition: integration.h:21