g2o
Loading...
Searching...
No Matches
g2o::Parameter Class Referenceabstract

#include <parameter.h>

Inheritance diagram for g2o::Parameter:
Collaboration diagram for g2o::Parameter:

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.

References _id.

◆ ~Parameter()

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

Definition at line 39 of file parameter.h.

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.

◆ id()

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

Definition at line 44 of file parameter.h.

References _id.

Referenced by g2o::ParameterContainer::addParameter(), main(), main(), and g2o::OptimizableGraph::saveParameter().

◆ 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 id(), Parameter(), and setId().


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