nx_metadata_sdk 1.0 Metadata SDK

i_ref_countable_registry.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 <nx/sdk/i_ref_countable.h>
6
7 namespace nx {
8 namespace sdk {
9
26 class IRefCountableRegistry
27 {
28 public:
30 virtual ~IRefCountableRegistry() = default;
31
32 virtual void notifyCreated(
33 const nx::sdk::IRefCountable* refCountable, int refCount) = 0;
34
35 virtual void notifyDestroyed(
36 const nx::sdk::IRefCountable* refCountable, int refCount) = 0;
37 };
38
39 } // namespace sdk
40 } // namespace nx
nx::sdk::IRefCountableRegistry
Definition: i_ref_countable_registry.h:26
nx::sdk::IRefCountableRegistry::~IRefCountableRegistry
virtual ~IRefCountableRegistry()=default
nx
Definition: apple_utils.h:6
nx::sdk::IRefCountable
Definition: i_ref_countable.h:49