nx_server_plugin_sdk 1.0 Server Plugin SDK

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 <string>
6
7 #include <nx/sdk/analytics/i_engine_info.h>
8 #include <nx/sdk/helpers/ref_countable.h>
9
10 namespace nx::sdk::analytics {
11
12 class EngineInfo: public RefCountable<IEngineInfo>
13 {
14 public:
15 virtual const char* id() const override;
16
17 virtual const char* name() const override;
18
19 void setId(std::string id);
20
21 void setName(std::string name);
22
23 private:
24 std::string m_id;
25 std::string m_name;
26 };
27
28 } // namespace nx::sdk::analytics
nx::sdk::analytics
Definition: consuming_device_agent.cpp:25
nx::sdk::analytics::EngineInfo
Definition: engine_info.h:12
nx::sdk::RefCountable
Definition: ref_countable.h:83