All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
InteriorsCellResourceObserver.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "Interiors.h"
7 #include "ICallback.h"
8 #include "CallbackCollection.h"
9 
10 namespace Eegeo
11 {
12  namespace Resources
13  {
14  namespace Interiors
15  {
17  {
18  public:
19  void RegisterAddedToSceneGraphCallback(Helpers::ICallback1<const InteriorsCellResource>& callback);
20  void UnregisterAddedToSceneGraphCallback(Helpers::ICallback1<const InteriorsCellResource>& callback);
21 
22  void RegisterRemovedFromSceneGraphCallback(Helpers::ICallback1<const InteriorsCellResource>& callback);
23  void UnregisterRemovedFromSceneGraphCallback(Helpers::ICallback1<const InteriorsCellResource>& callback);
24 
25  void RegisterResourceDeletedCallback(Helpers::ICallback1<const InteriorsCellResource>& callback);
26  void UnregisterResourceDeletedCallback(Helpers::ICallback1<const InteriorsCellResource>& callback);
27 
28  void NotifyAddedToSceneGraph(const InteriorsCellResource& interiorsCellResource);
29  void NotifyRemovedFromSceneGraph(const InteriorsCellResource& interiorsCellResource);
30  void NotifyResourceDeleted(const InteriorsCellResource& interiorsCellResource);
31  private:
33  Helpers::CallbackCollection1<const InteriorsCellResource> m_removedFromSceneGraphCallbacks;
35  };
36  }
37  }
38 }