g2o
Loading...
Searching...
No Matches
SlamParser::QueryState Class Reference

#include <commands.h>

Inheritance diagram for SlamParser::QueryState:
Collaboration diagram for SlamParser::QueryState:

Public Member Functions

 QueryState (const std::string &tag, const std::vector< int > &ids=std::vector< int >())
const std::vector< int > & ids ()
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

std::vector< int > _ids
Protected Attributes inherited from SlamParser::CommandNode
CommandType _commandType
std::string _tag

Detailed Description

Definition at line 109 of file commands.h.

Constructor & Destructor Documentation

◆ QueryState()

SlamParser::QueryState::QueryState ( const std::string & tag,
const std::vector< int > & ids = std::vector<int>() )
inlineexplicit

Definition at line 111 of file commands.h.

CommandNode(CommandType commandType, const std::string &tag)
Definition commands.h:45
const std::string & tag() const
Definition commands.h:49
const std::vector< int > & ids()
Definition commands.h:114
std::vector< int > _ids
Definition commands.h:117
@ CT_QUERY_STATE
Definition commands.h:39

References _ids, SlamParser::CommandNode::CommandNode(), SlamParser::CT_QUERY_STATE, ids(), and SlamParser::CommandNode::tag().

Member Function Documentation

◆ ids()

const std::vector< int > & SlamParser::QueryState::ids ( )
inline

Definition at line 114 of file commands.h.

114{ return _ids; }

References _ids.

Referenced by SlamParser::SlamContextInterface::process(), and QueryState().

Member Data Documentation

◆ _ids

std::vector<int> SlamParser::QueryState::_ids
protected

Definition at line 117 of file commands.h.

Referenced by ids(), and QueryState().


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