g2o
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
g2o::Parameter Class Referenceabstract

#include <parameter.h>

Inheritance diagram for g2o::Parameter:
Inheritance graph
[legend]
Collaboration diagram for g2o::Parameter:
Collaboration graph
[legend]

Public Member Functions

 Parameter ()
 
virtual ~Parameter ()
 
virtual bool read (std::istream &is)=0
 read the data from a stream
 
virtual bool write (std::ostream &os) const =0
 write the data to a stream
 
int id () const
 
void setId (int id_)
 
virtual HyperGraph::HyperGraphElementType elementType () const
 
- Public Member Functions inherited from g2o::HyperGraph::HyperGraphElement
virtual ~HyperGraphElement ()
 

Protected Attributes

int _id
 

Detailed Description

Definition at line 36 of file parameter.h.

Constructor & Destructor Documentation

◆ Parameter()

g2o::Parameter::Parameter ( )

Definition at line 31 of file parameter.cpp.

31: _id(-1) {}

◆ ~Parameter()

virtual g2o::Parameter::~Parameter ( )
inlinevirtual

Definition at line 39 of file parameter.h.

39{};

Member Function Documentation

◆ elementType()

virtual HyperGraph::HyperGraphElementType g2o::Parameter::elementType ( ) const
inlinevirtual

returns the type of the graph element, see HyperGraphElementType

Implements g2o::HyperGraph::HyperGraphElement.

Definition at line 46 of file parameter.h.

46 {
47 return HyperGraph::HGET_PARAMETER;
48 }

◆ id()

int g2o::Parameter::id ( ) const
inline

◆ read()

virtual bool g2o::Parameter::read ( std::istream &  is)
pure virtual

◆ setId()

void g2o::Parameter::setId ( int  id_)

◆ write()

virtual bool g2o::Parameter::write ( std::ostream &  os) const
pure virtual

Member Data Documentation

◆ _id

int g2o::Parameter::_id
protected

Definition at line 51 of file parameter.h.

Referenced by setId().


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