g2o
Loading...
Searching...
No Matches
g2o::HyperGraphElementCreator< T > Class Template Reference

templatized creator class which creates graph elements More...

#include <creators.h>

Inheritance diagram for g2o::HyperGraphElementCreator< T >:
Collaboration diagram for g2o::HyperGraphElementCreator< T >:

Public Member Functions

 HyperGraphElementCreator ()
HyperGraph::HyperGraphElement * construct ()
virtual const std::string & name () const
Public Member Functions inherited from g2o::AbstractHyperGraphElementCreator
virtual ~AbstractHyperGraphElementCreator ()

Protected Attributes

std::string _name

Detailed Description

template<typename T>
class g2o::HyperGraphElementCreator< T >

templatized creator class which creates graph elements

Definition at line 58 of file creators.h.

Constructor & Destructor Documentation

◆ HyperGraphElementCreator()

template<typename T>
g2o::HyperGraphElementCreator< T >::HyperGraphElementCreator ( )
inline

Definition at line 60 of file creators.h.

References _name, and name().

Member Function Documentation

◆ construct()

template<typename T>
HyperGraph::HyperGraphElement * g2o::HyperGraphElementCreator< T >::construct ( )
inlinevirtual

create a hyper graph element. Has to implemented in derived class.

Implements g2o::AbstractHyperGraphElementCreator.

Definition at line 66 of file creators.h.

◆ name()

template<typename T>
virtual const std::string & g2o::HyperGraphElementCreator< T >::name ( ) const
inlinevirtual

name of the class to be created. Has to implemented in derived class.

Implements g2o::AbstractHyperGraphElementCreator.

Definition at line 69 of file creators.h.

References _name.

Referenced by HyperGraphElementCreator().

Member Data Documentation

◆ _name

template<typename T>
std::string g2o::HyperGraphElementCreator< T >::_name
protected

Definition at line 72 of file creators.h.

Referenced by HyperGraphElementCreator(), and name().


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