g2o
|
top-level interface to the parser More...
#include <parser_interface.h>
Public Member Functions | |
ParserInterface (AbstractSlamInterface *slamInterface) | |
virtual | ~ParserInterface () |
bool | parseCommand (std::istream &input) |
Protected Attributes | |
SlamContextInterface * | _slamContextInterface |
Driver * | _driver |
std::stringstream | _buffer |
top-level interface to the parser
Definition at line 43 of file parser_interface.h.
SlamParser::ParserInterface::ParserInterface | ( | AbstractSlamInterface * | slamInterface | ) |
construct a parser and use the given AbstractSlamInterface to communicate with the SLAM algorithm.
Definition at line 34 of file parser_interface.cpp.
References _driver, and _slamContextInterface.
|
virtual |
Definition at line 42 of file parser_interface.cpp.
References _driver, and _slamContextInterface.
bool SlamParser::ParserInterface::parseCommand | ( | std::istream & | input | ) |
parse a single command and forward to the SLAM engine
Definition at line 48 of file parser_interface.cpp.
References _buffer, _driver, and SlamParser::Driver::parse_stream().
Referenced by main().
|
protected |
Definition at line 60 of file parser_interface.h.
Referenced by parseCommand().
|
protected |
Definition at line 59 of file parser_interface.h.
Referenced by parseCommand(), ParserInterface(), and ~ParserInterface().
|
protected |
Definition at line 58 of file parser_interface.h.
Referenced by ParserInterface(), and ~ParserInterface().