14 template <
class GRAPH_T>
17 template <
class GRAPH_T>
21 template <
class GRAPH_T>
25 this->setClassName(
name);
26 this->logging_enable_keep_record =
true;
34 template <
class GRAPH_T>
38 this->m_class_name =
name;
39 this->m_time_logger.setName(this->m_class_name);
40 this->setLoggerName(this->m_class_name);
43 template <
class GRAPH_T>
48 m_win_manager = win_manager;
52 m_win = m_win_manager->
win;
53 m_win_observer = m_win_manager->observer;
57 template <
class GRAPH_T>
59 std::mutex* graph_section)
61 m_graph_section = graph_section;
66 template <
class GRAPH_T>
69 this->assertVisualsVars();
70 m_initialized_visuals =
true;
73 template <
class GRAPH_T>
76 ASSERTDEBMSG_(this->m_win,
"No CDisplayWindow3D* was provided");
77 ASSERTDEBMSG_(this->m_win_manager,
"No CWindowManager* was provided");
78 ASSERTDEBMSG_(this->m_win_observer,
"No CWindowObserver* was provided");
81 template <
class GRAPH_T>
87 template <
class GRAPH_T>
89 const std::map<std::string, bool>& events_occurred)
94 template <
class GRAPH_T>
101 template <
class GRAPH_T>
107 template <
class GRAPH_T>
115 template <
class GRAPH_T>
122 template <
class GRAPH_T>
125 return is_mr_slam_class;
virtual void notifyOfWindowEvents(const std::map< std::string, bool > &events_occurred)
Get a list of the window events that happened since the last call.
virtual void loadParams(const std::string &source_fname)
Load the necessary for the decider/optimizer configuration parameters.
virtual void printParams() const
Print the problem parameters - relevant to the decider/optimizer to the screen in a unified/compact w...
static const std::string header_sep
Separator string to be used in debugging messages.
virtual void setCriticalSectionPtr(std::mutex *graph_section)
Fetch a std::mutex for locking the GRAPH_T resource.
virtual void setGraphPtr(GRAPH_T *graph)
Fetch the graph on which the decider/optimizer will work on.
SLAM methods related to graphs of pose constraints.
mrpt::gui::CDisplayWindow3D * win
CDisplayWindow instance.
virtual void initializeVisuals()
Initialize visual objects in CDisplayWindow (e.g.
static const std::string report_sep
virtual void getDescriptiveReport(std::string *report_str) const
Fill the provided string with a detailed report of the decider/optimizer state.
virtual void initializeLoggers(const std::string &name)
Initialize the COutputLogger, CTimeLogger instances given the name of the decider/optimizer at hand...
virtual void setWindowManagerPtr(mrpt::graphslam::CWindowManager *win_manager)
Fetch a CWindowManager pointer.
#define MRPT_LOG_DEBUG_STREAM(__CONTENTS)
Use: MRPT_LOG_DEBUG_STREAM("Var=" << value << " foo=" << foo_var);
virtual void assertVisualsVars()
Handy function for making all the visuals assertions in a compact manner.
GLsizei const GLchar ** string
#define ASSERTDEBMSG_(f, __ERROR_MSG)
#define ASSERTDEB_(f)
Defines an assertion mechanism - only when compiled in debug.
virtual void updateVisuals()
Update the relevant visual features in CDisplayWindow.
GLuint const GLchar * name
bool isMultiRobotSlamClass()
Class acts as a container for storing pointers to mrpt::gui::CDisplayWindow3D, mrpt::graphslam::CWind...
virtual void setClassName(const std::string &name)