133 static int parseLevels(std::vector<std::string> levels);
140 static void addToString(std::string& s,
const std::string& add);
static boost::shared_ptr< DebugHelper > instancePtr
static boost::shared_ptr< DebugHelper > getInstance()
boost::shared_ptr< DebugHelper > DebugHelperPtr
std::string getLevelString()
returns the debug levels that are set as string
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...
The DebugHelper class is responsible for debug output.
void writeNoticeably(const char *text, DebugLevel level)
writes the text noticeably to the console if it has a level that allows it
void setLevels()
sets the allowed debug levels
this namespace contains all generally usable classes.
static int parseLevels(std::vector< std::string > levels)
parses the level list to the corresponding integer
void write(const char *text, DebugLevel level)
writes the text to the console if it has a level that allows it
bool checkLevel(DebugLevel level)
checks whether the given level is allowed
unsigned int getLevel()
returns the debug level that is set
ros::NodeHandle mNodeHandle