nx_server_plugin_sdk 1.0 Server Plugin SDK

i_engine_info.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/interface.h>
6
7 namespace nx::sdk::analytics {
8
10 class IEngineInfo: public Interface<IEngineInfo>
11 {
12 public:
13 static auto interfaceId() { return makeId("nx::sdk::IEngineInfo"); }
14
16 virtual const char* id() const = 0;
17
19 virtual const char* name() const = 0;
20 };
21 using IEngineInfo0 = IEngineInfo;
22
23 } // namespace nx::sdk::analytics
nx::sdk::Interface
Definition: interface.h:48
nx::sdk::analytics::IEngineInfo::name
virtual const char * name() const =0
nx::sdk::analytics::IEngineInfo::id
virtual const char * id() const =0
nx::sdk::analytics
Definition: consuming_device_agent.cpp:25
nx::sdk::analytics::IEngineInfo
Definition: i_engine_info.h:10
nx::sdk::IRefCountable::makeId
static const InterfaceId * makeId(const char(&charArray)[len])
Definition: i_ref_countable.h:77