error.h
Go to the documentation of this file.
00001 /*
00002  *  Description:  ROS log message wrappers.
00003  *
00004  *  This depends on some GCC macro preprocessor extensions for
00005  *  variable numbers of arguments that may not be available on every
00006  *  system.
00007  *
00008  *  Copyright (C) 2009 Austin Robot Technology, Jack O'Quin
00009  *  License: Modified BSD Software License Agreement
00010  *
00011  *  $Id: error.h 630 2010-09-25 16:20:42Z jack.oquin $
00012  */
00013 
00014 #ifndef ART_ERROR_H
00015 #define ART_ERROR_H
00016 
00022 #include <ros/ros.h>
00023 
00024 /* make this header bilingual */
00025 #ifdef __cplusplus
00026 extern "C" {
00027 #endif
00028 
00029 /* error, warning and informational message macros */
00030 #define ART_ERROR(msg,args...) ROS_ERROR("error   : " msg, ## args)
00031 #define ART_WARN(msg,args...)  ROS_WARN("warning : " msg, ## args)
00032 #define ART_MSG(level, msg,args...)  ROS_INFO(msg, ## args)
00033 
00034 #ifdef __cplusplus
00035 }
00036 #endif
00037 
00038 #endif // ART_ERROR_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends Defines


art_common
Author(s): Austin Robot Technology
autogenerated on Tue Sep 24 2013 10:41:19