IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
LogMessageManagerHdrDetailsMacros.h
Go to the documentation of this file.
1 // LogMessageManagerHdrDetailsMacros.h:
3 // ------------------------------------
4 //
15 
16 #ifndef __IPSDKUTIL_LOGMESSAGEMANAGERHDRDETAILSMACROS_H__
17 #define __IPSDKUTIL_LOGMESSAGEMANAGERHDRDETAILSMACROS_H__
18 
21 #include <IPSDKUtil/Logger/LogMessageManager.h>
22 #include <boost/preprocessor/seq.hpp>
23 
26 
29 template <typename EnumType, typename DelayImpl = void>
31 {
33  static bool process();
34 };
35 
38 
41 #define ADD_LOG_MSG_ITEM_MACRO(r, enumTypeStr, i, msgId) \
42  BOOST_PP_IF(i, \
43  { \
44  typedef typename Derived::template MsgInfo<enumTypeStr::msgId> CurMsgInfo; \
45  msgManager.addMessage(enumTypeStr::msgId, CurMsgInfo::getMsg()); \
46  }, )
47 
50 
51 #endif // __IPSDKUTIL_LOGMESSAGEMANAGERHDRDETAILSMACROS_H__
Base macros set for IPSDK library.
Template class used to force message map instantiation.
Definition: LogMessageManagerHdrDetailsMacros.h:30
static bool process()
method allowing to process message map registration
Predefined macros for enumerates management.