MRPT  1.9.9
CHypothesisNotFoundException.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2018, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 #pragma once
10 
11 #include <cstdint>
12 #include <mrpt/core/exceptions.h>
13 #include <mrpt/graphs/TNodeID.h>
14 #include <stdexcept>
15 #include <string>
16 
17 namespace mrpt::graphs
18 {
19 // TODO - include docstring, group etc.
20 class HypothesisNotFoundException : public std::runtime_error
21 {
22  public:
25  HypothesisNotFoundException(size_t id);
27  void clear();
28  std::string getErrorMsg() const noexcept;
29  const char* what() const noexcept;
30 
31  private:
33 
34  /**\brief Hypothesis ID */
35  size_t m_id;
36 
37  /**\brief Error message */
39 };
40 }
41 
Abstract graph and tree data structures, plus generic graph algorithms.
GLsizei const GLchar ** string
Definition: glext.h:4101
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities.
Definition: TNodeID.h:16
HypothesisNotFoundException(mrpt::graphs::TNodeID from, mrpt::graphs::TNodeID to)



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020