IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
Classes | Macros
LogMessageManagerHdrDetailsMacros.h File Reference

Details for header part of macros set allowing to manager log messages map into libraries. More...

#include <IPSDKUtil/Tools/EnumMacros.h>
#include <IPSDKUtil/Tools/BaseMacros.h>
#include <IPSDKUtil/Logger/LogMessageManager.h>
#include <boost/preprocessor/seq.hpp>

Go to the source code of this file.

Classes

struct  MessageMapRegistrator< EnumType, DelayImpl >
 Template class used to force message map instantiation. More...
 

Macros

#define ADD_LOG_MSG_ITEM_MACRO(r, enumTypeStr, i, msgId)
 [Internal] macro allowing to add a message item to message map More...
 

Detailed Description

Details for header part of macros set allowing to manager log messages map into libraries.

Author
E. Noirfalise
Date
2014/03/21

Macro Definition Documentation

◆ ADD_LOG_MSG_ITEM_MACRO

#define ADD_LOG_MSG_ITEM_MACRO (   r,
  enumTypeStr,
  i,
  msgId 
)
Value:
BOOST_PP_IF(i, \
{ \
typedef typename Derived::template MsgInfo<enumTypeStr::msgId> CurMsgInfo; \
msgManager.addMessage(enumTypeStr::msgId, CurMsgInfo::getMsg()); \
}, )

[Internal] macro allowing to add a message item to message map