nx_server_plugin_sdk 1.0 Server Plugin SDK

entry_points.h
Go to the documentation of this file.
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2
3 #pragma once
4
21 #include <nx/sdk/i_integration.h>
22
23 namespace nx::sdk {
24
32 extern "C" typedef IIntegration* createNxPlugin();
33 struct IntegrationEntryPoint
34 {
35 static constexpr char kFuncName[] = "createNxPlugin";
36 using Func = createNxPlugin*;
37 };
38
53 extern "C" typedef IIntegration* createNxPluginByIndex(int instanceIndex);
54 struct MultiIntegrationEntryPoint
55 {
56 static constexpr char kFuncName[] = "createNxPluginByIndex";
57 using Func = createNxPluginByIndex*;
58 };
59
60 } // namespace nx::sdk
nx::sdk::createNxPluginByIndex
IIntegration * createNxPluginByIndex(int instanceIndex)
Definition: entry_points.h:53
nx::sdk::createNxPlugin
IIntegration * createNxPlugin()
Definition: entry_points.h:32
nx::sdk::MultiIntegrationEntryPoint
Definition: entry_points.h:54
nx::sdk
Definition: device_agent.h:12
nx::sdk::IIntegration
Definition: i_integration.h:23
nx::sdk::IntegrationEntryPoint
Definition: entry_points.h:33