hpp-util
4.9.0
Debugging tools for the HPP project.
|
Receive debugging information. More...
#include <hpp/util/debug.hh>
Public Types | |
typedef std::vector< Output * > | subscribers_t |
Public Member Functions | |
Channel (char const *label, const subscribers_t &subscribers) | |
virtual | ~Channel () |
void | write (char const *file, int line, char const *function, const std::string &data) |
void | write (char const *file, int line, char const *function, const std::stringstream &data) |
const char * | label () const |
Receive debugging information.
Receive debugging information and forward it to its subscribers.
By default, there is four channels:
typedef std::vector<Output*> hpp::debug::Channel::subscribers_t |
|
explicit |
|
virtual |
const char * hpp::debug::Channel::label | ( | ) | const |
void hpp::debug::Channel::write | ( | char const * | file, |
int | line, | ||
char const * | function, | ||
const std::string & | data | ||
) |
void hpp::debug::Channel::write | ( | char const * | file, |
int | line, | ||
char const * | function, | ||
const std::stringstream & | data | ||
) |