9 #include "CallbackCollection.h"
17 template<
typename TResourceType>
21 typedef const TResourceType CallbackParamType;
26 virtual void RegisterAddedToSceneGraphCallback(
CallbackType& callback) = 0;
27 virtual void UnregisterAddedToSceneGraphCallback(
CallbackType& callback) = 0;
29 virtual void RegisterRemovedFromSceneGraphCallback(
CallbackType& callback) = 0;
30 virtual void UnregisterRemovedFromSceneGraphCallback(
CallbackType& callback) = 0;
32 virtual void RegisterResourceDeletedCallback(
CallbackType& callback) = 0;
33 virtual void UnregisterResourceDeletedCallback(
CallbackType& callback) = 0;
35 virtual void NotifyAddedToSceneGraph(CallbackParamType& resource) = 0;
36 virtual void NotifyRemovedFromSceneGraph(CallbackParamType& resource) = 0;
37 virtual void NotifyResourceDeleted(CallbackParamType& resource) = 0;