15 #ifndef __IPSDKIMAGEPROCESSING_STRIPPARSERHDRMACROS_H__ 16 #define __IPSDKIMAGEPROCESSING_STRIPPARSERHDRMACROS_H__ 19 #include <boost/preprocessor/cat.hpp> 28 #define IPSDK_PARSER_NAME_RAWSTRIP(attributeName) \ 29 BOOST_PP_CAT(_p, BOOST_PP_CAT(attributeName, Buf)) 34 #define IPSDK_PARSER_NAME_RGBRAWSTRIP(attributeName) \ 35 BOOST_PP_CAT(_p, BOOST_PP_CAT(attributeName, Buf)) 40 #define IPSDK_PARSER_NAME_LINESTRIP(attributeName) \ 41 BOOST_PP_CAT(_p, BOOST_PP_CAT(attributeName, Buf)) 50 #define IPSDK_PARSER_TYPE_RAWSTRIP(attributeName) \ 51 ipsdk::imaproc::StripParserInfo<ipsdk::imaproc::RawStripParserMode, attributeName::BaseStripAttributeClassType>::BaseParserType 56 #define IPSDK_PARSER_TYPE_RGBRAWSTRIP(attributeName) \ 57 ipsdk::imaproc::StripParserInfo<ipsdk::imaproc::RgbRawStripParserMode, attributeName::BaseStripAttributeClassType>::BaseParserType 62 #define IPSDK_PARSER_TYPE_LINESTRIP(attributeName) \ 63 ipsdk::imaproc::StripParserInfo<ipsdk::imaproc::LineStripParserMode, attributeName::BaseStripAttributeClassType>::BaseParserType 72 #define IPSDK_PARSER_CREATE_RAWSTRIP(attributeName) \ 73 IPSDK_PARSER_NAME_RAWSTRIP(attributeName) = \ 74 ipsdk::imaproc::StripParserInfo<ipsdk::imaproc::RawStripParserMode, attributeName::BaseStripAttributeClassType>::createParser(BOOST_PP_CAT(_p, attributeName)); 79 #define IPSDK_PARSER_CREATE_RGBRAWSTRIP(attributeName) \ 80 IPSDK_PARSER_NAME_RAWSTRIP(attributeName) = \ 81 ipsdk::imaproc::StripParserInfo<ipsdk::imaproc::RgbRawStripParserMode, attributeName::BaseStripAttributeClassType>::createParser(BOOST_PP_CAT(_p, attributeName)); 86 #define IPSDK_PARSER_CREATE_LINESTRIP(attributeName) \ 87 IPSDK_PARSER_NAME_LINESTRIP(attributeName) = \ 88 ipsdk::imaproc::StripParserInfo<ipsdk::imaproc::LineStripParserMode, attributeName::BaseStripAttributeClassType>::createParser(BOOST_PP_CAT(_p, attributeName)); 93 #endif // __IPSDKIMAGEPROCESSING_STRIPPARSERHDRMACROS_H__ Macros set for strip parser information management.