g2o
Public Member Functions | Protected Attributes | List of all members
SlamParser::AddNode Class Reference

#include <commands.h>

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

Public Member Functions

 AddNode (const std::string &tag, int id, int dimension, const std::vector< double > &values=std::vector< double >())
 
int id () const
 
int dimension () const
 
const std::vector< double > & values ()
 
- 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
 
std::vector< double > _values
 
- Protected Attributes inherited from SlamParser::CommandNode
CommandType _commandType
 
std::string _tag
 

Detailed Description

Definition at line 56 of file commands.h.

Constructor & Destructor Documentation

SlamParser::AddNode::AddNode ( const std::string &  tag,
int  id,
int  dimension,
const std::vector< double > &  values = std::vector<double>() 
)
inline

Definition at line 59 of file commands.h.

59  :
62  {
63  }
CommandNode(CommandType commandType, const std::string &tag)
Definition: commands.h:47
const std::vector< double > & values()
Definition: commands.h:67
std::vector< double > _values
Definition: commands.h:72
const std::string & tag() const
Definition: commands.h:50
int dimension() const
Definition: commands.h:66

Member Function Documentation

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

Definition at line 66 of file commands.h.

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

66 {return _dimension;}
int SlamParser::AddNode::id ( ) const
inline

Definition at line 65 of file commands.h.

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

65 {return _id;}
const std::vector<double>& SlamParser::AddNode::values ( )
inline

Definition at line 67 of file commands.h.

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

67 { return _values;}
std::vector< double > _values
Definition: commands.h:72

Member Data Documentation

int SlamParser::AddNode::_dimension
protected

Definition at line 71 of file commands.h.

int SlamParser::AddNode::_id
protected

Definition at line 70 of file commands.h.

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

Definition at line 72 of file commands.h.


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