Namespaces | Defines | Enumerations | Functions
print.h File Reference
#include <stdio.h>
#include <stdarg.h>
#include <pcl/pcl_macros.h>
Include dependency graph for print.h:

Go to the source code of this file.

Namespaces

namespace  pcl
namespace  pcl::console

Defines

#define PCL_ALWAYS(...)   pcl::console::print (pcl::console::L_ALWAYS, __VA_ARGS__)
#define PCL_DEBUG(...)   pcl::console::print (pcl::console::L_DEBUG, __VA_ARGS__)
#define PCL_ERROR(...)   pcl::console::print (pcl::console::L_ERROR, __VA_ARGS__)
#define PCL_INFO(...)   pcl::console::print (pcl::console::L_INFO, __VA_ARGS__)
#define PCL_VERBOSE(...)   pcl::console::print (pcl::console::L_VERBOSE, __VA_ARGS__)
#define PCL_WARN(...)   pcl::console::print (pcl::console::L_WARN, __VA_ARGS__)

Enumerations

enum  pcl::console::TT_ATTIBUTES {
  pcl::console::TT_RESET = 0, pcl::console::TT_BRIGHT = 1, pcl::console::TT_DIM = 2, pcl::console::TT_UNDERLINE = 3,
  pcl::console::TT_BLINK = 4, pcl::console::TT_REVERSE = 7, pcl::console::TT_HIDDEN = 8
}
enum  pcl::console::TT_COLORS {
  pcl::console::TT_BLACK, pcl::console::TT_RED, pcl::console::TT_GREEN, pcl::console::TT_YELLOW,
  pcl::console::TT_BLUE, pcl::console::TT_MAGENTA, pcl::console::TT_CYAN, pcl::console::TT_WHITE
}
enum  pcl::console::VERBOSITY_LEVEL {
  pcl::console::L_ALWAYS, pcl::console::L_ERROR, pcl::console::L_WARN, pcl::console::L_INFO,
  pcl::console::L_DEBUG, pcl::console::L_VERBOSE
}

Functions

PCL_EXPORTS void pcl::console::change_text_color (FILE *stream, int attribute, int fg, int bg)
 Change the text color (on either stdout or stderr) with an attr:fg:bg.
PCL_EXPORTS void pcl::console::change_text_color (FILE *stream, int attribute, int fg)
 Change the text color (on either stdout or stderr) with an attr:fg.
PCL_EXPORTS VERBOSITY_LEVEL pcl::console::getVerbosityLevel ()
PCL_EXPORTS bool pcl::console::initVerbosityLevel ()
PCL_EXPORTS bool pcl::console::isVerbosityLevelEnabled (VERBOSITY_LEVEL severity)
PCL_EXPORTS void pcl::console::print (VERBOSITY_LEVEL level, FILE *stream, const char *format,...)
 Print a message on stream.
PCL_EXPORTS void pcl::console::print (VERBOSITY_LEVEL level, const char *format,...)
 Print a message.
PCL_EXPORTS void pcl::console::print_color (FILE *stream, int attr, int fg, const char *format,...)
 Print a message on stream with colors.
PCL_EXPORTS void pcl::console::print_debug (const char *format,...)
 Print a debug message on stream with colors.
PCL_EXPORTS void pcl::console::print_debug (FILE *stream, const char *format,...)
 Print a debug message on stream with colors.
PCL_EXPORTS void pcl::console::print_error (const char *format,...)
 Print an error message on stream with colors.
PCL_EXPORTS void pcl::console::print_error (FILE *stream, const char *format,...)
 Print an error message on stream with colors.
PCL_EXPORTS void pcl::console::print_highlight (const char *format,...)
 Print a highlighted info message on stream with colors.
PCL_EXPORTS void pcl::console::print_highlight (FILE *stream, const char *format,...)
 Print a highlighted info message on stream with colors.
PCL_EXPORTS void pcl::console::print_info (const char *format,...)
 Print an info message on stream with colors.
PCL_EXPORTS void pcl::console::print_info (FILE *stream, const char *format,...)
 Print an info message on stream with colors.
PCL_EXPORTS void pcl::console::print_value (const char *format,...)
 Print a value message on stream with colors.
PCL_EXPORTS void pcl::console::print_value (FILE *stream, const char *format,...)
 Print a value message on stream with colors.
PCL_EXPORTS void pcl::console::print_warn (const char *format,...)
 Print a warning message on stream with colors.
PCL_EXPORTS void pcl::console::print_warn (FILE *stream, const char *format,...)
 Print a warning message on stream with colors.
PCL_EXPORTS void pcl::console::reset_text_color (FILE *stream)
 Reset the text color (on either stdout or stderr) to its original state.
PCL_EXPORTS void pcl::console::setVerbosityLevel (VERBOSITY_LEVEL level)

Define Documentation

#define PCL_ALWAYS (   ...)    pcl::console::print (pcl::console::L_ALWAYS, __VA_ARGS__)

Definition at line 45 of file print.h.

#define PCL_DEBUG (   ...)    pcl::console::print (pcl::console::L_DEBUG, __VA_ARGS__)

Definition at line 49 of file print.h.

#define PCL_ERROR (   ...)    pcl::console::print (pcl::console::L_ERROR, __VA_ARGS__)

Definition at line 46 of file print.h.

#define PCL_INFO (   ...)    pcl::console::print (pcl::console::L_INFO, __VA_ARGS__)

Definition at line 48 of file print.h.

#define PCL_VERBOSE (   ...)    pcl::console::print (pcl::console::L_VERBOSE, __VA_ARGS__)

Definition at line 50 of file print.h.

#define PCL_WARN (   ...)    pcl::console::print (pcl::console::L_WARN, __VA_ARGS__)

Definition at line 47 of file print.h.



pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:19:13