nx_server_plugin_sdk 1.0 Server Plugin SDK

integration.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/integration.h>
6 #include <nx/sdk/analytics/i_engine.h>
7
8 namespace nx {
9 namespace vms_server_plugins {
10 namespace analytics {
11 namespace stub {
12 namespace error_reporting {
13
14 class Integration: public nx::sdk::analytics::Integration
15 {
16 public:
17 Integration() = default;
18
19 protected:
20 virtual nx::sdk::Result<nx::sdk::analytics::IEngine*> doObtainEngine() override;
21 virtual std::string instanceId() const override { return "nx.stub.error_reporting"; }
22 virtual std::string manifestString() const override;
23 };
24
25 } // namespace error_reporting
26 } // namespace stub
27 } // namespace analytics
28 } // namespace vms_server_plugins
29 } // namespace nx
nx::vms_server_plugins::analytics::stub::error_reporting::Integration::doObtainEngine
virtual nx::sdk::Result< nx::sdk::analytics::IEngine * > doObtainEngine() override
Definition: integration.cpp:20
nx::vms_server_plugins::analytics::stub::error_reporting::Integration::instanceId
virtual std::string instanceId() const override
Definition: integration.h:21
nx::vms_server_plugins::analytics::stub::error_reporting::Integration
Definition: integration.h:14
nx::sdk::Result
Definition: result.h:52
nx
Definition: apple_utils.h:6
nx::sdk::analytics::Integration
Definition: integration.h:21