IPSDK  4_1_0_2
IPSDK : Image Processing Software Development Kit
ProcessorHdrMacros.h
Go to the documentation of this file.
1 // ProcessorHdrMacros.h:
3 // ---------------------
4 //
14 
15 #ifndef __IPSDKBASEPROCESSING_PROCESSORHDRMACROS_H__
16 #define __IPSDKBASEPROCESSING_PROCESSORHDRMACROS_H__
17 
19 
22 
29 
30 #define IPSDK_DECLARE_GPU_SUPPORT \
31  ipsdk::processor::RetrievalResult \
32  tryToLaunchGpuProcess(const ipsdk::core::BasePriority& priority, \
33  ipsdk::core::ActionProviderPtr& pProvider);
34 
38 #define IPSDK_DECLARE_LVL1_PROCESSOR(ProcType, libraryName, algoName, \
39  RuleString, attributeSeq) \
40  BOOST_PP_CAT(BOOST_PP_CAT(IPSDK_DECLARE_, ProcType), _PROCESSOR)( \
41  libraryName, BOOST_PP_CAT(algoName, Lvl1), \
42  RuleString, attributeSeq);
43 
47 #define IPSDK_DECLARE_LVL2_PROCESSOR(ProcType, libraryName, algoName, \
48  RuleString, attributeSeq) \
49  BOOST_PP_CAT(BOOST_PP_CAT(IPSDK_DECLARE_, ProcType), _PROCESSOR)( \
50  libraryName, BOOST_PP_CAT(algoName, Lvl2), \
51  RuleString, attributeSeq); \
52  IPSDK_DECLARE_GPU_SUPPORT
53 
57 #define IPSDK_DECLARE_LVL3_PROCESSOR(ProcType, libraryName, algoName, \
58  RuleString, attributeSeq) \
59  BOOST_PP_CAT(BOOST_PP_CAT(IPSDK_DECLARE_, ProcType), _PROCESSOR)( \
60  libraryName, BOOST_PP_CAT(algoName, Lvl3), \
61  RuleString, attributeSeq);
62 
65 
66 #endif // __IPSDKBASEPROCESSING_PROCESSORHDRMACROS_H__
Internal header part of macros set for processor class declaration.