|
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 118 of file cache.cpp.
References __PRETTY_FUNCTION__, g2o::Cache::_container, g2o::Cache::CacheKey::_parameters, g2o::Cache::_parameters, g2o::Factory::construct(), G2O_ERROR, g2o::Factory::instance(), g2o::Cache::resolveDependencies(), 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 112 of file cache.cpp.
Referenced by g2o::Cache::installDependency(), and g2o::OptimizableGraph::Edge::resolveCache().
| OptimizableGraph * g2o::CacheContainer::graph | ( | ) |
Definition at line 145 of file cache.cpp.
References _vertex, and g2o::OptimizableGraph::Vertex::graph().
Referenced by g2o::Cache::graph().
| void g2o::CacheContainer::setUpdateNeeded | ( | bool | needUpdate = true | ) |
Definition at line 157 of file cache.cpp.
References _updateNeeded.
| void g2o::CacheContainer::update | ( | ) |
| OptimizableGraph::Vertex * g2o::CacheContainer::vertex | ( | ) |
|
protected |
Definition at line 121 of file cache.h.
Referenced by setUpdateNeeded(), and update().
|
protected |
Definition at line 120 of file cache.h.
Referenced by CacheContainer(), graph(), and vertex().