5 #include "IInteriorRenderablesRepository.h"
23 void AddRenderablesForInterior(
const std::string& interiorName,
24 TFloorCell& floorCell,
25 const TRenderables& rendrables);
27 void RemoveRenderablesForInterior(
const std::string& interiorName,
28 const TRenderables& rendrables);
30 TRenderables GetRenderablesForInterior(
const std::string& interiorName);
32 size_t GetRenderablesCountForInterior(
const std::string& interiorName);
34 TFloorCell& GetCellForRenderable(TRenderable& renderable);
37 typedef std::set<TRenderablePtr> TStoredRenderables;
38 typedef std::map<std::string, TStoredRenderables> TRenderablesByInterior;
39 typedef std::pair<std::string, TStoredRenderables> TInteriorRenderablesPair;
40 typedef std::map<TRenderablePtr, const InteriorsFloorCell*> TFloorCellsByRenderable;
41 typedef std::pair<TRenderablePtr, TFloorCellPtr> TRenderableFloorCellPair;
43 TRenderablesByInterior m_renderablesByInterior;
44 TFloorCellsByRenderable m_floorCellsByRenderable;