g2o
Loading...
Searching...
No Matches
g2o::CacheContainer Class Reference

#include <cache.h>

Inheritance diagram for g2o::CacheContainer:
Collaboration diagram for g2o::CacheContainer:

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

Detailed Description

Definition at line 108 of file cache.h.

Constructor & Destructor Documentation

◆ CacheContainer()

g2o::CacheContainer::CacheContainer ( OptimizableGraph::Vertex * vertex_)

Definition at line 107 of file cache.cpp.

References _updateNeeded, and _vertex.

◆ ~CacheContainer()

g2o::CacheContainer::~CacheContainer ( )
virtual

Definition at line 164 of file cache.cpp.

Member Function Documentation

◆ createCache()

◆ findCache()

Cache * g2o::CacheContainer::findCache ( const Cache::CacheKey & key)

◆ graph()

OptimizableGraph * g2o::CacheContainer::graph ( )

Definition at line 145 of file cache.cpp.

References _vertex.

Referenced by g2o::Cache::graph().

◆ setUpdateNeeded()

void g2o::CacheContainer::setUpdateNeeded ( bool needUpdate = true)

Definition at line 157 of file cache.cpp.

References _updateNeeded.

◆ update()

void g2o::CacheContainer::update ( )

Definition at line 150 of file cache.cpp.

References _updateNeeded, and update().

Referenced by update().

◆ vertex()

OptimizableGraph::Vertex * g2o::CacheContainer::vertex ( )

Definition at line 143 of file cache.cpp.

References _vertex.

Referenced by g2o::Cache::vertex().

Member Data Documentation

◆ _updateNeeded

bool g2o::CacheContainer::_updateNeeded
protected

Definition at line 121 of file cache.h.

Referenced by CacheContainer(), setUpdateNeeded(), and update().

◆ _vertex

OptimizableGraph::Vertex* g2o::CacheContainer::_vertex
protected

Definition at line 120 of file cache.h.

Referenced by CacheContainer(), graph(), and vertex().


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