nx_server_plugin_sdk 1.0 Server Plugin SDK

Public Member Functions | Static Public Attributes | List of all members
nx::sdk::ref_countable_ut::OldObject Class Reference
Inheritance diagram for nx::sdk::ref_countable_ut::OldObject:

## Public Member Functions
| OldObject (const OldObject &)=delete
OldObject & | operator= (const OldObject &)=delete
| OldObject (OldObject &&)=delete
OldObject & | operator= (OldObject &&)=delete
virtual void * | queryInterface (const OldInterfaceId &id) override
virtual unsigned int | addRef () const override
virtual unsigned int | releaseRef () const override
Public Member Functions inherited from nx::sdk::ref_countable_ut::OldInterface
virtual | ~OldInterface ()=default
int | refCountThreadUnsafe () const

## Static Public Attributes
static bool | s_destructorCalled = false

## Additional Inherited Members
Static Public Member Functions inherited from nx::sdk::ref_countable_ut::OldInterface
static const OldInterfaceId & | interfaceId ()

## Detailed Description

Mock for an object implementing the old SDK interface - used for compatibility testing.

## Member Function Documentation

## ◆ addRef()

virtual unsigned int nx::sdk::ref_countable_ut::OldObject::addRef | ( |  | ) | const
| inlineoverridevirtual

VMT #2.

Implements nx::sdk::ref_countable_ut::OldInterface.

## ◆ queryInterface()

virtual void* nx::sdk::ref_countable_ut::OldObject::queryInterface | ( | const OldInterfaceId & | id | ) |
| inlineoverridevirtual

#1 in VMT.

Implements nx::sdk::ref_countable_ut::OldInterface.

## ◆ releaseRef()

virtual unsigned int nx::sdk::ref_countable_ut::OldObject::releaseRef | ( |  | ) | const
| inlineoverridevirtual

VMT #3.

Implements nx::sdk::ref_countable_ut::OldInterface.

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

- unit_tests/src/ref_countable_ut.cpp