nx_server_plugin_sdk 1.0 Server Plugin 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::sdk {
8
25 class IRefCountableRegistry
26 {
27 public:
29 virtual ~IRefCountableRegistry() = default;
30
31 virtual void notifyCreated(
32 const nx::sdk::IRefCountable* refCountable, int refCount) = 0;
33
34 virtual void notifyDestroyed(
35 const nx::sdk::IRefCountable* refCountable, int refCount) = 0;
36 };
37
38 } // namespace nx::sdk
nx::sdk::IRefCountableRegistry
Definition: i_ref_countable_registry.h:25
nx::sdk::IRefCountableRegistry::~IRefCountableRegistry
virtual ~IRefCountableRegistry()=default
nx::sdk
Definition: device_agent.h:12
nx::sdk::IRefCountable
Definition: i_ref_countable.h:49