37 #include "util/base/fifeclass.h"
39 #include "model/structures/map.h"
40 #include "model/metamodel/timeprovider.h"
77 const std::list<Map*>&
getMaps()
const {
return m_maps; }
83 Map*
getMap(
const std::string& identifier)
const;
117 Object*
getObject(
const std::string&
id,
const std::string& name_space);
121 std::list<Object*>
getObjects(
const std::string& name_space)
const;
129 IPather*
getPather(
const std::string& pathername);
137 CellGrid*
getCellGrid(
const std::string& gridtype);
155 std::list<Map*> m_maps;
157 typedef std::map<std::string,Object*> objectmap_t;
158 typedef std::pair<std::string,objectmap_t> namespace_t;
159 std::list<namespace_t> m_namespaces;
162 namespace_t* m_last_namespace;
165 namespace_t* selectNamespace(
const std::string& name_space);
168 const namespace_t* selectNamespace(
const std::string& name_space)
const;
170 std::vector<IPather*> m_pathers;
171 std::vector<CellGrid*> m_created_grids;
172 std::vector<CellGrid*> m_adopted_grids;
178 std::vector<RendererBase*> m_renderers;
std::list< std::string > getNamespaces() const
Map * getMap(const std::string &identifier) const
double getTimeMultiplier() const
void adoptCellGrid(CellGrid *grid)
void setMultiplier(float multiplier)
const std::list< Map * > & getMaps() const
Object * createObject(const std::string &identifier, const std::string &name_space, Object *parent=0)
void setTimeMultiplier(float multip)
float getMultiplier() const
uint32_t getMapCount() const
CellGrid * getCellGrid(const std::string &gridtype)
Model(RenderBackend *renderbackend, const std::vector< RendererBase * > &renderers)
IPather * getPather(const std::string &pathername)
void adoptPather(IPather *pather)
Object * getObject(const std::string &id, const std::string &name_space)
bool deleteObject(Object *)
std::list< Object * > getObjects(const std::string &name_space) const
Map * createMap(const std::string &identifier)