g2o
Loading...
Searching...
No Matches
g2o::Cache::CacheKey Class Reference

#include <cache.h>

Public Member Functions

 CacheKey ()
 CacheKey (const std::string &type_, const ParameterVector &parameters_)
bool operator< (const CacheKey &c) const
const std::string & type () const
const ParameterVector & parameters () const

Protected Attributes

std::string _type
ParameterVector _parameters

Friends

class CacheContainer

Detailed Description

Definition at line 42 of file cache.h.

Constructor & Destructor Documentation

◆ CacheKey() [1/2]

g2o::Cache::CacheKey::CacheKey ( )

Definition at line 38 of file cache.cpp.

References _parameters, and _type.

Referenced by CacheContainer.

◆ CacheKey() [2/2]

g2o::Cache::CacheKey::CacheKey ( const std::string & type_,
const ParameterVector & parameters_ )

Definition at line 40 of file cache.cpp.

References _parameters, and _type.

Member Function Documentation

◆ operator<()

bool g2o::Cache::CacheKey::operator< ( const CacheKey & c) const

Definition at line 47 of file cache.cpp.

References _parameters, and _type.

Referenced by CacheContainer.

◆ parameters()

const ParameterVector & g2o::Cache::CacheKey::parameters ( ) const
inline

Definition at line 51 of file cache.h.

References _parameters.

◆ type()

const std::string & g2o::Cache::CacheKey::type ( ) const
inline

Definition at line 50 of file cache.h.

References _type.

Referenced by g2o::CacheContainer::createCache().

◆ CacheContainer

friend class CacheContainer
friend

Definition at line 44 of file cache.h.

References CacheContainer, CacheKey(), and operator<().

Referenced by CacheContainer.

Member Data Documentation

◆ _parameters

ParameterVector g2o::Cache::CacheKey::_parameters
protected

Definition at line 55 of file cache.h.

Referenced by CacheKey(), CacheKey(), g2o::CacheContainer::createCache(), operator<(), and parameters().

◆ _type

std::string g2o::Cache::CacheKey::_type
protected

Definition at line 54 of file cache.h.

Referenced by CacheKey(), CacheKey(), operator<(), and type().


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