OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
EntityCache Class Reference

#include "EntityCache.h"

Public Member Functions

 EntityCache ()
 
 ~EntityCache ()
 
void setApplication (Application *app)
 
void cacheEntity (EntityBase *entity)
 
EntityBase * getEntity (ot::UID entityID, ot::UID entityVersion)
 
void setModelComponent (ot::components::ModelComponent *mdl)
 
void removeCachedEntitiesFromList (std::list< std::pair< unsigned long long, unsigned long long > > &prefetchEntities)
 
void shrinkCache (void)
 
void removeEntity (EntityBase *entity)
 
void prefetchEntities (std::list< ot::EntityInformation > &entityList)
 
void prefetchEntities (std::list< std::pair< unsigned long long, unsigned long long > > &prefetchEntities)
 

Constructor & Destructor Documentation

◆ EntityCache()

EntityCache::EntityCache ( )

◆ ~EntityCache()

EntityCache::~EntityCache ( )

Member Function Documentation

◆ cacheEntity()

void EntityCache::cacheEntity ( EntityBase * entity)

◆ getEntity()

EntityBase * EntityCache::getEntity ( ot::UID entityID,
ot::UID entityVersion )

◆ prefetchEntities() [1/2]

void EntityCache::prefetchEntities ( std::list< ot::EntityInformation > & entityList)

◆ prefetchEntities() [2/2]

void EntityCache::prefetchEntities ( std::list< std::pair< unsigned long long, unsigned long long > > & prefetchEntities)

◆ removeCachedEntitiesFromList()

void EntityCache::removeCachedEntitiesFromList ( std::list< std::pair< unsigned long long, unsigned long long > > & prefetchEntities)

◆ removeEntity()

void EntityCache::removeEntity ( EntityBase * entity)

◆ setApplication()

void EntityCache::setApplication ( Application * app)
inline

◆ setModelComponent()

void EntityCache::setModelComponent ( ot::components::ModelComponent * mdl)
inline

◆ shrinkCache()

void EntityCache::shrinkCache ( void )

The documentation for this class was generated from the following files: