stub_analytics_plugin  1.6
Network Optix Video Analytics SDK
i_device_info.h
1 #pragma once
2 
3 #include <nx/sdk/interface.h>
4 
5 namespace nx {
6 namespace sdk {
7 
12 class IDeviceInfo: public nx::sdk::Interface<IDeviceInfo>
13 {
14 public:
15  static auto interfaceId() { return InterfaceId("nx::sdk::IDeviceInfo"); }
16 
17  /* @return Unique id of the device. */
18  virtual const char* id() const = 0;
19 
20  /* @return Human-readable name of the device vendor, in UTF-8. */
21  virtual const char* vendor() const = 0;
22 
23  /* @return Model of the device, in UTF-8. */
24  virtual const char* model() const = 0;
25 
26  /* @return Version of the firmware installed on the device, in UTF-8. */
27  virtual const char* firmware() const = 0;
28 
29  /* @return Human-readable name of the device assigned by a VMS user, in UTF-8. */
30  virtual const char* name() const = 0;
31 
32  /* @return URL of the device. */
33  virtual const char* url() const = 0;
34 
35  /* @return Login of the device. */
36  virtual const char* login() const = 0;
37 
38  /* @return Password of the device, to be used with login(). */
39  virtual const char* password() const = 0;
40 
45  virtual const char* sharedId() const = 0;
46 
51  virtual const char* logicalId() const = 0;
52 
56  virtual int channelNumber() const = 0;
57 };
58 
59 } // namespace sdk
60 } // namespace nx
Definition: i_ref_countable.h:55
virtual int channelNumber() const =0
virtual const char * logicalId() const =0
Definition: interface.h:26
virtual const char * sharedId() const =0
Definition: i_device_info.h:12
Definition: debug.cpp:13