g2o
|
#include <cache.h>
Public Member Functions | |
CacheContainer (OptimizableGraph::Vertex *vertex_) | |
virtual | ~CacheContainer () |
OptimizableGraph::Vertex * | vertex () |
OptimizableGraph * | graph () |
Cache * | findCache (const Cache::CacheKey &key) |
Cache * | createCache (const Cache::CacheKey &key) |
void | setUpdateNeeded (bool needUpdate=true) |
void | update () |
Protected Attributes | |
OptimizableGraph::Vertex * | _vertex |
bool | _updateNeeded |
g2o::CacheContainer::CacheContainer | ( | OptimizableGraph::Vertex * | vertex_ | ) |
|
virtual |
Cache * g2o::CacheContainer::createCache | ( | const Cache::CacheKey & | key | ) |
Definition at line 131 of file cache.cpp.
References __PRETTY_FUNCTION__, g2o::Cache::_container, g2o::Cache::CacheKey::_parameters, g2o::Cache::_parameters, g2o::Factory::construct(), g2o::Factory::instance(), g2o::Cache::resolveDependancies(), g2o::Cache::CacheKey::type(), and g2o::Cache::update().
Referenced by g2o::Cache::installDependency(), and g2o::OptimizableGraph::Edge::resolveCache().
Cache * g2o::CacheContainer::findCache | ( | const Cache::CacheKey & | key | ) |
Definition at line 124 of file cache.cpp.
Referenced by g2o::Cache::installDependency(), and g2o::OptimizableGraph::Edge::resolveCache().
OptimizableGraph * g2o::CacheContainer::graph | ( | ) |
Definition at line 159 of file cache.cpp.
Referenced by g2o::Cache::graph().
void g2o::CacheContainer::setUpdateNeeded | ( | bool | needUpdate = true | ) |
Definition at line 172 of file cache.cpp.
References g2o::Cache::_updateNeeded.
Referenced by g2o::OptimizableGraph::Vertex::updateCache().
void g2o::CacheContainer::update | ( | ) |
Definition at line 165 of file cache.cpp.
References g2o::Cache::_updateNeeded, and g2o::Cache::update().
Referenced by g2o::OptimizableGraph::Vertex::updateCache().
OptimizableGraph::Vertex * g2o::CacheContainer::vertex | ( | ) |
|
protected |