g2o
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

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 78 of file commands.h.

78  :
81  {
82  }
int id1() const
Definition: commands.h:86
const std::vector< double > & values()
Definition: commands.h:88
std::vector< double > _information
Definition: commands.h:97
CommandNode(CommandType commandType, const std::string &tag)
Definition: commands.h:47
const std::string & tag() const
Definition: commands.h:50
std::vector< double > _values
Definition: commands.h:96
const std::vector< double > & information()
Definition: commands.h:89
int dimension() const
Definition: commands.h:85
int id2() const
Definition: commands.h:87

Member Function Documentation

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

Definition at line 85 of file commands.h.

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

85 {return _dimension;}
int SlamParser::AddEdge::id ( ) const
inline

Definition at line 84 of file commands.h.

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

84 {return _id;}
int SlamParser::AddEdge::id1 ( ) const
inline

Definition at line 86 of file commands.h.

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

86 {return _id1;}
int SlamParser::AddEdge::id2 ( ) const
inline

Definition at line 87 of file commands.h.

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

87 {return _id2;}
const std::vector<double>& SlamParser::AddEdge::information ( )
inline

Definition at line 89 of file commands.h.

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

89 { return _information;}
std::vector< double > _information
Definition: commands.h:97
const std::vector<double>& SlamParser::AddEdge::values ( )
inline

Definition at line 88 of file commands.h.

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

88 { return _values;}
std::vector< double > _values
Definition: commands.h:96

Member Data Documentation

int SlamParser::AddEdge::_dimension
protected

Definition at line 93 of file commands.h.

int SlamParser::AddEdge::_id
protected

Definition at line 92 of file commands.h.

int SlamParser::AddEdge::_id1
protected

Definition at line 94 of file commands.h.

int SlamParser::AddEdge::_id2
protected

Definition at line 95 of file commands.h.

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

Definition at line 97 of file commands.h.

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

Definition at line 96 of file commands.h.


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