20 class EntityInformation;
48 int maxNumberOfCacheItems;
49 std::map<std::pair<ot::UID, ot::UID>, EntityBase*> entityMap;
50 std::list<EntityBase*> entityList;
Definition Application.h:25
Definition EntityCache.h:26
void cacheEntity(EntityBase *entity)
Definition EntityCache.cpp:47
void removeCachedEntitiesFromList(std::list< std::pair< unsigned long long, unsigned long long > > &prefetchEntities)
Definition EntityCache.cpp:99
void removeEntity(EntityBase *entity)
Definition EntityCache.cpp:93
void prefetchEntities(std::list< ot::EntityInformation > &entityList)
Definition EntityCache.cpp:114
EntityBase * getEntity(ot::UID entityID, ot::UID entityVersion)
Definition EntityCache.cpp:64
~EntityCache()
Definition EntityCache.cpp:18
void setApplication(Application *app)
Definition EntityCache.h:31
void setModelComponent(ot::components::ModelComponent *mdl)
Definition EntityCache.h:36
EntityCache()
Definition EntityCache.cpp:11
void shrinkCache(void)
Definition EntityCache.cpp:30
Definition ModelComponent.h:42
The app namespace contains several functions that may be used to start processes.
unsigned long UID
Unique identifier (32 bit unsigned integer)
Definition CoreTypes.h:27