All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
PlaceNamesCell.h
1 // Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2 
3 #pragma once
4 
5 #include "Types.h"
6 #include "BuiltResourceWithKey.h"
7 #include "PlaceNames.h"
8 #include <vector>
9 
10 namespace Eegeo
11 {
12  namespace Resources
13  {
14  namespace PlaceNames
15  {
17  {
18  private:
19  static const int MaxNamesPerCell = 25;
20 
21  public:
22  PlaceNamesCell(const Streaming::MortonKey& key, PlaceNamesController& placeNamesController, std::vector<PlaceNameModel*> *pPlaceNameModels);
23  ~PlaceNamesCell();
24 
25  void Unload();
26  void RemovedFromSceneGraph();
27  void AddedToSceneGraph();
28 
29  private:
30  PlaceNamesController& m_placeNamesController;
31  std::vector<PlaceNameModel*>* m_pPlaceNameModels;
32  };
33  }
34  }
35 }