nx_metadata_sdk  1.0
Metadata SDK
Public Member Functions | Static Public Member Functions | List of all members
nx::sdk::ref_countable_ut::NewInterface Class Referenceabstract
Inheritance diagram for nx::sdk::ref_countable_ut::NewInterface:
nx::sdk::Interface< NewInterface > nx::sdk::IRefCountable

Public Member Functions

virtual IRefCountablequeryInterface (const InterfaceId *id) override
 
virtual const char * interfaceIdForTest () const
 
virtual int refCountForTest () const =0
 
- Public Member Functions inherited from nx::sdk::Interface< NewInterface >
virtual IRefCountablequeryInterface (const InterfaceId *id)
 
Ptr< RefCountablequeryInterface ()
 
Ptr< const RefCountablequeryInterface () const
 
- Public Member Functions inherited from nx::sdk::IRefCountable
virtual ~IRefCountable ()=default
 
template<class RefCountable >
Ptr< RefCountablequeryInterface ()
 
template<class RefCountable >
Ptr< const RefCountablequeryInterface () const
 
virtual int addRef () const =0
 
virtual int releaseRef () const =0
 
int refCountThreadUnsafe () const
 

Static Public Member Functions

static auto interfaceId ()
 
- Static Public Member Functions inherited from nx::sdk::IRefCountable
static auto interfaceId ()
 

Additional Inherited Members

- Protected Member Functions inherited from nx::sdk::Interface< NewInterface >
IRefCountablequeryInterfaceSupportingDeprecatedId (const IRefCountable::InterfaceId *id, const Uuid &deprecatedInterfaceId)
 
- Static Protected Member Functions inherited from nx::sdk::IRefCountable
template<int len>
static constexpr const InterfaceIdmakeId (const char(&charArray)[len])
 
template<class TemplateInstance , class TemplateArg , int len>
static const InterfaceIdmakeIdForTemplate (const char(&baseIdCharArray)[len])
 
- Static Protected Attributes inherited from nx::sdk::IRefCountable
template<typename RefCountable >
static constexpr bool hasAlternativeInterfaceId = HasAlternativeInterfaceId<RefCountable>::value
 

Detailed Description

Mock for a base interface from the new SDK - used for compatibility testing. Supports old interface id in its queryInterface() in addition to the new interface id.

Member Function Documentation

◆ interfaceIdForTest()

virtual const char* nx::sdk::ref_countable_ut::NewInterface::interfaceIdForTest ( ) const
inlinevirtual

VMT #4 - added for tests; couples with the same method of OldInterface.

◆ queryInterface()

virtual IRefCountable* nx::sdk::ref_countable_ut::NewInterface::queryInterface ( const InterfaceId id)
inlineoverridevirtual

Support for old SDK interface id.

Reimplemented from nx::sdk::Interface< NewInterface >.

◆ refCountForTest()

virtual int nx::sdk::ref_countable_ut::NewInterface::refCountForTest ( ) const
pure virtual

VMT #5 - added for tests; couples with the same method of OldInterface.


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