The DebugHelper class is responsible for debug output.
More...
#include <DebugHelper.hpp>
|
enum | DebugLevel {
PARAMETERS = 1,
SERVICE_CALLS = 2,
VISUALIZATION = 4,
CALCULATION = 8,
RATING = 16,
ROBOT_MODEL = 32,
MAP = 64,
FILTER = 128,
IK_RATING = 256,
SPACE_SAMPLER = 512,
HYPOTHESIS_UPDATER = 1024,
WORLD = 2048,
VOXEL_GRID = 4096
} |
|
|
static void | addToString (std::string &s, const std::string &add) |
| adds a string to a given string s. Puts a comma between them if the string s has a size bigger than 0. More...
|
|
static int | parseLevels (std::vector< std::string > levels) |
| parses the level list to the corresponding integer More...
|
|
The DebugHelper class is responsible for debug output.
Definition at line 32 of file DebugHelper.hpp.
Enumerator |
---|
PARAMETERS |
|
SERVICE_CALLS |
|
VISUALIZATION |
|
CALCULATION |
|
RATING |
|
ROBOT_MODEL |
|
MAP |
|
FILTER |
|
IK_RATING |
|
SPACE_SAMPLER |
|
HYPOTHESIS_UPDATER |
|
WORLD |
|
VOXEL_GRID |
|
Definition at line 36 of file DebugHelper.hpp.
next_best_view::DebugHelper::DebugHelper |
( |
| ) |
|
|
private |
void next_best_view::DebugHelper::addToString |
( |
std::string & |
s, |
|
|
const std::string & |
add |
|
) |
| |
|
staticprivate |
adds a string to a given string s. Puts a comma between them if the string s has a size bigger than 0.
- Parameters
-
s | [in,out] the string |
add | [in] the string to add |
Definition at line 224 of file DebugHelper.cpp.
bool next_best_view::DebugHelper::checkLevel |
( |
DebugLevel |
level | ) |
|
|
private |
checks whether the given level is allowed
- Parameters
-
- Returns
- whether the given level is allowed. true if it is allowed and false if it is not.
Definition at line 142 of file DebugHelper.cpp.
unsigned int next_best_view::DebugHelper::getLevel |
( |
| ) |
|
returns the debug level that is set
- Returns
- the debug level that is set.
Definition at line 86 of file DebugHelper.cpp.
std::string next_best_view::DebugHelper::getLevelString |
( |
| ) |
|
returns the debug levels that are set as string
- Returns
- the debug levels that are set as string.
Definition at line 91 of file DebugHelper.cpp.
int next_best_view::DebugHelper::parseLevels |
( |
std::vector< std::string > |
levels | ) |
|
|
staticprivate |
parses the level list to the corresponding integer
- Parameters
-
levels | the list of level strings |
- Returns
- the corresponding integer
Definition at line 164 of file DebugHelper.cpp.
void next_best_view::DebugHelper::setLevels |
( |
std::string |
levelsStr | ) |
|
sets levels from the given string
- Parameters
-
levelsStr | the string, comma seperated list of levels, which may contain [] braces |
Definition at line 152 of file DebugHelper.cpp.
void next_best_view::DebugHelper::setLevels |
( |
| ) |
|
writes the text to the console if it has a level that allows it
- Parameters
-
text | the text |
level | the debug level of the text |
Definition at line 40 of file DebugHelper.cpp.
void next_best_view::DebugHelper::write |
( |
const std::string & |
text, |
|
|
DebugLevel |
level |
|
) |
| |
writes the text to the console if it has a level that allows it
- Parameters
-
text | the text |
level | the debug level of the text |
Definition at line 47 of file DebugHelper.cpp.
void next_best_view::DebugHelper::write |
( |
const std::ostream & |
text, |
|
|
DebugLevel |
level |
|
) |
| |
writes the text to the console if it has a level that allows it
- Parameters
-
text | the text |
level | the debug level of the text |
Definition at line 53 of file DebugHelper.cpp.
writes the text noticeably to the console if it has a level that allows it
- Parameters
-
text | the text |
level | the debug level of the text |
Definition at line 61 of file DebugHelper.cpp.
writes the text noticeably to the console if it has a level that allows it
- Parameters
-
text | the text |
level | the debug level of the text |
Definition at line 70 of file DebugHelper.cpp.
writes the text noticeably to the console if it has a level that allows it
- Parameters
-
text | the text |
level | the debug level of the text |
Definition at line 77 of file DebugHelper.cpp.
const int next_best_view::DebugHelper::ALL |
|
staticprivate |
unsigned int next_best_view::DebugHelper::mLevels |
|
private |
const int next_best_view::DebugHelper::NONE = 0 |
|
staticprivate |
The documentation for this class was generated from the following files:
asr_next_best_view
Author(s): Aumann Florian, Borella Jocelyn, Heller Florian, Meißner Pascal, Schleicher Ralf, Stöckle Patrick, Stroh Daniel, Trautmann Jeremias, Walter Milena, Wittenbeck Valerij
autogenerated on Thu Jan 9 2020 07:20:18