g2o
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SlamParser::AddEdge Class Reference

#include <commands.h>

Inheritance diagram for SlamParser::AddEdge:
Inheritance graph
[legend]
Collaboration diagram for SlamParser::AddEdge:
Collaboration graph
[legend]

Public Member Functions

 AddEdge (const std::string &tag, int id, int dimension, int id1, int id2, const std::vector< double > &values, const std::vector< double > information)
 
int id () const
 
int dimension () const
 
int id1 () const
 
int id2 () const
 
const std::vector< double > & values ()
 
const std::vector< double > & information ()
 
- Public Member Functions inherited from SlamParser::CommandNode
 CommandNode (CommandType commandType, const std::string &tag)
 
virtual ~CommandNode ()
 
CommandType commandType () const
 
const std::string & tag () const
 

Protected Attributes

int _id
 
int _dimension
 
int _id1
 
int _id2
 
std::vector< double > _values
 
std::vector< double > _information
 
- Protected Attributes inherited from SlamParser::CommandNode
CommandType _commandType
 
std::string _tag
 

Detailed Description

Definition at line 75 of file commands.h.

Constructor & Destructor Documentation

◆ AddEdge()

SlamParser::AddEdge::AddEdge ( const std::string &  tag,
int  id,
int  dimension,
int  id1,
int  id2,
const std::vector< double > &  values,
const std::vector< double >  information 
)
inline

Definition at line 77 of file commands.h.

81 _id(id),
83 _id1(id1),
84 _id2(id2),
int id2() const
Definition commands.h:91
std::vector< double > _information
Definition commands.h:101
int dimension() const
Definition commands.h:89
int id1() const
Definition commands.h:90
std::vector< double > _values
Definition commands.h:100
const std::vector< double > & values()
Definition commands.h:92
const std::vector< double > & information()
Definition commands.h:93
CommandNode(CommandType commandType, const std::string &tag)
Definition commands.h:45
const std::string & tag() const
Definition commands.h:49
@ CT_ADD_EDGE
Definition commands.h:37

Member Function Documentation

◆ dimension()

int SlamParser::AddEdge::dimension ( ) const
inline

Definition at line 89 of file commands.h.

89{ return _dimension; }

References _dimension.

Referenced by SlamParser::SlamContextInterface::process().

◆ id()

int SlamParser::AddEdge::id ( ) const
inline

Definition at line 88 of file commands.h.

88{ return _id; }

References _id.

Referenced by SlamParser::SlamContextInterface::process().

◆ id1()

int SlamParser::AddEdge::id1 ( ) const
inline

Definition at line 90 of file commands.h.

90{ return _id1; }

References _id1.

Referenced by SlamParser::SlamContextInterface::process().

◆ id2()

int SlamParser::AddEdge::id2 ( ) const
inline

Definition at line 91 of file commands.h.

91{ return _id2; }

References _id2.

Referenced by SlamParser::SlamContextInterface::process().

◆ information()

const std::vector< double > & SlamParser::AddEdge::information ( )
inline

Definition at line 93 of file commands.h.

93{ return _information; }

References _information.

Referenced by SlamParser::SlamContextInterface::process().

◆ values()

const std::vector< double > & SlamParser::AddEdge::values ( )
inline

Definition at line 92 of file commands.h.

92{ return _values; }

References _values.

Referenced by SlamParser::SlamContextInterface::process().

Member Data Documentation

◆ _dimension

int SlamParser::AddEdge::_dimension
protected

Definition at line 97 of file commands.h.

Referenced by dimension().

◆ _id

int SlamParser::AddEdge::_id
protected

Definition at line 96 of file commands.h.

Referenced by id().

◆ _id1

int SlamParser::AddEdge::_id1
protected

Definition at line 98 of file commands.h.

Referenced by id1().

◆ _id2

int SlamParser::AddEdge::_id2
protected

Definition at line 99 of file commands.h.

Referenced by id2().

◆ _information

std::vector<double> SlamParser::AddEdge::_information
protected

Definition at line 101 of file commands.h.

Referenced by information().

◆ _values

std::vector<double> SlamParser::AddEdge::_values
protected

Definition at line 100 of file commands.h.

Referenced by values().


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