stub_analytics_plugin  1.6
Network Optix Video Analytics SDK
Public Member Functions | Public Attributes | List of all members
nx::sdk::IRefCountable::InterfaceId Struct Reference

#include <i_ref_countable.h>

Public Member Functions

template<int len>
 InterfaceId (const char(&charArray)[len])
 
bool operator== (const InterfaceId &other) const
 
bool operator!= (const InterfaceId &other) const
 

Public Attributes

const char *const value
 

Detailed Description

Identifier of an interface, used for queryInterface().

NOTE: For binary compatibility with plugins compiled with the old SDK, the binary layout of this struct is identical to the layout of a pointer to the identifier bytes, and the length of the identifier string should be not less than 15, because queryInterface() of the old SDK received a const reference to a struct containing a 16-byte array. This also preserves binary compatibility with plugins compiled using the old SDK (class PluginInterface).

Constructor & Destructor Documentation

◆ InterfaceId()

template<int len>
nx::sdk::IRefCountable::InterfaceId::InterfaceId ( const char(&)  charArray[len])
inlineexplicit

Enable initialization with a character array only.

Member Data Documentation

◆ value

const char* const nx::sdk::IRefCountable::InterfaceId::value

Statically-allocated, neither null nor empty.


The documentation for this struct was generated from the following file: