Changeset 294 in flair-src for trunk/lib/FlairCore/src/Object.h


Ignore:
Timestamp:
01/09/19 15:38:32 (5 years ago)
Author:
Sanahuja Guillaume
Message:

vrpn modifs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/Object.h

    r15 r294  
    1818#include <stdarg.h>
    1919
     20//orange printf, with function call and object name display
    2021#define Warn(...) Warning(__PRETTY_FUNCTION__, __VA_ARGS__)
     22//red printf, with function call and object name display
    2123#define Err(...) Error(__PRETTY_FUNCTION__, __VA_ARGS__)
     24//green printf, with function call and object name display
    2225#define Info(...) Information(__PRETTY_FUNCTION__, __LINE__, __VA_ARGS__)
     26
     27//orange printf
     28#define SimpleWarn(...) Warning(NULL, __VA_ARGS__)
    2329
    2430#define TIME_INFINITE 0
     
    140146  * Green colored Printf(). \n
    141147  * Note that it is better to call Info macro, which automatically fills
    142   *function parameter.
     148  * calling function parameter.
    143149  *
    144150  * \param function name of calling function
     
    154160  * Orange colored Printf(). \n
    155161  * Note that it is better to call Warn macro, which automatically fills
    156   *function parameter.
     162  * calling function parameter.
    157163  *
    158164  * \param function name of calling function
     
    166172  * Red colored Printf(). \n
    167173  * Note that it is better to call Err macro, which automatically fills function
    168   *parameter. \n
     174  * calling parameter. \n
    169175  * After calling this method, ErrorOccured() will always return true.
    170176  *
Note: See TracChangeset for help on using the changeset viewer.