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