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